@nxtedition/lib 28.0.14 → 28.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/sequence.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "28.0.14",
3
+ "version": "28.0.15",
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": "aabc7444f25c786ad529697241c3e36ffa036143"
95
+ "gitHead": "94248f1ed504b65609a9e060335aaabd9d2a0da4"
96
96
  }
package/sequence.js CHANGED
@@ -287,8 +287,8 @@ export class Sequence {
287
287
  strict &&
288
288
  (other.identity || this.identity) &&
289
289
  other.identity !== this.identity &&
290
- this.#value !== '0' &&
291
- other.#value !== '0'
290
+ this.count !== 0 &&
291
+ other.count !== 0
292
292
  ) {
293
293
  throw Object.assign(new Error('Cannot compare sequences with different identities'), {
294
294
  data: { a: this.toString(), b: other.toString() },