@bytexbyte/ike-app-api 1.0.59 → 1.0.61

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 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:
@@ -269,6 +271,7 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
269
271
  headers: {
270
272
  'Content-Type': 'application/x-www-form-urlencoded',
271
273
  },
274
+ credentials: 'include',
272
275
  body: toFormUrlencodedString({ callbackUrl: this.host, json: true, csrfToken: csrfToken }),
273
276
  }, 'signout')];
274
277
  case 2:
@@ -285,6 +288,7 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
285
288
  switch (_a.label) {
286
289
  case 0: return [4 /*yield*/, this.bxbFetch({
287
290
  method: 'GET',
291
+ credentials: 'include',
288
292
  }, 'session')];
289
293
  case 1:
290
294
  response = _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",