Skip to content

Commit

Permalink
fix: constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mo9a7i committed Sep 24, 2023
1 parent fff4075 commit 03d104b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

publish:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# swarmapp-api

## 2.7.11

### Patch Changes

- fix: constructor

## 2.7.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swarmapp-api",
"version": "2.7.10",
"version": "2.7.11",
"description": "A javascript wrapper for swarmapp (foursquare) API",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export class SwarmappApi {
flowId?: string;

constructor();

constructor(oauth_token: string);

constructor(oauth_token?: string) {
this.config = {
Expand Down

0 comments on commit 03d104b

Please sign in to comment.