@nxtedition/deepstream.io-client-js 24.0.14 → 24.0.15

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/deepstream.io-client-js",
3
- "version": "24.0.14",
3
+ "version": "24.0.15",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -226,11 +226,14 @@ class RecordHandler {
226
226
  }
227
227
  }
228
228
 
229
- async sync({ timeout, signal }) {
229
+ async sync(opts) {
230
230
  // TODO (fix): Sync pending? What about VOID state?
231
231
 
232
232
  let onAbort
233
233
 
234
+ const signal = opts?.signal
235
+ const timeout = opts?.timeout
236
+
234
237
  const signalPromise = signal
235
238
  ? new Promise((resolve, reject) => {
236
239
  onAbort = () => {