@naturalcycles/firestore-lib 2.14.0 → 2.14.1

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 FirestoreStreamReadable extends Readable {
53
53
  return;
54
54
  }
55
55
  if (this.paused) {
56
- this.logger.log(`_read #${this.countReads}, queryIsRunning: ${this.queryIsRunning}, unpausing stream`);
56
+ this.logger.debug(`_read #${this.countReads}, queryIsRunning: ${this.queryIsRunning}, unpausing stream`);
57
57
  this.paused = false;
58
58
  }
59
59
  if (this.queryIsRunning) {
@@ -125,7 +125,7 @@ export class FirestoreStreamReadable extends Readable {
125
125
  logger.debug(`${table} stream is already paused`);
126
126
  }
127
127
  else {
128
- logger.log(`${table} pausing the stream`);
128
+ logger.debug(`${table} pausing the stream`);
129
129
  this.paused = true;
130
130
  }
131
131
  }
package/package.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "engines": {
39
39
  "node": ">=24.10.0"
40
40
  },
41
- "version": "2.14.0",
41
+ "version": "2.14.1",
42
42
  "description": "Firestore implementation of CommonDB interface",
43
43
  "author": "Natural Cycles Team",
44
44
  "license": "MIT",
@@ -77,7 +77,7 @@ export class FirestoreStreamReadable<T extends ObjectWithId = any>
77
77
  }
78
78
 
79
79
  if (this.paused) {
80
- this.logger.log(
80
+ this.logger.debug(
81
81
  `_read #${this.countReads}, queryIsRunning: ${this.queryIsRunning}, unpausing stream`,
82
82
  )
83
83
  this.paused = false
@@ -166,7 +166,7 @@ export class FirestoreStreamReadable<T extends ObjectWithId = any>
166
166
  if (this.paused) {
167
167
  logger.debug(`${table} stream is already paused`)
168
168
  } else {
169
- logger.log(`${table} pausing the stream`)
169
+ logger.debug(`${table} pausing the stream`)
170
170
  this.paused = true
171
171
  }
172
172
  }