@compilot/web-sdk 2.205.0-dev → 2.208.0-dev

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.
@@ -22,19 +22,17 @@ function _regeneratorDefine(e, r, n, t) {
22
22
  i = 0;
23
23
  }
24
24
  _regeneratorDefine = function (e, r, n, t) {
25
- if (r) i ? i(e, r, {
25
+ function o(r, n) {
26
+ _regeneratorDefine(e, r, function (e) {
27
+ return this._invoke(r, n, e);
28
+ });
29
+ }
30
+ r ? i ? i(e, r, {
26
31
  value: n,
27
32
  enumerable: !t,
28
33
  configurable: !t,
29
34
  writable: !t
30
- }) : e[r] = n;else {
31
- function o(r, n) {
32
- _regeneratorDefine(e, r, function (e) {
33
- return this._invoke(r, n, e);
34
- });
35
- }
36
- o("next", 0), o("throw", 1), o("return", 2);
37
- }
35
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
38
36
  }, _regeneratorDefine(e, r, n, t);
39
37
  }
40
38
 
@@ -1112,6 +1110,7 @@ function createStore(initialData) {
1112
1110
 
1113
1111
  var CreateConfigParameters = zod.z.object({
1114
1112
  authAdapter: AuthAdapter,
1113
+ language: identitySchemas.Language.optional(),
1115
1114
  waitTime: zod.z.number().optional(),
1116
1115
  interval: zod.z.number().optional()
1117
1116
  });
@@ -1133,6 +1132,7 @@ var createConfig = function createConfig(params) {
1133
1132
  }
1134
1133
  var _parsed$data = parsed.data,
1135
1134
  authAdapter = _parsed$data.authAdapter,
1135
+ language = _parsed$data.language,
1136
1136
  waitTime = _parsed$data.waitTime,
1137
1137
  interval = _parsed$data.interval;
1138
1138
  var logger$1 = logger.createLogger({
@@ -1198,9 +1198,11 @@ var createConfig = function createConfig(params) {
1198
1198
  _context.n = 4;
1199
1199
  return iframeHandler.postMessage({
1200
1200
  type: "appConfig",
1201
- data: {
1201
+ data: _objectSpread2({
1202
1202
  authSession: auth
1203
- }
1203
+ }, language && {
1204
+ language: language
1205
+ })
1204
1206
  });
1205
1207
  case 4:
1206
1208
  _context.n = 7;
@@ -1293,7 +1295,7 @@ var createConfig = function createConfig(params) {
1293
1295
  },
1294
1296
  onMessage: function () {
1295
1297
  var _onMessage = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(_ref5) {
1296
- var message, rawEvent, txHash, _message$data, _t, _t2, _t3, _t4, _t5, _t6;
1298
+ var message, rawEvent, txHash, _message$data, _t, _t2, _t3, _t4, _t5;
1297
1299
  return _regenerator().w(function (_context3) {
1298
1300
  while (1) switch (_context3.n) {
1299
1301
  case 0:
@@ -1337,12 +1339,11 @@ var createConfig = function createConfig(params) {
1337
1339
  message: _t3,
1338
1340
  signature: _t4
1339
1341
  };
1340
- _t6 = {
1342
+ _context3.n = 6;
1343
+ return _t2.postMessage.call(_t2, {
1341
1344
  type: "walletSignResponse",
1342
1345
  data: _t5
1343
- };
1344
- _context3.n = 6;
1345
- return _t2.postMessage.call(_t2, _t6);
1346
+ });
1346
1347
  case 6:
1347
1348
  return _context3.a(3, 19);
1348
1349
  case 7:
@@ -1501,7 +1502,7 @@ var createWeb3AuthAdapter = function createWeb3AuthAdapter(params) {
1501
1502
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(loginParams) {
1502
1503
  var address, blockchainId, challengeRes, signatureRes, VerifyWalletChallengeRequest, res, _t;
1503
1504
  return _regenerator().w(function (_context) {
1504
- while (1) switch (_context.n) {
1505
+ while (1) switch (_context.p = _context.n) {
1505
1506
  case 0:
1506
1507
  _context.n = 1;
1507
1508
  return wallet.getAddress();
@@ -1628,7 +1629,7 @@ var attachWalletToIdentity = /*#__PURE__*/function () {
1628
1629
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, options) {
1629
1630
  var authSession, wallet, identityApiClient$1, address, origin, blockchainId, sessionData, workflowId, challengeRes, signatureRes, walletAddRes, _err$body, _t, _t2, _t3;
1630
1631
  return _regenerator().w(function (_context) {
1631
- while (1) switch (_context.n) {
1632
+ while (1) switch (_context.p = _context.n) {
1632
1633
  case 0:
1633
1634
  if (isAuthenticated(config)) {
1634
1635
  _context.n = 1;
@@ -1763,7 +1764,7 @@ var authenticate = /*#__PURE__*/function () {
1763
1764
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, loginParams) {
1764
1765
  var authAdapter, widgetStateStore, auth, authSession, _t;
1765
1766
  return _regenerator().w(function (_context) {
1766
- while (1) switch (_context.n) {
1767
+ while (1) switch (_context.p = _context.n) {
1767
1768
  case 0:
1768
1769
  authAdapter = config._internal.authAdapter;
1769
1770
  widgetStateStore = config._internal.widgetStateStore;
@@ -1989,7 +1990,7 @@ var getCustomerStatus = /*#__PURE__*/function () {
1989
1990
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config) {
1990
1991
  var authenticated, _t;
1991
1992
  return _regenerator().w(function (_context) {
1992
- while (1) switch (_context.n) {
1993
+ while (1) switch (_context.p = _context.n) {
1993
1994
  case 0:
1994
1995
  _context.n = 1;
1995
1996
  return load(config);
@@ -2136,7 +2137,7 @@ var getTxAuthDataSignature = /*#__PURE__*/function () {
2136
2137
  config, input) {
2137
2138
  var authenticated, _t;
2138
2139
  return _regenerator().w(function (_context) {
2139
- while (1) switch (_context.n) {
2140
+ while (1) switch (_context.p = _context.n) {
2140
2141
  case 0:
2141
2142
  _context.n = 1;
2142
2143
  return load(config);
@@ -2265,7 +2266,7 @@ var openWidget = /*#__PURE__*/function () {
2265
2266
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, loginParams) {
2266
2267
  var authenticated, _t;
2267
2268
  return _regenerator().w(function (_context) {
2268
- while (1) switch (_context.n) {
2269
+ while (1) switch (_context.p = _context.n) {
2269
2270
  case 0:
2270
2271
  _context.n = 1;
2271
2272
  return load(config);
@@ -22,19 +22,17 @@ function _regeneratorDefine(e, r, n, t) {
22
22
  i = 0;
23
23
  }
24
24
  _regeneratorDefine = function (e, r, n, t) {
25
- if (r) i ? i(e, r, {
25
+ function o(r, n) {
26
+ _regeneratorDefine(e, r, function (e) {
27
+ return this._invoke(r, n, e);
28
+ });
29
+ }
30
+ r ? i ? i(e, r, {
26
31
  value: n,
27
32
  enumerable: !t,
28
33
  configurable: !t,
29
34
  writable: !t
30
- }) : e[r] = n;else {
31
- function o(r, n) {
32
- _regeneratorDefine(e, r, function (e) {
33
- return this._invoke(r, n, e);
34
- });
35
- }
36
- o("next", 0), o("throw", 1), o("return", 2);
37
- }
35
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
38
36
  }, _regeneratorDefine(e, r, n, t);
39
37
  }
40
38
 
@@ -1112,6 +1110,7 @@ function createStore(initialData) {
1112
1110
 
1113
1111
  var CreateConfigParameters = zod.z.object({
1114
1112
  authAdapter: AuthAdapter,
1113
+ language: identitySchemas.Language.optional(),
1115
1114
  waitTime: zod.z.number().optional(),
1116
1115
  interval: zod.z.number().optional()
1117
1116
  });
@@ -1133,6 +1132,7 @@ var createConfig = function createConfig(params) {
1133
1132
  }
1134
1133
  var _parsed$data = parsed.data,
1135
1134
  authAdapter = _parsed$data.authAdapter,
1135
+ language = _parsed$data.language,
1136
1136
  waitTime = _parsed$data.waitTime,
1137
1137
  interval = _parsed$data.interval;
1138
1138
  var logger$1 = logger.createLogger({
@@ -1198,9 +1198,11 @@ var createConfig = function createConfig(params) {
1198
1198
  _context.n = 4;
1199
1199
  return iframeHandler.postMessage({
1200
1200
  type: "appConfig",
1201
- data: {
1201
+ data: _objectSpread2({
1202
1202
  authSession: auth
1203
- }
1203
+ }, language && {
1204
+ language: language
1205
+ })
1204
1206
  });
1205
1207
  case 4:
1206
1208
  _context.n = 7;
@@ -1293,7 +1295,7 @@ var createConfig = function createConfig(params) {
1293
1295
  },
1294
1296
  onMessage: function () {
1295
1297
  var _onMessage = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(_ref5) {
1296
- var message, rawEvent, txHash, _message$data, _t, _t2, _t3, _t4, _t5, _t6;
1298
+ var message, rawEvent, txHash, _message$data, _t, _t2, _t3, _t4, _t5;
1297
1299
  return _regenerator().w(function (_context3) {
1298
1300
  while (1) switch (_context3.n) {
1299
1301
  case 0:
@@ -1337,12 +1339,11 @@ var createConfig = function createConfig(params) {
1337
1339
  message: _t3,
1338
1340
  signature: _t4
1339
1341
  };
1340
- _t6 = {
1342
+ _context3.n = 6;
1343
+ return _t2.postMessage.call(_t2, {
1341
1344
  type: "walletSignResponse",
1342
1345
  data: _t5
1343
- };
1344
- _context3.n = 6;
1345
- return _t2.postMessage.call(_t2, _t6);
1346
+ });
1346
1347
  case 6:
1347
1348
  return _context3.a(3, 19);
1348
1349
  case 7:
@@ -1501,7 +1502,7 @@ var createWeb3AuthAdapter = function createWeb3AuthAdapter(params) {
1501
1502
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(loginParams) {
1502
1503
  var address, blockchainId, challengeRes, signatureRes, VerifyWalletChallengeRequest, res, _t;
1503
1504
  return _regenerator().w(function (_context) {
1504
- while (1) switch (_context.n) {
1505
+ while (1) switch (_context.p = _context.n) {
1505
1506
  case 0:
1506
1507
  _context.n = 1;
1507
1508
  return wallet.getAddress();
@@ -1628,7 +1629,7 @@ var attachWalletToIdentity = /*#__PURE__*/function () {
1628
1629
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, options) {
1629
1630
  var authSession, wallet, identityApiClient$1, address, origin, blockchainId, sessionData, workflowId, challengeRes, signatureRes, walletAddRes, _err$body, _t, _t2, _t3;
1630
1631
  return _regenerator().w(function (_context) {
1631
- while (1) switch (_context.n) {
1632
+ while (1) switch (_context.p = _context.n) {
1632
1633
  case 0:
1633
1634
  if (isAuthenticated(config)) {
1634
1635
  _context.n = 1;
@@ -1763,7 +1764,7 @@ var authenticate = /*#__PURE__*/function () {
1763
1764
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, loginParams) {
1764
1765
  var authAdapter, widgetStateStore, auth, authSession, _t;
1765
1766
  return _regenerator().w(function (_context) {
1766
- while (1) switch (_context.n) {
1767
+ while (1) switch (_context.p = _context.n) {
1767
1768
  case 0:
1768
1769
  authAdapter = config._internal.authAdapter;
1769
1770
  widgetStateStore = config._internal.widgetStateStore;
@@ -1989,7 +1990,7 @@ var getCustomerStatus = /*#__PURE__*/function () {
1989
1990
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config) {
1990
1991
  var authenticated, _t;
1991
1992
  return _regenerator().w(function (_context) {
1992
- while (1) switch (_context.n) {
1993
+ while (1) switch (_context.p = _context.n) {
1993
1994
  case 0:
1994
1995
  _context.n = 1;
1995
1996
  return load(config);
@@ -2136,7 +2137,7 @@ var getTxAuthDataSignature = /*#__PURE__*/function () {
2136
2137
  config, input) {
2137
2138
  var authenticated, _t;
2138
2139
  return _regenerator().w(function (_context) {
2139
- while (1) switch (_context.n) {
2140
+ while (1) switch (_context.p = _context.n) {
2140
2141
  case 0:
2141
2142
  _context.n = 1;
2142
2143
  return load(config);
@@ -2265,7 +2266,7 @@ var openWidget = /*#__PURE__*/function () {
2265
2266
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, loginParams) {
2266
2267
  var authenticated, _t;
2267
2268
  return _regenerator().w(function (_context) {
2268
- while (1) switch (_context.n) {
2269
+ while (1) switch (_context.p = _context.n) {
2269
2270
  case 0:
2270
2271
  _context.n = 1;
2271
2272
  return load(config);
@@ -1,5 +1,5 @@
1
1
  import { createIdentityApiClient, ApiError } from '@nexeraid/identity-api-client';
2
- import { AuthSession, WalletSignatureResponse, TransactionData, TxHash, BlockchainId, PUBLIC_SERVICES_SCHEMA_MAP, IdentityAppMessage, ScenarioExecutionData, KycCompletionData, SupportedBlockchainNamespaceForSignatureAuth, BlockchainAddress, ChallengeResponse, VerifyWalletChallengeRequest, IdentityWidgetAccessToken_NEW } from '@nexeraid/identity-schemas';
2
+ import { AuthSession, WalletSignatureResponse, TransactionData, TxHash, BlockchainId, Language, PUBLIC_SERVICES_SCHEMA_MAP, IdentityAppMessage, ScenarioExecutionData, KycCompletionData, SupportedBlockchainNamespaceForSignatureAuth, BlockchainAddress, ChallengeResponse, VerifyWalletChallengeRequest, IdentityWidgetAccessToken_NEW } from '@nexeraid/identity-schemas';
3
3
  export { AuthSession, BlockchainAddress, EvmAddress, EvmChainId } from '@nexeraid/identity-schemas';
4
4
  import { z } from 'zod';
5
5
  import { createLogger } from '@nexeraid/logger';
@@ -15,19 +15,17 @@ function _regeneratorDefine(e, r, n, t) {
15
15
  i = 0;
16
16
  }
17
17
  _regeneratorDefine = function (e, r, n, t) {
18
- if (r) i ? i(e, r, {
18
+ function o(r, n) {
19
+ _regeneratorDefine(e, r, function (e) {
20
+ return this._invoke(r, n, e);
21
+ });
22
+ }
23
+ r ? i ? i(e, r, {
19
24
  value: n,
20
25
  enumerable: !t,
21
26
  configurable: !t,
22
27
  writable: !t
23
- }) : e[r] = n;else {
24
- function o(r, n) {
25
- _regeneratorDefine(e, r, function (e) {
26
- return this._invoke(r, n, e);
27
- });
28
- }
29
- o("next", 0), o("throw", 1), o("return", 2);
30
- }
28
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
31
29
  }, _regeneratorDefine(e, r, n, t);
32
30
  }
33
31
 
@@ -1105,6 +1103,7 @@ function createStore(initialData) {
1105
1103
 
1106
1104
  var CreateConfigParameters = z.object({
1107
1105
  authAdapter: AuthAdapter,
1106
+ language: Language.optional(),
1108
1107
  waitTime: z.number().optional(),
1109
1108
  interval: z.number().optional()
1110
1109
  });
@@ -1126,6 +1125,7 @@ var createConfig = function createConfig(params) {
1126
1125
  }
1127
1126
  var _parsed$data = parsed.data,
1128
1127
  authAdapter = _parsed$data.authAdapter,
1128
+ language = _parsed$data.language,
1129
1129
  waitTime = _parsed$data.waitTime,
1130
1130
  interval = _parsed$data.interval;
1131
1131
  var logger = createLogger({
@@ -1191,9 +1191,11 @@ var createConfig = function createConfig(params) {
1191
1191
  _context.n = 4;
1192
1192
  return iframeHandler.postMessage({
1193
1193
  type: "appConfig",
1194
- data: {
1194
+ data: _objectSpread2({
1195
1195
  authSession: auth
1196
- }
1196
+ }, language && {
1197
+ language: language
1198
+ })
1197
1199
  });
1198
1200
  case 4:
1199
1201
  _context.n = 7;
@@ -1286,7 +1288,7 @@ var createConfig = function createConfig(params) {
1286
1288
  },
1287
1289
  onMessage: function () {
1288
1290
  var _onMessage = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(_ref5) {
1289
- var message, rawEvent, txHash, _message$data, _t, _t2, _t3, _t4, _t5, _t6;
1291
+ var message, rawEvent, txHash, _message$data, _t, _t2, _t3, _t4, _t5;
1290
1292
  return _regenerator().w(function (_context3) {
1291
1293
  while (1) switch (_context3.n) {
1292
1294
  case 0:
@@ -1330,12 +1332,11 @@ var createConfig = function createConfig(params) {
1330
1332
  message: _t3,
1331
1333
  signature: _t4
1332
1334
  };
1333
- _t6 = {
1335
+ _context3.n = 6;
1336
+ return _t2.postMessage.call(_t2, {
1334
1337
  type: "walletSignResponse",
1335
1338
  data: _t5
1336
- };
1337
- _context3.n = 6;
1338
- return _t2.postMessage.call(_t2, _t6);
1339
+ });
1339
1340
  case 6:
1340
1341
  return _context3.a(3, 19);
1341
1342
  case 7:
@@ -1494,7 +1495,7 @@ var createWeb3AuthAdapter = function createWeb3AuthAdapter(params) {
1494
1495
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(loginParams) {
1495
1496
  var address, blockchainId, challengeRes, signatureRes, VerifyWalletChallengeRequest, res, _t;
1496
1497
  return _regenerator().w(function (_context) {
1497
- while (1) switch (_context.n) {
1498
+ while (1) switch (_context.p = _context.n) {
1498
1499
  case 0:
1499
1500
  _context.n = 1;
1500
1501
  return wallet.getAddress();
@@ -1621,7 +1622,7 @@ var attachWalletToIdentity = /*#__PURE__*/function () {
1621
1622
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, options) {
1622
1623
  var authSession, wallet, identityApiClient, address, origin, blockchainId, sessionData, workflowId, challengeRes, signatureRes, walletAddRes, _err$body, _t, _t2, _t3;
1623
1624
  return _regenerator().w(function (_context) {
1624
- while (1) switch (_context.n) {
1625
+ while (1) switch (_context.p = _context.n) {
1625
1626
  case 0:
1626
1627
  if (isAuthenticated(config)) {
1627
1628
  _context.n = 1;
@@ -1756,7 +1757,7 @@ var authenticate = /*#__PURE__*/function () {
1756
1757
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, loginParams) {
1757
1758
  var authAdapter, widgetStateStore, auth, authSession, _t;
1758
1759
  return _regenerator().w(function (_context) {
1759
- while (1) switch (_context.n) {
1760
+ while (1) switch (_context.p = _context.n) {
1760
1761
  case 0:
1761
1762
  authAdapter = config._internal.authAdapter;
1762
1763
  widgetStateStore = config._internal.widgetStateStore;
@@ -1982,7 +1983,7 @@ var getCustomerStatus = /*#__PURE__*/function () {
1982
1983
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config) {
1983
1984
  var authenticated, _t;
1984
1985
  return _regenerator().w(function (_context) {
1985
- while (1) switch (_context.n) {
1986
+ while (1) switch (_context.p = _context.n) {
1986
1987
  case 0:
1987
1988
  _context.n = 1;
1988
1989
  return load(config);
@@ -2129,7 +2130,7 @@ var getTxAuthDataSignature = /*#__PURE__*/function () {
2129
2130
  config, input) {
2130
2131
  var authenticated, _t;
2131
2132
  return _regenerator().w(function (_context) {
2132
- while (1) switch (_context.n) {
2133
+ while (1) switch (_context.p = _context.n) {
2133
2134
  case 0:
2134
2135
  _context.n = 1;
2135
2136
  return load(config);
@@ -2258,7 +2259,7 @@ var openWidget = /*#__PURE__*/function () {
2258
2259
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(config, loginParams) {
2259
2260
  var authenticated, _t;
2260
2261
  return _regenerator().w(function (_context) {
2261
- while (1) switch (_context.n) {
2262
+ while (1) switch (_context.p = _context.n) {
2262
2263
  case 0:
2263
2264
  _context.n = 1;
2264
2265
  return load(config);
@@ -1,5 +1,5 @@
1
1
  import type { AnyTxAuthDataSignatureResponse, AuthSession, CustomerStatus } from "@nexeraid/identity-schemas";
2
- import { KycCompletionData, ScenarioExecutionData } from "@nexeraid/identity-schemas";
2
+ import { KycCompletionData, Language, ScenarioExecutionData } from "@nexeraid/identity-schemas";
3
3
  import type { LoggerLevel } from "@nexeraid/logger";
4
4
  import { z } from "zod";
5
5
  import { AuthAdapter } from "./AuthAdapter.js";
@@ -34,6 +34,8 @@ export type ExternalEventMap = {
34
34
  type CreateConfigParameters = {
35
35
  /** The auth adapter to use for authentication */
36
36
  authAdapter: AuthAdapter;
37
+ /** The initial language to set for the identity widget */
38
+ language?: Language;
37
39
  /** The log level to use */
38
40
  logLevel?: LoggerLevel;
39
41
  /** The maximum time to wait for iframe to load (in milliseconds). Default: 3000 */
@@ -104,6 +106,7 @@ export declare const createConfig: (params: CreateConfigParameters) => {
104
106
  identitySessionId?: `ids__${string}` | undefined;
105
107
  externalCustomerId?: string | undefined;
106
108
  };
109
+ language?: "en" | "fr" | undefined;
107
110
  };
108
111
  } | {
109
112
  type: "walletUpdated";
@@ -1 +1 @@
1
- {"version":3,"file":"createConfig.d.ts","sourceRoot":"../../../../src/configuration","sources":["createConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8BAA8B,EAC9B,WAAW,EAEX,cAAc,EAIf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,iBAAiB,EAEjB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,OAAO,EAAE,WAAW,EAAqB,yBAAsB;AAE/D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,yBAAyB;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,gCAAgC;IAChC,UAAU,EAA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QAAQ,CAAC,EAAE,WAAW,CAAC;IAEvB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AACF,QAAA,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAK5D,CAAC;AAEH,2BAA2B;AAC3B,KAAK,WAAW,GAAG;IACjB;;;;;;OAMG;IACH,QAAQ,EAAE,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,YAAY,CAAC;IAC/D;;;;;;OAMG;IACH,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;IAC/C;;;;;;OAMG;IACH,IAAI,EAAE,mBAAmB,GAAG,SAAS,GAAG,WAAW,CAAC;CACrD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,sBAAsB;IA6OvD;;OAEG;;;;;;;;;;;;;;;;;;;;;yCAqB60xB,CAAC;0CAA8D,CAAC;;4BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAAi9mB,CAAC;uCAAiD,CAAC;6BAAuC,CAAC;;;;;;;;;;;;kCAAma,CAAC;uCAAiD,CAAC;6BAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAH/+5C,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/web-sdk",
3
- "version": "2.205.0",
3
+ "version": "2.208.0",
4
4
  "description": "Unblockt Web SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -50,15 +50,15 @@
50
50
  "@nexeraid/logger": "workspace:*",
51
51
  "eventemitter3": "^5.0.1",
52
52
  "jwt-decode": "^3.1.2",
53
- "pino": "^9.7.0",
53
+ "pino": "^9.9.4",
54
54
  "remeda": "^1.61.0",
55
- "zod": "^3.25.55"
55
+ "zod": "^3.25.76"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@unblokttechnology/eslint-config": "workspace:*",
59
59
  "eslint": "^8.57.1",
60
- "prettier": "^3.5.3",
61
- "typescript": "^5.8.3"
60
+ "prettier": "^3.6.2",
61
+ "typescript": "^5.9.2"
62
62
  },
63
63
  "preconstruct": {
64
64
  "entrypoints": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/web-sdk",
3
- "version": "2.205.0-dev",
3
+ "version": "2.208.0-dev",
4
4
  "description": "Unblockt Web SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -34,17 +34,17 @@
34
34
  "dependencies": {
35
35
  "eventemitter3": "^5.0.1",
36
36
  "jwt-decode": "^3.1.2",
37
- "pino": "^9.7.0",
37
+ "pino": "^9.9.4",
38
38
  "remeda": "^1.61.0",
39
- "zod": "^3.25.55",
39
+ "zod": "^3.25.76",
40
40
  "@nexeraid/identity-api-client": "2.35.3-dev",
41
- "@nexeraid/identity-schemas": "2.203.0-dev",
41
+ "@nexeraid/identity-schemas": "2.205.0-dev",
42
42
  "@nexeraid/logger": "2.35.3-dev"
43
43
  },
44
44
  "devDependencies": {
45
45
  "eslint": "^8.57.1",
46
- "prettier": "^3.5.3",
47
- "typescript": "^5.8.3",
46
+ "prettier": "^3.6.2",
47
+ "typescript": "^5.9.2",
48
48
  "@unblokttechnology/eslint-config": "0.1.1"
49
49
  },
50
50
  "preconstruct": {