akeyless-client-commons 1.0.228 → 1.1.1
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/components/index.js
CHANGED
|
@@ -1224,13 +1224,6 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
1224
1224
|
var collectionsNames = config.map(function(c) {
|
|
1225
1225
|
return c.collectionName;
|
|
1226
1226
|
});
|
|
1227
|
-
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
1228
|
-
if (callback.success) {
|
|
1229
|
-
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
1230
|
-
} else {
|
|
1231
|
-
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
1232
|
-
}
|
|
1233
|
-
});
|
|
1234
1227
|
var eventHandlers = [];
|
|
1235
1228
|
config.forEach(function(configuration) {
|
|
1236
1229
|
var collectionName = configuration.collectionName, onAdd = configuration.onAdd, onFirstTime = configuration.onFirstTime, onModify = configuration.onModify, onRemove = configuration.onRemove, extraParsers = configuration.extraParsers, conditions = configuration.conditions, orderBy2 = configuration.orderBy;
|
|
@@ -1278,6 +1271,13 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
1278
1271
|
});
|
|
1279
1272
|
});
|
|
1280
1273
|
});
|
|
1274
|
+
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
1275
|
+
if (callback.success) {
|
|
1276
|
+
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
1277
|
+
} else {
|
|
1278
|
+
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
1279
|
+
}
|
|
1280
|
+
});
|
|
1281
1281
|
return function() {
|
|
1282
1282
|
console.log("Cleaning up subscriptions for: ".concat(collectionsNames.join(", ")));
|
|
1283
1283
|
s.emit("unsubscribe_collections", collectionsNames);
|
|
@@ -1008,13 +1008,6 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
1008
1008
|
var collectionsNames = config.map(function(c) {
|
|
1009
1009
|
return c.collectionName;
|
|
1010
1010
|
});
|
|
1011
|
-
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
1012
|
-
if (callback.success) {
|
|
1013
|
-
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
1014
|
-
} else {
|
|
1015
|
-
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
1016
|
-
}
|
|
1017
|
-
});
|
|
1018
1011
|
var eventHandlers = [];
|
|
1019
1012
|
config.forEach(function(configuration) {
|
|
1020
1013
|
var collectionName = configuration.collectionName, onAdd = configuration.onAdd, onFirstTime = configuration.onFirstTime, onModify = configuration.onModify, onRemove = configuration.onRemove, extraParsers = configuration.extraParsers, conditions = configuration.conditions, orderBy2 = configuration.orderBy;
|
|
@@ -1062,6 +1055,13 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
1062
1055
|
});
|
|
1063
1056
|
});
|
|
1064
1057
|
});
|
|
1058
|
+
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
1059
|
+
if (callback.success) {
|
|
1060
|
+
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
1061
|
+
} else {
|
|
1062
|
+
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
1063
|
+
}
|
|
1064
|
+
});
|
|
1065
1065
|
return function() {
|
|
1066
1066
|
console.log("Cleaning up subscriptions for: ".concat(collectionsNames.join(", ")));
|
|
1067
1067
|
s.emit("unsubscribe_collections", collectionsNames);
|
package/dist/helpers/index.js
CHANGED
|
@@ -2318,13 +2318,6 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
2318
2318
|
var collectionsNames = config.map(function(c) {
|
|
2319
2319
|
return c.collectionName;
|
|
2320
2320
|
});
|
|
2321
|
-
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
2322
|
-
if (callback.success) {
|
|
2323
|
-
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
2324
|
-
} else {
|
|
2325
|
-
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
2326
|
-
}
|
|
2327
|
-
});
|
|
2328
2321
|
var eventHandlers = [];
|
|
2329
2322
|
config.forEach(function(configuration) {
|
|
2330
2323
|
var collectionName = configuration.collectionName, onAdd = configuration.onAdd, onFirstTime = configuration.onFirstTime, onModify = configuration.onModify, onRemove = configuration.onRemove, extraParsers = configuration.extraParsers, conditions = configuration.conditions, orderBy2 = configuration.orderBy;
|
|
@@ -2372,6 +2365,13 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
2372
2365
|
});
|
|
2373
2366
|
});
|
|
2374
2367
|
});
|
|
2368
|
+
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
2369
|
+
if (callback.success) {
|
|
2370
|
+
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
2371
|
+
} else {
|
|
2372
|
+
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
2373
|
+
}
|
|
2374
|
+
});
|
|
2375
2375
|
return function() {
|
|
2376
2376
|
console.log("Cleaning up subscriptions for: ".concat(collectionsNames.join(", ")));
|
|
2377
2377
|
s.emit("unsubscribe_collections", collectionsNames);
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1966,13 +1966,6 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
1966
1966
|
var collectionsNames = config.map(function(c) {
|
|
1967
1967
|
return c.collectionName;
|
|
1968
1968
|
});
|
|
1969
|
-
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
1970
|
-
if (callback.success) {
|
|
1971
|
-
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
1972
|
-
} else {
|
|
1973
|
-
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
1974
|
-
}
|
|
1975
|
-
});
|
|
1976
1969
|
var eventHandlers = [];
|
|
1977
1970
|
config.forEach(function(configuration) {
|
|
1978
1971
|
var collectionName = configuration.collectionName, onAdd = configuration.onAdd, onFirstTime = configuration.onFirstTime, onModify = configuration.onModify, onRemove = configuration.onRemove, extraParsers = configuration.extraParsers, conditions = configuration.conditions, orderBy2 = configuration.orderBy;
|
|
@@ -2020,6 +2013,13 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
2020
2013
|
});
|
|
2021
2014
|
});
|
|
2022
2015
|
});
|
|
2016
|
+
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
2017
|
+
if (callback.success) {
|
|
2018
|
+
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
2019
|
+
} else {
|
|
2020
|
+
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
2021
|
+
}
|
|
2022
|
+
});
|
|
2023
2023
|
return function() {
|
|
2024
2024
|
console.log("Cleaning up subscriptions for: ".concat(collectionsNames.join(", ")));
|
|
2025
2025
|
s.emit("unsubscribe_collections", collectionsNames);
|
package/dist/hooks/index.js
CHANGED
|
@@ -650,13 +650,6 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
650
650
|
var collectionsNames = config.map(function(c) {
|
|
651
651
|
return c.collectionName;
|
|
652
652
|
});
|
|
653
|
-
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
654
|
-
if (callback.success) {
|
|
655
|
-
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
656
|
-
} else {
|
|
657
|
-
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
658
|
-
}
|
|
659
|
-
});
|
|
660
653
|
var eventHandlers = [];
|
|
661
654
|
config.forEach(function(configuration) {
|
|
662
655
|
var collectionName = configuration.collectionName, onAdd = configuration.onAdd, onFirstTime = configuration.onFirstTime, onModify = configuration.onModify, onRemove = configuration.onRemove, extraParsers = configuration.extraParsers, conditions = configuration.conditions, orderBy2 = configuration.orderBy;
|
|
@@ -704,6 +697,13 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
704
697
|
});
|
|
705
698
|
});
|
|
706
699
|
});
|
|
700
|
+
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
701
|
+
if (callback.success) {
|
|
702
|
+
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
703
|
+
} else {
|
|
704
|
+
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
707
|
return function() {
|
|
708
708
|
console.log("Cleaning up subscriptions for: ".concat(collectionsNames.join(", ")));
|
|
709
709
|
s.emit("unsubscribe_collections", collectionsNames);
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -559,13 +559,6 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
559
559
|
var collectionsNames = config.map(function(c) {
|
|
560
560
|
return c.collectionName;
|
|
561
561
|
});
|
|
562
|
-
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
563
|
-
if (callback.success) {
|
|
564
|
-
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
565
|
-
} else {
|
|
566
|
-
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
567
|
-
}
|
|
568
|
-
});
|
|
569
562
|
var eventHandlers = [];
|
|
570
563
|
config.forEach(function(configuration) {
|
|
571
564
|
var collectionName = configuration.collectionName, onAdd = configuration.onAdd, onFirstTime = configuration.onFirstTime, onModify = configuration.onModify, onRemove = configuration.onRemove, extraParsers = configuration.extraParsers, conditions = configuration.conditions, orderBy2 = configuration.orderBy;
|
|
@@ -613,6 +606,13 @@ var SocketService = /*#__PURE__*/ function() {
|
|
|
613
606
|
});
|
|
614
607
|
});
|
|
615
608
|
});
|
|
609
|
+
s.emit("subscribe_collections", collectionsNames, function(callback) {
|
|
610
|
+
if (callback.success) {
|
|
611
|
+
console.log("Successfully subscribed to: ".concat(collectionsNames.join(", ")));
|
|
612
|
+
} else {
|
|
613
|
+
console.error("Failed to subscribe to ".concat(config.join(", "), ": ").concat(callback.message));
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
616
|
return function() {
|
|
617
617
|
console.log("Cleaning up subscriptions for: ".concat(collectionsNames.join(", ")));
|
|
618
618
|
s.emit("unsubscribe_collections", collectionsNames);
|