geonix 1.20.6 → 1.20.7

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/src/Gateway.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonix",
3
- "version": "1.20.6",
3
+ "version": "1.20.7",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "bin": {
package/src/Gateway.js CHANGED
@@ -279,7 +279,7 @@ export class Gateway {
279
279
  }
280
280
 
281
281
  async #proxyHttpOverNats(streamId, entry, client) {
282
- if (await Request(entry.n, "SYS_createConnection", [streamId])) {
282
+ if (await Request(entry.n, "$createConnection", [streamId])) {
283
283
  const ingress = await connection.subscribe(`gx2.stream.${streamId}.a`);
284
284
 
285
285
  client.on("data", (chunk) => connection.publishRaw(`gx2.stream.${streamId}.b`, chunk));