@fileverse-dev/formulajs 4.4.11-mod-82 → 4.4.11-mod-83

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
@@ -13192,45 +13192,44 @@ class InvalidApiKeyError extends Error {
13192
13192
  let PROXY_MAP;
13193
13193
 
13194
13194
  function initializeProxyMap() {
13195
- console.log('initializeProxyMap', window.NEXT_PUBLIC_PROXY_BASE_URL);
13196
13195
  if (!PROXY_MAP) {
13197
13196
  const fileverseProxyUrl = `${window.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`;
13198
13197
 
13199
13198
  PROXY_MAP = {
13200
13199
  Etherscan: {
13201
- url: `${fileverseProxyUrl}/proxy`,
13200
+ url: fileverseProxyUrl,
13202
13201
  removeParams: ['apikey']
13203
13202
  },
13204
13203
  Basescan: {
13205
- url: `${fileverseProxyUrl}/proxy`,
13204
+ url: fileverseProxyUrl,
13206
13205
  removeParams: ['apikey']
13207
13206
  },
13208
13207
  Gnosisscan: {
13209
- url: `${fileverseProxyUrl}/proxy`,
13208
+ url: fileverseProxyUrl,
13210
13209
  removeParams: ['apikey']
13211
13210
  },
13212
13211
  Coingecko: {
13213
- url: `${fileverseProxyUrl}/proxy`,
13212
+ url: fileverseProxyUrl,
13214
13213
  removeParams: ['apikey']
13215
13214
  },
13216
13215
  Firefly: {
13217
- url: `${fileverseProxyUrl}/proxy`,
13216
+ url: fileverseProxyUrl,
13218
13217
  removeParams: ['apikey']
13219
13218
  },
13220
13219
  Neynar: {
13221
- url: `${fileverseProxyUrl}/proxy`,
13220
+ url: fileverseProxyUrl,
13222
13221
  removeParams: ['api_key']
13223
13222
  },
13224
13223
  Safe: {
13225
- url: `${fileverseProxyUrl}/proxy`,
13224
+ url: fileverseProxyUrl,
13226
13225
  removeParams: ['api_key']
13227
13226
  },
13228
13227
  Defillama: {
13229
- url: `${fileverseProxyUrl}/proxy`,
13228
+ url: fileverseProxyUrl,
13230
13229
  removeParams: ['api_key']
13231
13230
  },
13232
13231
  GnosisPay: {
13233
- url: `${fileverseProxyUrl}/proxy`,
13232
+ url: fileverseProxyUrl,
13234
13233
  removeParams: ['api_key']
13235
13234
  },
13236
13235
  // Add more services as needed. It can be direct url instead of ENV variable
@@ -13240,49 +13239,6 @@ function initializeProxyMap() {
13240
13239
  return PROXY_MAP;
13241
13240
  }
13242
13241
 
13243
- // const fileverseProxyUrl = `${window.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`
13244
- // // Proxy map configuration
13245
- // const PROXY_MAP = {
13246
- // Etherscan: {
13247
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13248
- // removeParams: ['apikey']
13249
- // },
13250
- // Basescan: {
13251
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13252
- // removeParams: ['apikey']
13253
- // },
13254
- // Gnosisscan: {
13255
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13256
- // removeParams: ['apikey']
13257
- // },
13258
- // Coingecko: {
13259
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13260
- // removeParams: ['apikey']
13261
- // },
13262
- // Firefly: {
13263
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13264
- // removeParams: ['apikey']
13265
- // },
13266
- // Neynar: {
13267
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13268
- // removeParams: ['api_key']
13269
- // },
13270
- // Safe: {
13271
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13272
- // removeParams: ['api_key']
13273
- // },
13274
- // Defillama: {
13275
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13276
- // removeParams: ['api_key']
13277
- // },
13278
- // GnosisPay: {
13279
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13280
- // removeParams: ['api_key']
13281
- // },
13282
- // // Add more services as needed. It can be direct url instead of ENV variable
13283
- // // ANOTHER_SERVICE: "https://another-proxy-url.com"
13284
- // };
13285
-
13286
13242
  /**
13287
13243
  * Removes specified parameters from a URL
13288
13244
  * @param {string} url - The original URL
package/lib/esm/index.mjs CHANGED
@@ -13190,45 +13190,44 @@ class InvalidApiKeyError extends Error {
13190
13190
  let PROXY_MAP;
13191
13191
 
13192
13192
  function initializeProxyMap() {
13193
- console.log('initializeProxyMap', window.NEXT_PUBLIC_PROXY_BASE_URL);
13194
13193
  if (!PROXY_MAP) {
13195
13194
  const fileverseProxyUrl = `${window.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`;
13196
13195
 
13197
13196
  PROXY_MAP = {
13198
13197
  Etherscan: {
13199
- url: `${fileverseProxyUrl}/proxy`,
13198
+ url: fileverseProxyUrl,
13200
13199
  removeParams: ['apikey']
13201
13200
  },
13202
13201
  Basescan: {
13203
- url: `${fileverseProxyUrl}/proxy`,
13202
+ url: fileverseProxyUrl,
13204
13203
  removeParams: ['apikey']
13205
13204
  },
13206
13205
  Gnosisscan: {
13207
- url: `${fileverseProxyUrl}/proxy`,
13206
+ url: fileverseProxyUrl,
13208
13207
  removeParams: ['apikey']
13209
13208
  },
13210
13209
  Coingecko: {
13211
- url: `${fileverseProxyUrl}/proxy`,
13210
+ url: fileverseProxyUrl,
13212
13211
  removeParams: ['apikey']
13213
13212
  },
13214
13213
  Firefly: {
13215
- url: `${fileverseProxyUrl}/proxy`,
13214
+ url: fileverseProxyUrl,
13216
13215
  removeParams: ['apikey']
13217
13216
  },
13218
13217
  Neynar: {
13219
- url: `${fileverseProxyUrl}/proxy`,
13218
+ url: fileverseProxyUrl,
13220
13219
  removeParams: ['api_key']
13221
13220
  },
13222
13221
  Safe: {
13223
- url: `${fileverseProxyUrl}/proxy`,
13222
+ url: fileverseProxyUrl,
13224
13223
  removeParams: ['api_key']
13225
13224
  },
13226
13225
  Defillama: {
13227
- url: `${fileverseProxyUrl}/proxy`,
13226
+ url: fileverseProxyUrl,
13228
13227
  removeParams: ['api_key']
13229
13228
  },
13230
13229
  GnosisPay: {
13231
- url: `${fileverseProxyUrl}/proxy`,
13230
+ url: fileverseProxyUrl,
13232
13231
  removeParams: ['api_key']
13233
13232
  },
13234
13233
  // Add more services as needed. It can be direct url instead of ENV variable
@@ -13238,49 +13237,6 @@ function initializeProxyMap() {
13238
13237
  return PROXY_MAP;
13239
13238
  }
13240
13239
 
13241
- // const fileverseProxyUrl = `${window.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`
13242
- // // Proxy map configuration
13243
- // const PROXY_MAP = {
13244
- // Etherscan: {
13245
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13246
- // removeParams: ['apikey']
13247
- // },
13248
- // Basescan: {
13249
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13250
- // removeParams: ['apikey']
13251
- // },
13252
- // Gnosisscan: {
13253
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13254
- // removeParams: ['apikey']
13255
- // },
13256
- // Coingecko: {
13257
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13258
- // removeParams: ['apikey']
13259
- // },
13260
- // Firefly: {
13261
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13262
- // removeParams: ['apikey']
13263
- // },
13264
- // Neynar: {
13265
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13266
- // removeParams: ['api_key']
13267
- // },
13268
- // Safe: {
13269
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13270
- // removeParams: ['api_key']
13271
- // },
13272
- // Defillama: {
13273
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13274
- // removeParams: ['api_key']
13275
- // },
13276
- // GnosisPay: {
13277
- // url: `${process.env.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`,
13278
- // removeParams: ['api_key']
13279
- // },
13280
- // // Add more services as needed. It can be direct url instead of ENV variable
13281
- // // ANOTHER_SERVICE: "https://another-proxy-url.com"
13282
- // };
13283
-
13284
13240
  /**
13285
13241
  * Removes specified parameters from a URL
13286
13242
  * @param {string} url - The original URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.11-mod-82",
3
+ "version": "4.4.11-mod-83",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {