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