@nxtedition/deepstream.io-client-js 31.0.20 → 31.0.22

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": "31.0.20",
3
+ "version": "31.0.22",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "type": "module",
@@ -412,10 +412,11 @@ class Record {
412
412
  parsedData = jsonPath.parse(data)
413
413
  } catch (err) {
414
414
  throw Object.assign(new Error('invalid data'), {
415
- name: this.name,
415
+ key: this.name,
416
416
  version,
417
417
  data,
418
- cause: err
418
+ length: data?.length,
419
+ cause: err,
419
420
  })
420
421
  }
421
422
  this._data = jsonPath.set(this._data, null, parsedData, true)