@fileverse-dev/formulajs 4.4.11-mod-75 → 4.4.11-mod-76

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
@@ -13298,7 +13298,7 @@ function getUrlAndHeaders({ url, serviceName, headers = {} }) {
13298
13298
  }
13299
13299
 
13300
13300
  const fromTimeStampToBlock = async (timestamp, chain, apiKey) => {
13301
- if (!timestamp || !chain || !apiKey) return
13301
+ if (!timestamp || !chain) return
13302
13302
  const chainId = CHAIN_ID_MAP[chain];
13303
13303
  const url = `https://api.etherscan.io/v2/api?module=block&action=getblocknobytime&timestamp=${timestamp}&closest=before&apikey=${apiKey}&chainId=${chainId}`;
13304
13304
  const { URL: finalUrl, HEADERS } = getUrlAndHeaders({ url, serviceName: 'Etherscan', headers: {} });
package/lib/esm/index.mjs CHANGED
@@ -13296,7 +13296,7 @@ function getUrlAndHeaders({ url, serviceName, headers = {} }) {
13296
13296
  }
13297
13297
 
13298
13298
  const fromTimeStampToBlock = async (timestamp, chain, apiKey) => {
13299
- if (!timestamp || !chain || !apiKey) return
13299
+ if (!timestamp || !chain) return
13300
13300
  const chainId = CHAIN_ID_MAP[chain];
13301
13301
  const url = `https://api.etherscan.io/v2/api?module=block&action=getblocknobytime&timestamp=${timestamp}&closest=before&apikey=${apiKey}&chainId=${chainId}`;
13302
13302
  const { URL: finalUrl, HEADERS } = getUrlAndHeaders({ url, serviceName: 'Etherscan', headers: {} });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.11-mod-75",
3
+ "version": "4.4.11-mod-76",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {