@nsshunt/stsobservability 1.0.82 → 1.0.83
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/stsobservability.mjs +6 -1
- package/dist/stsobservability.mjs.map +1 -1
- package/dist/stsobservability.umd.js +6 -1
- package/dist/stsobservability.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/socketioutils/socketIoServerHelper.d.ts +4 -2
- package/types/socketioutils/socketIoServerHelper.d.ts.map +1 -1
|
@@ -8976,7 +8976,12 @@ class SocketIoServerHelper {
|
|
|
8976
8976
|
__publicField(this, "GetSTSSocketIONamespaces", () => {
|
|
8977
8977
|
return __privateGet(this, _namespace);
|
|
8978
8978
|
});
|
|
8979
|
-
__publicField(this, "
|
|
8979
|
+
__publicField(this, "CloseAdaptors", async () => {
|
|
8980
|
+
for (const [, namespace] of Object.entries(__privateGet(this, _namespace))) {
|
|
8981
|
+
await namespace.socketionamespace.adapter.close();
|
|
8982
|
+
}
|
|
8983
|
+
});
|
|
8984
|
+
__publicField(this, "DisconnectSockets", () => {
|
|
8980
8985
|
for (const [, namespace] of Object.entries(__privateGet(this, _namespace))) {
|
|
8981
8986
|
namespace.socketionamespace.disconnectSockets();
|
|
8982
8987
|
}
|