@naturalcycles/firestore-lib 2.14.1 → 2.14.2

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.
@@ -53,7 +53,7 @@ export class FirestoreShardedReadable extends Readable {
53
53
  // console.log(`_read called ${++this.count}, wasRunning: ${this.running}`) // debugging
54
54
  this.count++;
55
55
  if (this.done) {
56
- this.logger.log(`!!! _read was called, but done==true`);
56
+ this.logger.log(`!!! ${this.table} _read was called, but done==true`);
57
57
  return;
58
58
  }
59
59
  // const shard = this.getNextShardAndMove()
@@ -49,7 +49,7 @@ export class FirestoreStreamReadable extends Readable {
49
49
  // console.log(`_read called ${++this.count}, wasRunning: ${this.running}`) // debugging
50
50
  this.countReads++;
51
51
  if (this.done) {
52
- this.logger.warn(`!!! _read was called, but done==true`);
52
+ this.logger.warn(`!!! ${this.table} _read was called, but done==true`);
53
53
  return;
54
54
  }
55
55
  if (this.paused) {
package/package.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "engines": {
39
39
  "node": ">=24.10.0"
40
40
  },
41
- "version": "2.14.1",
41
+ "version": "2.14.2",
42
42
  "description": "Firestore implementation of CommonDB interface",
43
43
  "author": "Natural Cycles Team",
44
44
  "license": "MIT",
@@ -79,7 +79,7 @@ export class FirestoreShardedReadable<T extends ObjectWithId = any>
79
79
  this.count++
80
80
 
81
81
  if (this.done) {
82
- this.logger.log(`!!! _read was called, but done==true`)
82
+ this.logger.log(`!!! ${this.table} _read was called, but done==true`)
83
83
  return
84
84
  }
85
85
 
@@ -72,7 +72,7 @@ export class FirestoreStreamReadable<T extends ObjectWithId = any>
72
72
  this.countReads++
73
73
 
74
74
  if (this.done) {
75
- this.logger.warn(`!!! _read was called, but done==true`)
75
+ this.logger.warn(`!!! ${this.table} _read was called, but done==true`)
76
76
  return
77
77
  }
78
78