@nxtedition/deepstream.io-client-js 24.1.17 → 24.1.18

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.1.17",
3
+ "version": "24.1.18",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -249,7 +249,7 @@ class Record {
249
249
  return Promise.resolve()
250
250
  }
251
251
 
252
- const options = args.at(-1) === 'object' ? args.pop() : null
252
+ const options = args.at(-1) != null && typeof args.at(-1) === 'object' ? args.pop() : null
253
253
  const path = args.length === 1 ? undefined : args[0]
254
254
  const updater = args.length === 1 ? args[0] : args[1]
255
255