akeyless-client-commons 1.1.17-test.4 → 1.1.17-test.5
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/dist/hooks/index.js +7 -4
- package/dist/hooks/index.mjs +7 -4
- package/package.json +1 -1
package/dist/hooks/index.js
CHANGED
|
@@ -980,10 +980,13 @@ var useSocketSubscription = function(configs, label, settings) {
|
|
|
980
980
|
}).join(", ")));
|
|
981
981
|
}
|
|
982
982
|
} else {
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
983
|
+
auth.currentUser.getIdToken().then(function(token) {
|
|
984
|
+
socketServiceInstance.setAuthToken(token);
|
|
985
|
+
socketServiceInstance.getSocketInstance();
|
|
986
|
+
if (!(settings === null || settings === void 0 ? void 0 : settings.disableLogs) && configs.length > 0) {
|
|
987
|
+
console.log("==> ".concat(label || "Cache snapshots", " started... "));
|
|
988
|
+
}
|
|
989
|
+
});
|
|
987
990
|
}
|
|
988
991
|
var uiOnConnect = function() {
|
|
989
992
|
setSocketConnected(true);
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -886,10 +886,13 @@ var useSocketSubscription = function(configs, label, settings) {
|
|
|
886
886
|
}).join(", ")));
|
|
887
887
|
}
|
|
888
888
|
} else {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
889
|
+
auth.currentUser.getIdToken().then(function(token) {
|
|
890
|
+
socketServiceInstance.setAuthToken(token);
|
|
891
|
+
socketServiceInstance.getSocketInstance();
|
|
892
|
+
if (!(settings === null || settings === void 0 ? void 0 : settings.disableLogs) && configs.length > 0) {
|
|
893
|
+
console.log("==> ".concat(label || "Cache snapshots", " started... "));
|
|
894
|
+
}
|
|
895
|
+
});
|
|
893
896
|
}
|
|
894
897
|
var uiOnConnect = function() {
|
|
895
898
|
setSocketConnected(true);
|