@nxtedition/lib 28.0.13 → 28.0.14

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/sequence.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "28.0.13",
3
+ "version": "28.0.14",
4
4
  "license": "UNLICENSED",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -92,5 +92,5 @@
92
92
  "pino": ">=7.0.0",
93
93
  "rxjs": "^7.0.0"
94
94
  },
95
- "gitHead": "ab3426c105b6b59a7a092a3a5ae1e563ea1253a4"
95
+ "gitHead": "aabc7444f25c786ad529697241c3e36ffa036143"
96
96
  }
package/sequence.js CHANGED
@@ -290,7 +290,9 @@ export class Sequence {
290
290
  this.#value !== '0' &&
291
291
  other.#value !== '0'
292
292
  ) {
293
- throw new Error('Cannot compare sequences with different identities')
293
+ throw Object.assign(new Error('Cannot compare sequences with different identities'), {
294
+ data: { a: this.toString(), b: other.toString() },
295
+ })
294
296
  }
295
297
 
296
298
  if (this.#parts.length !== other.#parts.length) {