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.
- package/dist/src/sdk/sdk.js +1 -6
- package/package.json +1 -1
- package/src/sdk/sdk.ts +1 -5
package/dist/src/sdk/sdk.js
CHANGED
|
@@ -130,12 +130,7 @@ export class ApiSDK {
|
|
|
130
130
|
}
|
|
131
131
|
logout() {
|
|
132
132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
-
|
|
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
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
|
-
|
|
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> {
|