@grvt/client 1.4.11 → 1.4.12-fix.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/ws/ws.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grvt/client",
3
- "version": "1.4.11",
3
+ "version": "1.4.12-fix.0",
4
4
  "description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
5
5
  "repository": {
6
6
  "type": "git",
package/ws/ws.js CHANGED
@@ -269,7 +269,7 @@ class WS {
269
269
  ].includes(stream);
270
270
  // no sub account id handling
271
271
  if (!hasSubAccountId) {
272
- return key.includes(instrument)
272
+ return key.startsWith(`${stream}__${instrument}`)
273
273
  ? [...acc, ...Object.values(value)]
274
274
  : acc;
275
275
  }