@fileverse-dev/formulajs 4.4.11-mod-99 → 4.4.11-mod-99-dune-sim-1
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/browser/formula.js +6 -2
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +45 -41
- package/lib/esm/crypto-constants.mjs +2 -1
- package/lib/esm/index.mjs +45 -41
- package/package.json +1 -1
package/lib/cjs/index.cjs
CHANGED
|
@@ -13141,7 +13141,8 @@ const SERVICES_API_KEY = {
|
|
|
13141
13141
|
Firefly: 'Firefly',
|
|
13142
13142
|
GnosisPay: 'GnosisPay',
|
|
13143
13143
|
Neynar: 'Neynar',
|
|
13144
|
-
Defillama: 'Defillama'
|
|
13144
|
+
Defillama: 'Defillama',
|
|
13145
|
+
DuneSim: 'DuneSim',
|
|
13145
13146
|
};
|
|
13146
13147
|
|
|
13147
13148
|
class ValidationError extends Error {
|
|
@@ -17347,46 +17348,49 @@ function initializeProxyMap() {
|
|
|
17347
17348
|
if (!PROXY_MAP) {
|
|
17348
17349
|
const fileverseProxyUrl = `${window.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`;
|
|
17349
17350
|
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17366
|
-
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
|
|
17370
|
-
|
|
17371
|
-
|
|
17372
|
-
|
|
17373
|
-
|
|
17374
|
-
|
|
17375
|
-
|
|
17376
|
-
|
|
17377
|
-
|
|
17378
|
-
|
|
17379
|
-
|
|
17380
|
-
|
|
17381
|
-
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
17387
|
-
|
|
17388
|
-
|
|
17389
|
-
}
|
|
17351
|
+
PROXY_MAP = {
|
|
17352
|
+
DuneSim: {
|
|
17353
|
+
url: fileverseProxyUrl,
|
|
17354
|
+
},
|
|
17355
|
+
Etherscan: {
|
|
17356
|
+
url: fileverseProxyUrl,
|
|
17357
|
+
removeParams: ['apikey']
|
|
17358
|
+
},
|
|
17359
|
+
Basescan: {
|
|
17360
|
+
url: fileverseProxyUrl,
|
|
17361
|
+
removeParams: ['apikey']
|
|
17362
|
+
},
|
|
17363
|
+
Gnosisscan: {
|
|
17364
|
+
url: fileverseProxyUrl,
|
|
17365
|
+
removeParams: ['apikey']
|
|
17366
|
+
},
|
|
17367
|
+
Coingecko: {
|
|
17368
|
+
url: fileverseProxyUrl,
|
|
17369
|
+
removeParams: ['apikey']
|
|
17370
|
+
},
|
|
17371
|
+
Firefly: {
|
|
17372
|
+
url: fileverseProxyUrl,
|
|
17373
|
+
removeParams: ['apikey']
|
|
17374
|
+
},
|
|
17375
|
+
Neynar: {
|
|
17376
|
+
url: fileverseProxyUrl,
|
|
17377
|
+
removeParams: ['api_key']
|
|
17378
|
+
},
|
|
17379
|
+
Safe: {
|
|
17380
|
+
url: fileverseProxyUrl,
|
|
17381
|
+
removeParams: ['api_key']
|
|
17382
|
+
},
|
|
17383
|
+
Defillama: {
|
|
17384
|
+
url: fileverseProxyUrl,
|
|
17385
|
+
removeParams: ['api_key']
|
|
17386
|
+
},
|
|
17387
|
+
GnosisPay: {
|
|
17388
|
+
url: fileverseProxyUrl,
|
|
17389
|
+
removeParams: ['api_key']
|
|
17390
|
+
},
|
|
17391
|
+
// Add more services as needed. It can be direct url instead of ENV variable
|
|
17392
|
+
// ANOTHER_SERVICE: "https://another-proxy-url.com"
|
|
17393
|
+
};
|
|
17390
17394
|
}
|
|
17391
17395
|
return PROXY_MAP;
|
|
17392
17396
|
}
|
package/lib/esm/index.mjs
CHANGED
|
@@ -13139,7 +13139,8 @@ const SERVICES_API_KEY = {
|
|
|
13139
13139
|
Firefly: 'Firefly',
|
|
13140
13140
|
GnosisPay: 'GnosisPay',
|
|
13141
13141
|
Neynar: 'Neynar',
|
|
13142
|
-
Defillama: 'Defillama'
|
|
13142
|
+
Defillama: 'Defillama',
|
|
13143
|
+
DuneSim: 'DuneSim',
|
|
13143
13144
|
};
|
|
13144
13145
|
|
|
13145
13146
|
class ValidationError extends Error {
|
|
@@ -17345,46 +17346,49 @@ function initializeProxyMap() {
|
|
|
17345
17346
|
if (!PROXY_MAP) {
|
|
17346
17347
|
const fileverseProxyUrl = `${window.NEXT_PUBLIC_PROXY_BASE_URL}/proxy`;
|
|
17347
17348
|
|
|
17348
|
-
|
|
17349
|
-
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17366
|
-
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
|
|
17370
|
-
|
|
17371
|
-
|
|
17372
|
-
|
|
17373
|
-
|
|
17374
|
-
|
|
17375
|
-
|
|
17376
|
-
|
|
17377
|
-
|
|
17378
|
-
|
|
17379
|
-
|
|
17380
|
-
|
|
17381
|
-
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
17387
|
-
}
|
|
17349
|
+
PROXY_MAP = {
|
|
17350
|
+
DuneSim: {
|
|
17351
|
+
url: fileverseProxyUrl,
|
|
17352
|
+
},
|
|
17353
|
+
Etherscan: {
|
|
17354
|
+
url: fileverseProxyUrl,
|
|
17355
|
+
removeParams: ['apikey']
|
|
17356
|
+
},
|
|
17357
|
+
Basescan: {
|
|
17358
|
+
url: fileverseProxyUrl,
|
|
17359
|
+
removeParams: ['apikey']
|
|
17360
|
+
},
|
|
17361
|
+
Gnosisscan: {
|
|
17362
|
+
url: fileverseProxyUrl,
|
|
17363
|
+
removeParams: ['apikey']
|
|
17364
|
+
},
|
|
17365
|
+
Coingecko: {
|
|
17366
|
+
url: fileverseProxyUrl,
|
|
17367
|
+
removeParams: ['apikey']
|
|
17368
|
+
},
|
|
17369
|
+
Firefly: {
|
|
17370
|
+
url: fileverseProxyUrl,
|
|
17371
|
+
removeParams: ['apikey']
|
|
17372
|
+
},
|
|
17373
|
+
Neynar: {
|
|
17374
|
+
url: fileverseProxyUrl,
|
|
17375
|
+
removeParams: ['api_key']
|
|
17376
|
+
},
|
|
17377
|
+
Safe: {
|
|
17378
|
+
url: fileverseProxyUrl,
|
|
17379
|
+
removeParams: ['api_key']
|
|
17380
|
+
},
|
|
17381
|
+
Defillama: {
|
|
17382
|
+
url: fileverseProxyUrl,
|
|
17383
|
+
removeParams: ['api_key']
|
|
17384
|
+
},
|
|
17385
|
+
GnosisPay: {
|
|
17386
|
+
url: fileverseProxyUrl,
|
|
17387
|
+
removeParams: ['api_key']
|
|
17388
|
+
},
|
|
17389
|
+
// Add more services as needed. It can be direct url instead of ENV variable
|
|
17390
|
+
// ANOTHER_SERVICE: "https://another-proxy-url.com"
|
|
17391
|
+
};
|
|
17388
17392
|
}
|
|
17389
17393
|
return PROXY_MAP;
|
|
17390
17394
|
}
|
package/package.json
CHANGED