@bytexbyte/ike-app-api 1.0.61 → 1.0.63

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/App.js CHANGED
@@ -73,6 +73,7 @@ var IKEAppApi = /** @class */ (function (_super) {
73
73
  secretKey: config_1.localSecretKey,
74
74
  secret: '',
75
75
  moduleName: 'app',
76
+ credentials: 'include',
76
77
  onSuccess: onSuccess,
77
78
  onError: onError,
78
79
  }) || this;
package/lib/Auth/index.js CHANGED
@@ -80,6 +80,7 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
80
80
  secretKey: secretKey !== null && secretKey !== void 0 ? secretKey : config_1.localSecretKey,
81
81
  secret: secret !== null && secret !== void 0 ? secret : '',
82
82
  moduleName: 'auth',
83
+ credentials: 'include',
83
84
  onSuccess: onSuccess,
84
85
  onError: onError,
85
86
  }) || this;
@@ -94,7 +95,6 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
94
95
  headers: {
95
96
  'Content-Type': 'application/json',
96
97
  },
97
- credentials: 'include',
98
98
  }, 'csrf')];
99
99
  case 1:
100
100
  response = _a.sent();
@@ -248,7 +248,6 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
248
248
  headers: {
249
249
  'Content-Type': 'application/json',
250
250
  },
251
- credentials: 'include',
252
251
  body: JSON.stringify(__assign(__assign({ callbackUrl: this.host, json: true }, form), { csrfToken: csrfToken })),
253
252
  }, "callback/".concat(provider))];
254
253
  case 2:
@@ -271,7 +270,6 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
271
270
  headers: {
272
271
  'Content-Type': 'application/x-www-form-urlencoded',
273
272
  },
274
- credentials: 'include',
275
273
  body: toFormUrlencodedString({ callbackUrl: this.host, json: true, csrfToken: csrfToken }),
276
274
  }, 'signout')];
277
275
  case 2:
@@ -288,7 +286,6 @@ var IKEAppAuthApi = /** @class */ (function (_super) {
288
286
  switch (_a.label) {
289
287
  case 0: return [4 /*yield*/, this.bxbFetch({
290
288
  method: 'GET',
291
- credentials: 'include',
292
289
  }, 'session')];
293
290
  case 1:
294
291
  response = _a.sent();
@@ -71,6 +71,7 @@ var IKEAppBatchApi = /** @class */ (function (_super) {
71
71
  secretKey: config_1.localSecretKey,
72
72
  secret: '',
73
73
  moduleName: 'batch',
74
+ credentials: 'include',
74
75
  onSuccess: onSuccess,
75
76
  onError: onError,
76
77
  }) || this;
@@ -63,6 +63,7 @@ var IKEAppBleConnectionErrorLogApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'ble-connection-error-log',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
@@ -63,6 +63,7 @@ var IKEAppContractApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'contract',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
@@ -63,6 +63,7 @@ var IKEAppDigitalCustomizationApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'digitalCustomizations',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
package/lib/File/index.js CHANGED
@@ -63,6 +63,7 @@ var IKEAppFileApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'file',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
@@ -62,6 +62,7 @@ var IKEAppInAppNotificationApi = /** @class */ (function (_super) {
62
62
  secretKey: config_1.localSecretKey,
63
63
  secret: '',
64
64
  moduleName: 'in-app-notification',
65
+ credentials: 'include',
65
66
  onSuccess: onSuccess,
66
67
  onError: onError,
67
68
  }) || this;
@@ -62,6 +62,7 @@ var IKEAppIncodeApi = /** @class */ (function (_super) {
62
62
  secretKey: secretKey !== null && secretKey !== void 0 ? secretKey : config_1.localSecretKey,
63
63
  secret: secret !== null && secret !== void 0 ? secret : '',
64
64
  moduleName: 'incode',
65
+ credentials: 'include',
65
66
  onSuccess: onSuccess,
66
67
  onError: onError,
67
68
  }) || this;
package/lib/Mfa/index.js CHANGED
@@ -63,6 +63,7 @@ var IKEAppMfaApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'redeem-nft',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
@@ -63,6 +63,7 @@ var IKEAppProductApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'product',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
@@ -63,6 +63,7 @@ var IKEAppRedeemApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'redeem-godenticket',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
@@ -63,6 +63,7 @@ var IKEAppRegisterDeviceCodeApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'register-device-code',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
package/lib/Rsa/index.js CHANGED
@@ -63,6 +63,7 @@ var IKEAppRsaApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'rsa',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
package/lib/Scan/index.js CHANGED
@@ -63,6 +63,7 @@ var IKEAppScanApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'scan',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
package/lib/Tags/index.js CHANGED
@@ -63,6 +63,7 @@ var IKEAppTagsApi = /** @class */ (function (_super) {
63
63
  secretKey: config_1.localSecretKey,
64
64
  secret: '',
65
65
  moduleName: 'tags',
66
+ credentials: 'include',
66
67
  onSuccess: onSuccess,
67
68
  onError: onError,
68
69
  }) || this;
package/lib/User/index.js CHANGED
@@ -70,6 +70,7 @@ var IKEAppUserApi = /** @class */ (function (_super) {
70
70
  secretKey: secretKey !== null && secretKey !== void 0 ? secretKey : config_1.localSecretKey,
71
71
  secret: secret !== null && secret !== void 0 ? secret : '',
72
72
  moduleName: 'user',
73
+ credentials: 'include',
73
74
  onSuccess: onSuccess,
74
75
  onError: onError,
75
76
  }) || this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@bytexbyte/berify-api": "^2.0.8",
40
- "@bytexbyte/bxb-api": "^1.0.4",
40
+ "@bytexbyte/bxb-api": "^1.0.5",
41
41
  "ansi-styles": "^3.2.1",
42
42
  "argparse": "^1.0.10",
43
43
  "balanced-match": "^1.0.2",