@fileverse-dev/formulajs 4.4.11-mod-68-patch-2 → 4.4.11-mod-68-patch-3

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.
package/lib/cjs/index.cjs CHANGED
@@ -13255,7 +13255,7 @@ const fromTimeStampToBlock = async (timestamp, chain, apiKey) => {
13255
13255
  if (!timestamp || !chain || !apiKey) return
13256
13256
  const chainId = CHAIN_ID_MAP[chain];
13257
13257
  const url = `https://api.etherscan.io/v2/api?module=block&action=getblocknobytime&timestamp=${timestamp}&closest=before&apikey=${apiKey}&chainId=${chainId}`;
13258
- const { URL: finalUrl, HEADERS } = getUrlAndHeaders(url);
13258
+ const { URL: finalUrl, HEADERS } = getUrlAndHeaders({ url, serviceName: 'Etherscan', headers: {} });
13259
13259
  const res = await fetch(finalUrl, {
13260
13260
  method: 'GET',
13261
13261
  headers: HEADERS,
package/lib/esm/index.mjs CHANGED
@@ -13253,7 +13253,7 @@ const fromTimeStampToBlock = async (timestamp, chain, apiKey) => {
13253
13253
  if (!timestamp || !chain || !apiKey) return
13254
13254
  const chainId = CHAIN_ID_MAP[chain];
13255
13255
  const url = `https://api.etherscan.io/v2/api?module=block&action=getblocknobytime&timestamp=${timestamp}&closest=before&apikey=${apiKey}&chainId=${chainId}`;
13256
- const { URL: finalUrl, HEADERS } = getUrlAndHeaders(url);
13256
+ const { URL: finalUrl, HEADERS } = getUrlAndHeaders({ url, serviceName: 'Etherscan', headers: {} });
13257
13257
  const res = await fetch(finalUrl, {
13258
13258
  method: 'GET',
13259
13259
  headers: HEADERS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.11-mod-68-patch-2",
3
+ "version": "4.4.11-mod-68-patch-3",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {