@compilot/react-sdk 2.3.23-dev → 2.3.23
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.
|
@@ -972,7 +972,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
972
972
|
}();
|
|
973
973
|
if (refreshOnMount) {
|
|
974
974
|
if (state.data === undefined) {
|
|
975
|
-
startLoading();
|
|
976
975
|
void updateStatus();
|
|
977
976
|
}
|
|
978
977
|
}
|
|
@@ -984,7 +983,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
984
983
|
var unsubscribeVisibility = webSdk.watchWidgetVisibleState(config, {
|
|
985
984
|
onChange: function onChange(isVisible) {
|
|
986
985
|
if (!isVisible) {
|
|
987
|
-
startLoading();
|
|
988
986
|
void updateStatus();
|
|
989
987
|
}
|
|
990
988
|
}
|
|
@@ -992,7 +990,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
992
990
|
var unsubscribeAuth = webSdk.watchIsAuthenticated(config, {
|
|
993
991
|
onIsAuthenticatedChange: function onIsAuthenticatedChange(isAuthenticated) {
|
|
994
992
|
if (isAuthenticated) {
|
|
995
|
-
startLoading();
|
|
996
993
|
void updateStatus();
|
|
997
994
|
} else {
|
|
998
995
|
setResult(null);
|
|
@@ -972,7 +972,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
972
972
|
}();
|
|
973
973
|
if (refreshOnMount) {
|
|
974
974
|
if (state.data === undefined) {
|
|
975
|
-
startLoading();
|
|
976
975
|
void updateStatus();
|
|
977
976
|
}
|
|
978
977
|
}
|
|
@@ -984,7 +983,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
984
983
|
var unsubscribeVisibility = webSdk.watchWidgetVisibleState(config, {
|
|
985
984
|
onChange: function onChange(isVisible) {
|
|
986
985
|
if (!isVisible) {
|
|
987
|
-
startLoading();
|
|
988
986
|
void updateStatus();
|
|
989
987
|
}
|
|
990
988
|
}
|
|
@@ -992,7 +990,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
992
990
|
var unsubscribeAuth = webSdk.watchIsAuthenticated(config, {
|
|
993
991
|
onIsAuthenticatedChange: function onIsAuthenticatedChange(isAuthenticated) {
|
|
994
992
|
if (isAuthenticated) {
|
|
995
|
-
startLoading();
|
|
996
993
|
void updateStatus();
|
|
997
994
|
} else {
|
|
998
995
|
setResult(null);
|
|
@@ -969,7 +969,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
969
969
|
}();
|
|
970
970
|
if (refreshOnMount) {
|
|
971
971
|
if (state.data === undefined) {
|
|
972
|
-
startLoading();
|
|
973
972
|
void updateStatus();
|
|
974
973
|
}
|
|
975
974
|
}
|
|
@@ -981,7 +980,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
981
980
|
var unsubscribeVisibility = watchWidgetVisibleState(config, {
|
|
982
981
|
onChange: function onChange(isVisible) {
|
|
983
982
|
if (!isVisible) {
|
|
984
|
-
startLoading();
|
|
985
983
|
void updateStatus();
|
|
986
984
|
}
|
|
987
985
|
}
|
|
@@ -989,7 +987,6 @@ var useCustomerStatus = function useCustomerStatus() {
|
|
|
989
987
|
var unsubscribeAuth = watchIsAuthenticated(config, {
|
|
990
988
|
onIsAuthenticatedChange: function onIsAuthenticatedChange(isAuthenticated) {
|
|
991
989
|
if (isAuthenticated) {
|
|
992
|
-
startLoading();
|
|
993
990
|
void updateStatus();
|
|
994
991
|
} else {
|
|
995
992
|
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,
|
|
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"}
|
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.23",
|
|
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.23",
|
|
37
|
+
"@nexeraid/identity-api-client": "2.3.22",
|
|
38
|
+
"@nexeraid/identity-schemas": "2.3.23",
|
|
39
|
+
"@nexeraid/logger": "2.3.22"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react": ">=17.0.0 <20.0.0"
|