bulltrackers-module 1.0.40 → 1.0.42

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.
@@ -1,3 +1,5 @@
1
+ const { FieldValue } = require('@google-cloud/firestore');
2
+
1
3
  /**
2
4
  * Fetches closing prices using header and proxy managers and stores them in Firestore.
3
5
  *
@@ -58,7 +60,7 @@ exports.fetchAndStorePrices = async (firestore, logger, headerManager, proxyMana
58
60
  });
59
61
 
60
62
  // Make the API request via the proxy manager
61
- const { response } = await proxyManager.fetch(config.etoroApiUrl, fetchOptions);
63
+ const response = await proxyManager.fetch(config.etoroApiUrl, fetchOptions);
62
64
 
63
65
  if (!response || typeof response.text !== 'function') {
64
66
  logger.log('ERROR', `[PriceFetcherHelpers] Invalid or incomplete response received`, { response });
@@ -1,3 +1,5 @@
1
+ const { FieldValue } = require('@google-cloud/firestore');
2
+
1
3
  /**
2
4
  * Fetches insights data using header and proxy managers and stores it in Firestore.
3
5
  *
@@ -1,3 +1,5 @@
1
+ const { FieldValue } = require('@google-cloud/firestore');
2
+
1
3
  /**
2
4
  * @fileoverview
3
5
  * Core logic for handling invalid speculator CIDs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulltrackers-module",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "description": "Helper Functions for Bulltrackers.",
5
5
  "main": "index.js",
6
6
  "files": [