bulltrackers-module 1.0.1 → 1.0.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.
@@ -188,7 +188,7 @@ async function dispatchDiscovery(userType, candidates, config) {
188
188
  topicName,
189
189
  dispatchBatchSize,
190
190
  pubsubBatchSize,
191
- pendingSpeculatorsCollection,
191
+ pendingSpecCollection, // <-- Change to singular
192
192
  pendingMaxFieldsPerDoc,
193
193
  pendingMaxWritesPerBatch
194
194
  } = config;
@@ -203,9 +203,9 @@ async function dispatchDiscovery(userType, candidates, config) {
203
203
  const cidsArray = Array.from(candidates);
204
204
 
205
205
  if (isSpeculator) {
206
- await firestoreUtils.clearCollection(pendingSpeculatorsCollection);
206
+ await firestoreUtils.clearCollection(pendingSpecCollection); // <-- Change to singular
207
207
  await firestoreUtils.batchWriteShardedIds(
208
- pendingSpeculatorsCollection,
208
+ pendingSpecCollection, // <-- And this line
209
209
  cidsArray,
210
210
  new Date(),
211
211
  pendingMaxFieldsPerDoc,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulltrackers-module",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Helper Functions for Bulltrackers.",
5
5
  "main": "index.js",
6
6
  "files": [