@compilot/react-sdk 2.3.23 → 2.3.24-staging

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.
@@ -1,2 +1,2 @@
1
- export * from "./declarations/src/index";
1
+ export * from "./declarations/src/index.js";
2
2
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsb3QtcmVhY3Qtc2RrLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -972,6 +972,7 @@ var useCustomerStatus = function useCustomerStatus() {
972
972
  }();
973
973
  if (refreshOnMount) {
974
974
  if (state.data === undefined) {
975
+ startLoading();
975
976
  void updateStatus();
976
977
  }
977
978
  }
@@ -983,6 +984,7 @@ var useCustomerStatus = function useCustomerStatus() {
983
984
  var unsubscribeVisibility = webSdk.watchWidgetVisibleState(config, {
984
985
  onChange: function onChange(isVisible) {
985
986
  if (!isVisible) {
987
+ startLoading();
986
988
  void updateStatus();
987
989
  }
988
990
  }
@@ -990,6 +992,7 @@ var useCustomerStatus = function useCustomerStatus() {
990
992
  var unsubscribeAuth = webSdk.watchIsAuthenticated(config, {
991
993
  onIsAuthenticatedChange: function onIsAuthenticatedChange(isAuthenticated) {
992
994
  if (isAuthenticated) {
995
+ startLoading();
993
996
  void updateStatus();
994
997
  } else {
995
998
  setResult(null);
@@ -972,6 +972,7 @@ var useCustomerStatus = function useCustomerStatus() {
972
972
  }();
973
973
  if (refreshOnMount) {
974
974
  if (state.data === undefined) {
975
+ startLoading();
975
976
  void updateStatus();
976
977
  }
977
978
  }
@@ -983,6 +984,7 @@ var useCustomerStatus = function useCustomerStatus() {
983
984
  var unsubscribeVisibility = webSdk.watchWidgetVisibleState(config, {
984
985
  onChange: function onChange(isVisible) {
985
986
  if (!isVisible) {
987
+ startLoading();
986
988
  void updateStatus();
987
989
  }
988
990
  }
@@ -990,6 +992,7 @@ var useCustomerStatus = function useCustomerStatus() {
990
992
  var unsubscribeAuth = webSdk.watchIsAuthenticated(config, {
991
993
  onIsAuthenticatedChange: function onIsAuthenticatedChange(isAuthenticated) {
992
994
  if (isAuthenticated) {
995
+ startLoading();
993
996
  void updateStatus();
994
997
  } else {
995
998
  setResult(null);
@@ -1,2 +1,2 @@
1
- export * from "./declarations/src/index";
1
+ export * from "./declarations/src/index.js";
2
2
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsb3QtcmVhY3Qtc2RrLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -969,6 +969,7 @@ var useCustomerStatus = function useCustomerStatus() {
969
969
  }();
970
970
  if (refreshOnMount) {
971
971
  if (state.data === undefined) {
972
+ startLoading();
972
973
  void updateStatus();
973
974
  }
974
975
  }
@@ -980,6 +981,7 @@ var useCustomerStatus = function useCustomerStatus() {
980
981
  var unsubscribeVisibility = watchWidgetVisibleState(config, {
981
982
  onChange: function onChange(isVisible) {
982
983
  if (!isVisible) {
984
+ startLoading();
983
985
  void updateStatus();
984
986
  }
985
987
  }
@@ -987,6 +989,7 @@ var useCustomerStatus = function useCustomerStatus() {
987
989
  var unsubscribeAuth = watchIsAuthenticated(config, {
988
990
  onIsAuthenticatedChange: function onIsAuthenticatedChange(isAuthenticated) {
989
991
  if (isAuthenticated) {
992
+ startLoading();
990
993
  void updateStatus();
991
994
  } else {
992
995
  setResult(null);
@@ -1 +1 @@
1
- {"version":3,"file":"useCustomerStatus.d.ts","sourceRoot":"../../../../src/hooks","sources":["useCustomerStatus.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAoC;AAGnE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,iBAAiB,yCACS,uBAAuB,KAI3D,eAAe,CAAC,cAAc,GAAG,IAAI,CA4EvC,CAAC"}
1
+ {"version":3,"file":"useCustomerStatus.d.ts","sourceRoot":"../../../../src/hooks","sources":["useCustomerStatus.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAoC;AAGnE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,iBAAiB,yCACS,uBAAuB,KAI3D,eAAe,CAAC,cAAc,GAAG,IAAI,CA+EvC,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/react-sdk",
3
- "version": "2.3.23",
3
+ "version": "2.3.24",
4
4
  "description": "ComPilot React SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -61,7 +61,7 @@
61
61
  "@types/react": "^18.3.11",
62
62
  "@unblokttechnology/eslint-config": "workspace:*",
63
63
  "prettier": "^3.3.3",
64
- "typescript": "^5.6.2"
64
+ "typescript": "^5.6.3"
65
65
  },
66
66
  "preconstruct": {
67
67
  "entrypoints": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/react-sdk",
3
- "version": "2.3.23",
3
+ "version": "2.3.24-staging",
4
4
  "description": "ComPilot React SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -33,10 +33,10 @@
33
33
  "dependencies": {
34
34
  "pino": "^9.4.0",
35
35
  "zod": "^3.23.8",
36
- "@compilot/web-sdk": "2.3.23",
37
- "@nexeraid/identity-api-client": "2.3.22",
38
- "@nexeraid/identity-schemas": "2.3.23",
39
- "@nexeraid/logger": "2.3.22"
36
+ "@compilot/web-sdk": "2.3.24-staging",
37
+ "@nexeraid/identity-api-client": "2.3.22-staging",
38
+ "@nexeraid/identity-schemas": "2.3.24-staging",
39
+ "@nexeraid/logger": "2.3.22-staging"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=17.0.0 <20.0.0"
@@ -44,7 +44,7 @@
44
44
  "devDependencies": {
45
45
  "@types/react": "^18.3.11",
46
46
  "prettier": "^3.3.3",
47
- "typescript": "^5.6.2",
47
+ "typescript": "^5.6.3",
48
48
  "@unblokttechnology/eslint-config": "0.1.1"
49
49
  },
50
50
  "preconstruct": {