@nsshunt/stsobservability 1.0.137 → 1.0.138
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/index.mjs
CHANGED
|
@@ -5567,11 +5567,12 @@ class ObservabilitySocketIOSubscriber {
|
|
|
5567
5567
|
this.#socket = socket;
|
|
5568
5568
|
this.#socket.on("subscriptionData", (data, cb) => {
|
|
5569
5569
|
const subId = data.subscriptionKey.id;
|
|
5570
|
+
const currentSubscriptions = Object.keys(this.subscriptions).toString();
|
|
5570
5571
|
if (this.subscriptions[subId]) {
|
|
5571
5572
|
this.subscriptions[subId].cb(data);
|
|
5572
|
-
cb(`subscriptionData Response: [${data}]`);
|
|
5573
|
+
cb(`subscriptionData Response: [${data.subscriptionKey}], Current Subscriptions: [${currentSubscriptions}]`);
|
|
5573
5574
|
} else {
|
|
5574
|
-
cb(`subscriptionData Response:
|
|
5575
|
+
cb(`subscriptionData Response: No subscription found in subscriptions: [${data.subscriptionKey}], Current Subscriptions: [${currentSubscriptions}]`);
|
|
5575
5576
|
}
|
|
5576
5577
|
});
|
|
5577
5578
|
}
|