@compilot/react-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.
@@ -265,19 +265,17 @@ function _regeneratorDefine(e, r, n, t) {
265
265
  i = 0;
266
266
  }
267
267
  _regeneratorDefine = function (e, r, n, t) {
268
- if (r) i ? i(e, r, {
268
+ function o(r, n) {
269
+ _regeneratorDefine(e, r, function (e) {
270
+ return this._invoke(r, n, e);
271
+ });
272
+ }
273
+ r ? i ? i(e, r, {
269
274
  value: n,
270
275
  enumerable: !t,
271
276
  configurable: !t,
272
277
  writable: !t
273
- }) : e[r] = n;else {
274
- function o(r, n) {
275
- _regeneratorDefine(e, r, function (e) {
276
- return this._invoke(r, n, e);
277
- });
278
- }
279
- o("next", 0), o("throw", 1), o("return", 2);
280
- }
278
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
281
279
  }, _regeneratorDefine(e, r, n, t);
282
280
  }
283
281
 
@@ -437,7 +435,7 @@ var useAsyncMutationState = function useAsyncMutationState(_ref) {
437
435
  _args = arguments,
438
436
  _t;
439
437
  return _regenerator().w(function (_context) {
440
- while (1) switch (_context.n) {
438
+ while (1) switch (_context.p = _context.n) {
441
439
  case 0:
442
440
  setState(function (state) {
443
441
  return {
@@ -728,7 +726,7 @@ var useCustomerStatus = function useCustomerStatus() {
728
726
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
729
727
  var status, _t;
730
728
  return _regenerator().w(function (_context) {
731
- while (1) switch (_context.n) {
729
+ while (1) switch (_context.p = _context.n) {
732
730
  case 0:
733
731
  _context.p = 0;
734
732
  _context.n = 1;
@@ -1075,7 +1073,7 @@ var useIdentityId = function useIdentityId() {
1075
1073
  var _onIsAuthenticatedChange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(isAuthenticated) {
1076
1074
  var res, _t;
1077
1075
  return _regenerator().w(function (_context) {
1078
- while (1) switch (_context.n) {
1076
+ while (1) switch (_context.p = _context.n) {
1079
1077
  case 0:
1080
1078
  if (isAuthenticated) {
1081
1079
  _context.n = 1;
@@ -265,19 +265,17 @@ function _regeneratorDefine(e, r, n, t) {
265
265
  i = 0;
266
266
  }
267
267
  _regeneratorDefine = function (e, r, n, t) {
268
- if (r) i ? i(e, r, {
268
+ function o(r, n) {
269
+ _regeneratorDefine(e, r, function (e) {
270
+ return this._invoke(r, n, e);
271
+ });
272
+ }
273
+ r ? i ? i(e, r, {
269
274
  value: n,
270
275
  enumerable: !t,
271
276
  configurable: !t,
272
277
  writable: !t
273
- }) : e[r] = n;else {
274
- function o(r, n) {
275
- _regeneratorDefine(e, r, function (e) {
276
- return this._invoke(r, n, e);
277
- });
278
- }
279
- o("next", 0), o("throw", 1), o("return", 2);
280
- }
278
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
281
279
  }, _regeneratorDefine(e, r, n, t);
282
280
  }
283
281
 
@@ -437,7 +435,7 @@ var useAsyncMutationState = function useAsyncMutationState(_ref) {
437
435
  _args = arguments,
438
436
  _t;
439
437
  return _regenerator().w(function (_context) {
440
- while (1) switch (_context.n) {
438
+ while (1) switch (_context.p = _context.n) {
441
439
  case 0:
442
440
  setState(function (state) {
443
441
  return {
@@ -728,7 +726,7 @@ var useCustomerStatus = function useCustomerStatus() {
728
726
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
729
727
  var status, _t;
730
728
  return _regenerator().w(function (_context) {
731
- while (1) switch (_context.n) {
729
+ while (1) switch (_context.p = _context.n) {
732
730
  case 0:
733
731
  _context.p = 0;
734
732
  _context.n = 1;
@@ -1075,7 +1073,7 @@ var useIdentityId = function useIdentityId() {
1075
1073
  var _onIsAuthenticatedChange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(isAuthenticated) {
1076
1074
  var res, _t;
1077
1075
  return _regenerator().w(function (_context) {
1078
- while (1) switch (_context.n) {
1076
+ while (1) switch (_context.p = _context.n) {
1079
1077
  case 0:
1080
1078
  if (isAuthenticated) {
1081
1079
  _context.n = 1;
@@ -262,19 +262,17 @@ function _regeneratorDefine(e, r, n, t) {
262
262
  i = 0;
263
263
  }
264
264
  _regeneratorDefine = function (e, r, n, t) {
265
- if (r) i ? i(e, r, {
265
+ function o(r, n) {
266
+ _regeneratorDefine(e, r, function (e) {
267
+ return this._invoke(r, n, e);
268
+ });
269
+ }
270
+ r ? i ? i(e, r, {
266
271
  value: n,
267
272
  enumerable: !t,
268
273
  configurable: !t,
269
274
  writable: !t
270
- }) : e[r] = n;else {
271
- function o(r, n) {
272
- _regeneratorDefine(e, r, function (e) {
273
- return this._invoke(r, n, e);
274
- });
275
- }
276
- o("next", 0), o("throw", 1), o("return", 2);
277
- }
275
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
278
276
  }, _regeneratorDefine(e, r, n, t);
279
277
  }
280
278
 
@@ -434,7 +432,7 @@ var useAsyncMutationState = function useAsyncMutationState(_ref) {
434
432
  _args = arguments,
435
433
  _t;
436
434
  return _regenerator().w(function (_context) {
437
- while (1) switch (_context.n) {
435
+ while (1) switch (_context.p = _context.n) {
438
436
  case 0:
439
437
  setState(function (state) {
440
438
  return {
@@ -725,7 +723,7 @@ var useCustomerStatus = function useCustomerStatus() {
725
723
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
726
724
  var status, _t;
727
725
  return _regenerator().w(function (_context) {
728
- while (1) switch (_context.n) {
726
+ while (1) switch (_context.p = _context.n) {
729
727
  case 0:
730
728
  _context.p = 0;
731
729
  _context.n = 1;
@@ -1072,7 +1070,7 @@ var useIdentityId = function useIdentityId() {
1072
1070
  var _onIsAuthenticatedChange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(isAuthenticated) {
1073
1071
  var res, _t;
1074
1072
  return _regenerator().w(function (_context) {
1075
- while (1) switch (_context.n) {
1073
+ while (1) switch (_context.p = _context.n) {
1076
1074
  case 0:
1077
1075
  if (isAuthenticated) {
1078
1076
  _context.n = 1;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/react-sdk",
3
- "version": "2.205.0",
3
+ "version": "2.208.0",
4
4
  "description": "ComPilot React SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -49,18 +49,18 @@
49
49
  "@nexeraid/identity-api-client": "workspace:*",
50
50
  "@nexeraid/identity-schemas": "workspace:*",
51
51
  "@nexeraid/logger": "workspace:*",
52
- "pino": "^9.7.0",
53
- "zod": "^3.25.55"
52
+ "pino": "^9.9.4",
53
+ "zod": "^3.25.76"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": ">=17.0.0 <20.0.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/react": "^18.3.23",
59
+ "@types/react": "^18.3.24",
60
60
  "@unblokttechnology/eslint-config": "workspace:*",
61
61
  "eslint": "^8.57.1",
62
- "prettier": "^3.5.3",
63
- "typescript": "^5.8.3"
62
+ "prettier": "^3.6.2",
63
+ "typescript": "^5.9.2"
64
64
  },
65
65
  "preconstruct": {
66
66
  "entrypoints": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/react-sdk",
3
- "version": "2.205.0-dev",
3
+ "version": "2.208.0-dev",
4
4
  "description": "ComPilot React SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -32,21 +32,21 @@
32
32
  "root": true
33
33
  },
34
34
  "dependencies": {
35
- "pino": "^9.7.0",
36
- "zod": "^3.25.55",
37
- "@compilot/web-sdk": "2.205.0-dev",
35
+ "pino": "^9.9.4",
36
+ "zod": "^3.25.76",
37
+ "@compilot/web-sdk": "2.208.0-dev",
38
38
  "@nexeraid/identity-api-client": "2.35.3-dev",
39
- "@nexeraid/identity-schemas": "2.203.0-dev",
39
+ "@nexeraid/identity-schemas": "2.205.0-dev",
40
40
  "@nexeraid/logger": "2.35.3-dev"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=17.0.0 <20.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/react": "^18.3.23",
46
+ "@types/react": "^18.3.24",
47
47
  "eslint": "^8.57.1",
48
- "prettier": "^3.5.3",
49
- "typescript": "^5.8.3",
48
+ "prettier": "^3.6.2",
49
+ "typescript": "^5.9.2",
50
50
  "@unblokttechnology/eslint-config": "0.1.1"
51
51
  },
52
52
  "preconstruct": {