@bytexbyte/ike-app-api 1.0.58 → 1.0.60
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/lib/Auth/index.js +2 -0
- package/lib/User/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/Auth/index.js
CHANGED
|
@@ -94,6 +94,7 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
|
|
|
94
94
|
headers: {
|
|
95
95
|
'Content-Type': 'application/json',
|
|
96
96
|
},
|
|
97
|
+
credentials: 'include',
|
|
97
98
|
}, 'csrf')];
|
|
98
99
|
case 1:
|
|
99
100
|
response = _a.sent();
|
|
@@ -247,6 +248,7 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
|
|
|
247
248
|
headers: {
|
|
248
249
|
'Content-Type': 'application/json',
|
|
249
250
|
},
|
|
251
|
+
credentials: 'include',
|
|
250
252
|
body: JSON.stringify(__assign(__assign({ callbackUrl: this.host, json: true }, form), { csrfToken: csrfToken })),
|
|
251
253
|
}, "callback/".concat(provider))];
|
|
252
254
|
case 2:
|
package/lib/User/index.d.ts
CHANGED
|
@@ -174,6 +174,7 @@ declare class IKEAppUserApi extends BxBApi {
|
|
|
174
174
|
tokenId: string;
|
|
175
175
|
}): Promise<{
|
|
176
176
|
isExpired: boolean;
|
|
177
|
+
nextVerifyTimer: number;
|
|
177
178
|
} | {
|
|
178
179
|
error: 'You are not logged in.' | 'Incorrect userId.' | 'Incorrect tokenId.' | 'You cannot check to this user.' | 'Field(s) cannot be empty.' | 'User not found.' | 'User has not been verified.';
|
|
179
180
|
}>;
|