geonix 1.8.2 → 1.8.3
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/package.json +1 -1
- package/src/Connection.js +2 -1
package/package.json
CHANGED
package/src/Connection.js
CHANGED
|
@@ -104,8 +104,9 @@ class Connection {
|
|
|
104
104
|
|
|
105
105
|
await this.#nc.publish(subject, payload)
|
|
106
106
|
|
|
107
|
+
let response
|
|
107
108
|
try {
|
|
108
|
-
|
|
109
|
+
response = await this.#nc.subscribe(respondTo, { max: 1, ...options })
|
|
109
110
|
} catch (e) {
|
|
110
111
|
console.debug('GxDebug -----')
|
|
111
112
|
console.log({ subject, json })
|