whio-api-sdk 1.0.190-bet-staging → 1.0.191-bet-staging

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,12 +130,7 @@ export class ApiSDK {
130
130
  }
131
131
  logout() {
132
132
  return __awaiter(this, void 0, void 0, function* () {
133
- try {
134
- yield this.request('/auth/logout', 'POST');
135
- }
136
- finally {
137
- yield this.clearAuth();
138
- }
133
+ yield this.clearAuth();
139
134
  });
140
135
  }
141
136
  clearAuth() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whio-api-sdk",
3
- "version": "1.0.190-bet-staging",
3
+ "version": "1.0.191-bet-staging",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
package/src/sdk/sdk.ts CHANGED
@@ -211,11 +211,7 @@ export class ApiSDK {
211
211
  }
212
212
 
213
213
  public async logout(): Promise<void> {
214
- try {
215
- await this.request('/auth/logout', 'POST');
216
- } finally {
217
- await this.clearAuth();
218
- }
214
+ await this.clearAuth();
219
215
  }
220
216
 
221
217
  private async clearAuth(): Promise<void> {