@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 +1 -1
- package/src/record/record.js +1 -1
package/package.json
CHANGED
package/src/record/record.js
CHANGED
|
@@ -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
|
|