@fileverse-dev/formulajs 4.4.11-mod-38-patch-004 → 4.4.11-mod-40
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 +354 -434
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +28 -128
- package/lib/esm/crypto-constants.mjs +8 -102
- package/lib/esm/index.mjs +28 -125
- package/package.json +1 -2
- package/types/cjs/index.d.cts +14 -21
- package/types/esm/index.d.mts +14 -21
package/lib/esm/index.mjs
CHANGED
|
@@ -5616,35 +5616,6 @@ function ATANH(number) {
|
|
|
5616
5616
|
return result
|
|
5617
5617
|
}
|
|
5618
5618
|
|
|
5619
|
-
/**
|
|
5620
|
-
* Converts a number into a text representation with the given radix (base).
|
|
5621
|
-
*
|
|
5622
|
-
* Category: Math and trigonometry
|
|
5623
|
-
*
|
|
5624
|
-
* @param {*} number The number that you want to convert. Must be an integer greater than or equal to 0 and less than 2^53.
|
|
5625
|
-
* @param {*} radix The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.
|
|
5626
|
-
* @param {*} min_length Optional. The minimum length of the returned string. Must be an integer greater than or equal to 0.
|
|
5627
|
-
* @returns
|
|
5628
|
-
*/
|
|
5629
|
-
function BASE(number, radix, min_length) {
|
|
5630
|
-
number = parseNumber(number);
|
|
5631
|
-
radix = parseNumber(radix);
|
|
5632
|
-
min_length = parseNumber(min_length);
|
|
5633
|
-
const anyError$1 = anyError(number, radix, min_length);
|
|
5634
|
-
|
|
5635
|
-
if (anyError$1) {
|
|
5636
|
-
return anyError$1
|
|
5637
|
-
}
|
|
5638
|
-
|
|
5639
|
-
if (radix === 0) {
|
|
5640
|
-
return num
|
|
5641
|
-
}
|
|
5642
|
-
|
|
5643
|
-
const result = number.toString(radix);
|
|
5644
|
-
|
|
5645
|
-
return new Array(Math.max(min_length + 1 - result.length, 0)).join('0') + result
|
|
5646
|
-
}
|
|
5647
|
-
|
|
5648
5619
|
/**
|
|
5649
5620
|
* Rounds a number to the nearest integer or to the nearest multiple of significance.
|
|
5650
5621
|
*
|
|
@@ -13241,7 +13212,7 @@ if (scanKey === SERVICE_API_KEY.Gnosisscan) chainId = 'gnosis';
|
|
|
13241
13212
|
}
|
|
13242
13213
|
}
|
|
13243
13214
|
|
|
13244
|
-
async function FIREFLY() {
|
|
13215
|
+
async function FIREFLY(platform, contentType, identifier, start = 0, end = 10) {
|
|
13245
13216
|
const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Firefly);
|
|
13246
13217
|
if (!API_KEY) return `${SERVICE_API_KEY.Firefly}${ERROR_MESSAGES_FLAG.MISSING_KEY}`;
|
|
13247
13218
|
|
|
@@ -13260,9 +13231,6 @@ async function FIREFLY() {
|
|
|
13260
13231
|
}
|
|
13261
13232
|
};
|
|
13262
13233
|
|
|
13263
|
-
|
|
13264
|
-
const [platform, contentType, identifier, start = 0, end = 10] = argsToArray(arguments);
|
|
13265
|
-
|
|
13266
13234
|
const platformType = typeMap[platform]?.[contentType];
|
|
13267
13235
|
if (!platformType) return `${SERVICE_API_KEY.Firefly}${ERROR_MESSAGES_FLAG.INVALID_TYPE}`;
|
|
13268
13236
|
|
|
@@ -13306,21 +13274,7 @@ async function FIREFLY() {
|
|
|
13306
13274
|
|
|
13307
13275
|
|
|
13308
13276
|
|
|
13309
|
-
function BLOCKSCOUT
|
|
13310
|
-
console.log("HUMBLE");
|
|
13311
|
-
let args = argsToArray(arguments);
|
|
13312
|
-
|
|
13313
|
-
return JSON.stringify({
|
|
13314
|
-
args,
|
|
13315
|
-
name: "_BLOCKSCOUT"
|
|
13316
|
-
})
|
|
13317
|
-
}
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
async function _BLOCKSCOUT(address, type, chain, startTimestamp, endTimestamp, page, offset) {
|
|
13277
|
+
async function BLOCKSCOUT(address, type, chain, startTimestamp, endTimestamp, page, offset) {
|
|
13324
13278
|
if (!chain) {
|
|
13325
13279
|
chain = 'ethereum';
|
|
13326
13280
|
}
|
|
@@ -13329,8 +13283,6 @@ async function _BLOCKSCOUT(address, type, chain, startTimestamp, endTimestamp, p
|
|
|
13329
13283
|
return 'TYPE_MISSING'
|
|
13330
13284
|
}
|
|
13331
13285
|
|
|
13332
|
-
// let [] = utils.argsToArray(arguments)
|
|
13333
|
-
|
|
13334
13286
|
if (!startTimestamp) {
|
|
13335
13287
|
const currentTimestamp = Date.now();
|
|
13336
13288
|
startTimestamp = currentTimestamp - 30 * 24 * 60 * 60 * 1000;
|
|
@@ -13407,23 +13359,8 @@ async function _BLOCKSCOUT(address, type, chain, startTimestamp, endTimestamp, p
|
|
|
13407
13359
|
return 'ERROR IN FETCHING'
|
|
13408
13360
|
}
|
|
13409
13361
|
}
|
|
13410
|
-
|
|
13411
|
-
|
|
13412
|
-
const [type, chain, address, startDate, endDate, page, limit] = argsToArray(arguments);
|
|
13413
|
-
return handleScanRequest({
|
|
13414
|
-
scanKey: SERVICE_API_KEY.Basescan,
|
|
13415
|
-
baseUrl: 'https://api.basescan.org/api',
|
|
13416
|
-
type,
|
|
13417
|
-
chain,
|
|
13418
|
-
address,
|
|
13419
|
-
startDate,
|
|
13420
|
-
endDate,
|
|
13421
|
-
page,
|
|
13422
|
-
offset:limit
|
|
13423
|
-
});
|
|
13424
|
-
}
|
|
13425
|
-
async function GNOSISSCAN() {
|
|
13426
|
-
const [type, chain, address, startDate, endDate, page, limit] = argsToArray(arguments);
|
|
13362
|
+
async function GNOSIS(...args) {
|
|
13363
|
+
const [type, chain, address, startDate, endDate, page, limit] = args;
|
|
13427
13364
|
return handleScanRequest({
|
|
13428
13365
|
scanKey: SERVICE_API_KEY.Gnosisscan,
|
|
13429
13366
|
baseUrl: 'https://api.gnosisscan.io/api',
|
|
@@ -13432,24 +13369,22 @@ async function GNOSISSCAN() {
|
|
|
13432
13369
|
address,
|
|
13433
13370
|
startDate,
|
|
13434
13371
|
endDate,
|
|
13435
|
-
page,
|
|
13372
|
+
page,
|
|
13436
13373
|
offset:limit
|
|
13437
13374
|
});
|
|
13438
13375
|
}
|
|
13439
13376
|
|
|
13440
|
-
async function NEYNAR(
|
|
13441
|
-
|
|
13377
|
+
async function NEYNAR(
|
|
13378
|
+
fid,
|
|
13379
|
+
viewerFid,
|
|
13380
|
+
sortType,
|
|
13381
|
+
limit,
|
|
13382
|
+
cursor
|
|
13442
13383
|
) {
|
|
13443
13384
|
const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Neynar);
|
|
13444
13385
|
if (!API_KEY) return `${SERVICE_API_KEY.Neynar}${ERROR_MESSAGES_FLAG.MISSING_KEY}`;
|
|
13445
13386
|
|
|
13446
|
-
|
|
13447
|
-
fid,
|
|
13448
|
-
viewerFid,
|
|
13449
|
-
sortType,
|
|
13450
|
-
limit,
|
|
13451
|
-
cursor
|
|
13452
|
-
] = argsToArray(arguments);
|
|
13387
|
+
|
|
13453
13388
|
const url = new URL('https://api.neynar.com/v2/farcaster/followers');
|
|
13454
13389
|
url.searchParams.set('fid', fid.toString());
|
|
13455
13390
|
url.searchParams.set('sort_type', sortType);
|
|
@@ -13480,22 +13415,18 @@ const [
|
|
|
13480
13415
|
return ERROR_MESSAGES_FLAG.DEFAULT;
|
|
13481
13416
|
}
|
|
13482
13417
|
}
|
|
13483
|
-
async function GNOSISPAY(
|
|
13484
|
-
|
|
13485
|
-
|
|
13418
|
+
async function GNOSISPAY({
|
|
13419
|
+
cardId,
|
|
13420
|
+
startDate,
|
|
13421
|
+
endDate,
|
|
13422
|
+
limit = 20,
|
|
13423
|
+
offset = 0,
|
|
13424
|
+
}) {
|
|
13486
13425
|
const apiKeyKey = SERVICE_API_KEY.GnosisPay;
|
|
13487
13426
|
const API_KEY = window.localStorage.getItem(apiKeyKey);
|
|
13488
13427
|
if (!API_KEY) return `${apiKeyKey}${ERROR_MESSAGES_FLAG.MISSING_KEY}`;
|
|
13489
13428
|
if (!cardId) return `${apiKeyKey}${ERROR_MESSAGES_FLAG.INVALID_PARAM}`;
|
|
13490
13429
|
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
const [ cardId,
|
|
13494
|
-
startDate,
|
|
13495
|
-
endDate,
|
|
13496
|
-
limit = 20,
|
|
13497
|
-
offset = 0] = argsToArray(arguments);
|
|
13498
|
-
|
|
13499
13430
|
const url = new URL(`https://api.gnosispay.com/cards/${cardId}/transactions`);
|
|
13500
13431
|
url.searchParams.set('limit', limit.toString());
|
|
13501
13432
|
url.searchParams.set('offset', offset.toString());
|
|
@@ -13544,8 +13475,8 @@ async function GNOSISPAY(
|
|
|
13544
13475
|
|
|
13545
13476
|
|
|
13546
13477
|
|
|
13547
|
-
async function ETHERSCAN() {
|
|
13548
|
-
const [type, chain, address, startDate, endDate, page, limit] =
|
|
13478
|
+
async function ETHERSCAN(...args) {
|
|
13479
|
+
const [type, chain, address, startDate, endDate, page, limit] = args;
|
|
13549
13480
|
return handleScanRequest({
|
|
13550
13481
|
scanKey: SERVICE_API_KEY.Etherscan,
|
|
13551
13482
|
baseUrl: 'https://api.etherscan.io/v2/api',
|
|
@@ -13554,13 +13485,13 @@ async function ETHERSCAN() {
|
|
|
13554
13485
|
address,
|
|
13555
13486
|
startDate,
|
|
13556
13487
|
endDate,
|
|
13557
|
-
page,
|
|
13488
|
+
page,
|
|
13558
13489
|
offset:limit
|
|
13559
13490
|
});
|
|
13560
13491
|
}
|
|
13561
13492
|
|
|
13562
13493
|
|
|
13563
|
-
async function COINGECKO() {
|
|
13494
|
+
async function COINGECKO(category, param1, param2, page = 1, perPage = 2) {
|
|
13564
13495
|
const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Coingecko);
|
|
13565
13496
|
if (!API_KEY) return `${SERVICE_API_KEY.Coingecko}${ERROR_MESSAGES_FLAG.MISSING_KEY}`;
|
|
13566
13497
|
|
|
@@ -13570,7 +13501,6 @@ async function COINGECKO() {
|
|
|
13570
13501
|
};
|
|
13571
13502
|
|
|
13572
13503
|
let url = '';
|
|
13573
|
-
const [category, param1, param2, page = 1, perPage = 2 ] = argsToArray(arguments);
|
|
13574
13504
|
const lowerCategory = (category || '').toLowerCase();
|
|
13575
13505
|
|
|
13576
13506
|
switch (lowerCategory) {
|
|
@@ -13676,11 +13606,7 @@ async function COINGECKO() {
|
|
|
13676
13606
|
|
|
13677
13607
|
|
|
13678
13608
|
|
|
13679
|
-
async function EOA(
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
const [
|
|
13609
|
+
async function EOA(
|
|
13684
13610
|
addresses,
|
|
13685
13611
|
category,
|
|
13686
13612
|
chains,
|
|
@@ -13688,29 +13614,11 @@ async function EOA() {
|
|
|
13688
13614
|
endTime,
|
|
13689
13615
|
page = 1,
|
|
13690
13616
|
offset = 10,
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
const someError = anyError(addresses, category, chains, startTime, endTime, page, offset);
|
|
13694
|
-
|
|
13695
|
-
if (someError) {
|
|
13696
|
-
return someError
|
|
13697
|
-
}
|
|
13698
|
-
|
|
13699
|
-
|
|
13617
|
+
) {
|
|
13700
13618
|
const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Etherscan);
|
|
13701
13619
|
if (!API_KEY) return `${SERVICE_API_KEY.Etherscan}${ERROR_MESSAGES_FLAG.MISSING_KEY}`;
|
|
13702
13620
|
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
let INPUTS;
|
|
13706
|
-
|
|
13707
|
-
if(typeof addresses === 'string'){
|
|
13708
|
-
INPUTS = addresses.split(",").map(a => a.trim()).filter(Boolean);
|
|
13709
|
-
} else if (typeof addresses === 'object'){
|
|
13710
|
-
INPUTS = addresses;
|
|
13711
|
-
}
|
|
13712
|
-
|
|
13713
|
-
|
|
13621
|
+
const INPUTS = addresses.split(",").map(a => a.trim()).filter(Boolean);
|
|
13714
13622
|
const CHAINS = chains.split(",").map(c => c.trim()).filter(Boolean);
|
|
13715
13623
|
const out = [];
|
|
13716
13624
|
|
|
@@ -13822,12 +13730,7 @@ async function FLVURL(token, vs_currencies) {
|
|
|
13822
13730
|
});
|
|
13823
13731
|
}
|
|
13824
13732
|
|
|
13825
|
-
async function SAFE() {
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
let [address, utility, chain, limit, offset] = argsToArray(arguments);
|
|
13733
|
+
async function SAFE(address, utility, chain, limit, offset) {
|
|
13831
13734
|
|
|
13832
13735
|
if (typeof limit !== 'number' || limit < 0) return 'INVALID_LIMIT';
|
|
13833
13736
|
if (typeof offset !== 'number' || offset < 0) return 'INVALID_OFFSET';
|
|
@@ -13871,4 +13774,4 @@ async function SAFE() {
|
|
|
13871
13774
|
|
|
13872
13775
|
const utils = { errors, symbols, date };
|
|
13873
13776
|
|
|
13874
|
-
export { ABS, ACCRINT, ACOS, ACOSH, ACOT, ACOTH, AGGREGATE, AND, ARABIC, ASIN, ASINH, ATAN, ATAN2, ATANH, AVEDEV, AVERAGE, AVERAGEA, AVERAGEIF, AVERAGEIFS,
|
|
13777
|
+
export { ABS, ACCRINT, ACOS, ACOSH, ACOT, ACOTH, AGGREGATE, AND, ARABIC, ASIN, ASINH, ATAN, ATAN2, ATANH, AVEDEV, AVERAGE, AVERAGEA, AVERAGEIF, AVERAGEIFS, BESSELI, BESSELJ, BESSELK, BESSELY, BETA, BETADIST, BETAINV, BIN2DEC, BIN2HEX, BIN2OCT, BINOM, BINOMDIST, BITAND, BITLSHIFT, BITOR, BITRSHIFT, BITXOR, BLOCKSCOUT, CEILING, CEILINGMATH, CEILINGPRECISE, CHAR, CHIDIST, CHIDISTRT, CHIINV, CHIINVRT, CHISQ, CHITEST, CHOOSE, CLEAN, CODE, COINGECKO, COLUMN, COLUMNS, COMBIN, COMBINA, COMPLEX, CONCAT, CONCATENATE, CONFIDENCE, CONVERT, CORREL, COS, COSH, COT, COTH, COUNT, COUNTA, COUNTBLANK, COUNTIF, COUNTIFS, COUPDAYS, COVAR, COVARIANCE, COVARIANCEP, COVARIANCES, CRITBINOM, CSC, CSCH, CUMIPMT, CUMPRINC, DATE, DATEDIF, DATEVALUE, DAVERAGE, DAY, DAYS, DAYS360, DB, DCOUNT, DCOUNTA, DDB, DEC2BIN, DEC2HEX, DEC2OCT, DECIMAL, DEGREES, DELTA, DEVSQ, DGET, DISC, DMAX, DMIN, DOLLAR, DOLLARDE, DOLLARFR, DPRODUCT, DSTDEV, DSTDEVP, DSUM, DVAR, DVARP, EDATE, EFFECT, EOA, EOMONTH, ERF, ERFC, ERFCPRECISE, ERFPRECISE, ERROR, ETHERSCAN, EVEN, EXACT, EXP, EXPON, EXPONDIST, F, FACT, FACTDOUBLE, FALSE, FDIST, FDISTRT, FIND, FINV, FINVRT, FIREFLY, FISHER, FISHERINV, FIXED, FLOOR, FLOORMATH, FLOORPRECISE, FLVURL, FORECAST, FREQUENCY, FTEST, FV, FVSCHEDULE, GAMMA, GAMMADIST, GAMMAINV, GAMMALN, GAMMALNPRECISE, GAUSS, GCD, GEOMEAN, GESTEP, GNOSIS, GNOSISPAY, GROWTH, HARMEAN, HEX2BIN, HEX2DEC, HEX2OCT, HLOOKUP, HOUR, HYPGEOM, HYPGEOMDIST, IF, IFERROR, IFNA, IFS, IMABS, IMAGINARY, IMARGUMENT, IMCONJUGATE, IMCOS, IMCOSH, IMCOT, IMCSC, IMCSCH, IMDIV, IMEXP, IMLN, IMLOG10, IMLOG2, IMPOWER, IMPRODUCT, IMREAL, IMSEC, IMSECH, IMSIN, IMSINH, IMSQRT, IMSUB, IMSUM, IMTAN, INDEX, INT, INTERCEPT, IPMT, IRR, ISBLANK, ISDATE, ISERR, ISERROR, ISEVEN, ISLOGICAL, ISNA, ISNONTEXT, ISNUMBER, ISO, ISODD, ISOWEEKNUM, ISPMT, ISTEXT, KURT, LARGE, LCM, LEFT, LEN, LINEST, LN, LOG, LOG10, LOGEST, LOGINV, LOGNORM, LOGNORMDIST, LOGNORMINV, LOOKUP, LOWER, MATCH, MAX, MAXA, MAXIFS, MEDIAN, MID, MIN, MINA, MINIFS, MINUTE, MIRR, MMULT, MOD, MODE, MODEMULT, MODESNGL, MONTH, MROUND, MULTINOMIAL, MUNIT, N, NA, NEGBINOM, NEGBINOMDIST, NETWORKDAYS, NETWORKDAYSINTL, NETWORKDAYS_INTL, NEYNAR, NOMINAL, NORM, NORMDIST, NORMINV, NORMSDIST, NORMSINV, NOT, NOW, NPER, NPV, NUMBERVALUE, OCT2BIN, OCT2DEC, OCT2HEX, ODD, OR, PDURATION, PEARSON, PERCENTILE, PERCENTILEEXC, PERCENTILEINC, PERCENTRANK, PERCENTRANKEXC, PERCENTRANKINC, PERMUT, PERMUTATIONA, PHI, PI, PMT, PNL, POISSON, POISSONDIST, POWER, PPMT, PRICEDISC, PROB, PRODUCT, PROPER, PV, QUARTILE, QUARTILEEXC, QUARTILEINC, QUOTIENT, RADIANS, RAND, RANDBETWEEN, RANK, RANKAVG, RANKEQ, RATE, REPLACE, REPT, RIGHT, ROMAN, ROUND, ROUNDDOWN, ROUNDUP, ROW, ROWS, RRI, RSQ, SAFE, SEARCH, SEC, SECH, SECOND, SERIESSUM, SIGN, SIN, SINH, SKEW, SKEWP, SLN, SLOPE, SMALL, SORT, SQRT, SQRTPI, STANDARDIZE, STDEV, STDEVA, STDEVP, STDEVPA, STDEVS, STEYX, SUBSTITUTE, SUBTOTAL, SUM, SUMIF, SUMIFS, SUMPRODUCT, SUMSQ, SUMX2MY2, SUMX2PY2, SUMXMY2, SWITCH, SYD, T, TAN, TANH, TBILLEQ, TBILLPRICE, TBILLYIELD, TDIST, TDISTRT, TEXT, TEXTJOIN, TIME, TIMEVALUE, TINV, TODAY, TRANSPOSE, TREND, TRIM, TRIMMEAN, TRUE, TRUNC, TTEST, TYPE, UNICHAR, UNICODE, UNIQUE, UPPER, VALUE, VAR, VARA, VARP, VARPA, VARS, VLOOKUP, WEEKDAY, WEEKNUM, WEIBULL, WEIBULLDIST, WORKDAY, WORKDAYINTL, WORKDAY_INTL, XIRR, XNPV, XOR, YEAR, YEARFRAC, Z, ZTEST, utils };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/formulajs",
|
|
3
|
-
"version": "4.4.11-mod-
|
|
3
|
+
"version": "4.4.11-mod-40",
|
|
4
4
|
"description": "JavaScript implementation of most Microsoft Excel formula functions",
|
|
5
5
|
"author": "Formulajs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"types": "tsc"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@fileverse-dev/formulajs": "^4.4.11-mod-23",
|
|
63
62
|
"bessel": "^1.0.2",
|
|
64
63
|
"esbuild": "^0.25.4",
|
|
65
64
|
"js-sha3": "^0.9.3",
|
package/types/cjs/index.d.cts
CHANGED
|
@@ -181,18 +181,6 @@ export function AVERAGEIF(range: any, criteria: any, average_range: any, ...args
|
|
|
181
181
|
* @returns
|
|
182
182
|
*/
|
|
183
183
|
export function AVERAGEIFS(...args: any[]): number;
|
|
184
|
-
/**
|
|
185
|
-
* Converts a number into a text representation with the given radix (base).
|
|
186
|
-
*
|
|
187
|
-
* Category: Math and trigonometry
|
|
188
|
-
*
|
|
189
|
-
* @param {*} number The number that you want to convert. Must be an integer greater than or equal to 0 and less than 2^53.
|
|
190
|
-
* @param {*} radix The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.
|
|
191
|
-
* @param {*} min_length Optional. The minimum length of the returned string. Must be an integer greater than or equal to 0.
|
|
192
|
-
* @returns
|
|
193
|
-
*/
|
|
194
|
-
export function BASE(number: any, radix: any, min_length: any): any;
|
|
195
|
-
export function BASESCAN(...args: any[]): Promise<any>;
|
|
196
184
|
/**
|
|
197
185
|
* Returns the modified Bessel function In(x).
|
|
198
186
|
*
|
|
@@ -420,7 +408,7 @@ export function BITRSHIFT(number: any, shift_amount: any): number | Error;
|
|
|
420
408
|
* @returns
|
|
421
409
|
*/
|
|
422
410
|
export function BITXOR(number1: any, number2: any): number | Error;
|
|
423
|
-
export function BLOCKSCOUT(
|
|
411
|
+
export function BLOCKSCOUT(address: any, type: any, chain: any, startTimestamp: any, endTimestamp: any, page: any, offset: any): Promise<any>;
|
|
424
412
|
/**
|
|
425
413
|
* Rounds a number to the nearest integer or to the nearest multiple of significance.
|
|
426
414
|
*
|
|
@@ -626,7 +614,7 @@ export function CLEAN(text: any): any;
|
|
|
626
614
|
* @returns
|
|
627
615
|
*/
|
|
628
616
|
export function CODE(text: any): any;
|
|
629
|
-
export function COINGECKO(
|
|
617
|
+
export function COINGECKO(category: any, param1: any, param2: any, page?: number, perPage?: number): Promise<string | {}[]>;
|
|
630
618
|
/**
|
|
631
619
|
* Returns the column number of a reference.
|
|
632
620
|
*
|
|
@@ -1296,7 +1284,7 @@ export function EDATE(start_date: any, months: any): any;
|
|
|
1296
1284
|
* @returns
|
|
1297
1285
|
*/
|
|
1298
1286
|
export function EFFECT(nominal_rate: any, npery: any): number | Error;
|
|
1299
|
-
export function EOA(
|
|
1287
|
+
export function EOA(addresses: any, category: any, chains: any, startTime: any, endTime: any, page?: number, offset?: number): Promise<any>;
|
|
1300
1288
|
/**
|
|
1301
1289
|
* Returns the serial number of the last day of the month before or after a specified number of months.
|
|
1302
1290
|
*
|
|
@@ -1529,7 +1517,7 @@ export namespace FINV { }
|
|
|
1529
1517
|
* @returns
|
|
1530
1518
|
*/
|
|
1531
1519
|
export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
|
|
1532
|
-
export function FIREFLY(
|
|
1520
|
+
export function FIREFLY(platform: any, contentType: any, identifier: any, start?: number, end?: number): Promise<any>;
|
|
1533
1521
|
/**
|
|
1534
1522
|
* Returns the Fisher transformation.
|
|
1535
1523
|
*
|
|
@@ -1791,7 +1779,14 @@ export function GEOMEAN(...args: any[]): any;
|
|
|
1791
1779
|
* @returns
|
|
1792
1780
|
*/
|
|
1793
1781
|
export function GESTEP(number: any, step: any): any;
|
|
1794
|
-
export function
|
|
1782
|
+
export function GNOSIS(...args: any[]): Promise<any>;
|
|
1783
|
+
export function GNOSISPAY({ cardId, startDate, endDate, limit, offset, }: {
|
|
1784
|
+
cardId: any;
|
|
1785
|
+
startDate: any;
|
|
1786
|
+
endDate: any;
|
|
1787
|
+
limit?: number;
|
|
1788
|
+
offset?: number;
|
|
1789
|
+
}): Promise<string | {
|
|
1795
1790
|
createdAt: any;
|
|
1796
1791
|
clearedAt: any;
|
|
1797
1792
|
country: any;
|
|
@@ -1805,7 +1800,6 @@ export function GNOSISPAY(...args: any[]): Promise<string | {
|
|
|
1805
1800
|
status: any;
|
|
1806
1801
|
mcc: any;
|
|
1807
1802
|
}[]>;
|
|
1808
|
-
export function GNOSISSCAN(...args: any[]): Promise<any>;
|
|
1809
1803
|
/**
|
|
1810
1804
|
* Returns values along an exponential trend.
|
|
1811
1805
|
*
|
|
@@ -2835,7 +2829,7 @@ export function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, ho
|
|
|
2835
2829
|
* @returns
|
|
2836
2830
|
*/
|
|
2837
2831
|
export function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
|
|
2838
|
-
export function NEYNAR(
|
|
2832
|
+
export function NEYNAR(fid: any, viewerFid: any, sortType: any, limit: any, cursor: any): Promise<any>;
|
|
2839
2833
|
/**
|
|
2840
2834
|
* Returns the annual nominal interest rate.
|
|
2841
2835
|
*
|
|
@@ -3547,7 +3541,7 @@ export function RRI(nper: any, pv: any, fv: any): number | Error;
|
|
|
3547
3541
|
* @returns
|
|
3548
3542
|
*/
|
|
3549
3543
|
export function RSQ(known_y: any, known_x: any): number | Error;
|
|
3550
|
-
export function SAFE(
|
|
3544
|
+
export function SAFE(address: any, utility: any, chain: any, limit: any, offset: any): Promise<any>;
|
|
3551
3545
|
/**
|
|
3552
3546
|
* Finds one text value within another (not case-sensitive)
|
|
3553
3547
|
*
|
|
@@ -4472,7 +4466,6 @@ export namespace Z {
|
|
|
4472
4466
|
* @returns
|
|
4473
4467
|
*/
|
|
4474
4468
|
export function ZTEST(array: any, x: any, sigma: any): number | Error;
|
|
4475
|
-
export function _BLOCKSCOUT(address: any, type: any, chain: any, startTimestamp: any, endTimestamp: any, page: any, offset: any): Promise<any>;
|
|
4476
4469
|
export namespace utils {
|
|
4477
4470
|
export { errors };
|
|
4478
4471
|
export { symbols };
|
package/types/esm/index.d.mts
CHANGED
|
@@ -181,18 +181,6 @@ export function AVERAGEIF(range: any, criteria: any, average_range: any, ...args
|
|
|
181
181
|
* @returns
|
|
182
182
|
*/
|
|
183
183
|
export function AVERAGEIFS(...args: any[]): number;
|
|
184
|
-
/**
|
|
185
|
-
* Converts a number into a text representation with the given radix (base).
|
|
186
|
-
*
|
|
187
|
-
* Category: Math and trigonometry
|
|
188
|
-
*
|
|
189
|
-
* @param {*} number The number that you want to convert. Must be an integer greater than or equal to 0 and less than 2^53.
|
|
190
|
-
* @param {*} radix The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.
|
|
191
|
-
* @param {*} min_length Optional. The minimum length of the returned string. Must be an integer greater than or equal to 0.
|
|
192
|
-
* @returns
|
|
193
|
-
*/
|
|
194
|
-
export function BASE(number: any, radix: any, min_length: any): any;
|
|
195
|
-
export function BASESCAN(...args: any[]): Promise<any>;
|
|
196
184
|
/**
|
|
197
185
|
* Returns the modified Bessel function In(x).
|
|
198
186
|
*
|
|
@@ -420,7 +408,7 @@ export function BITRSHIFT(number: any, shift_amount: any): number | Error;
|
|
|
420
408
|
* @returns
|
|
421
409
|
*/
|
|
422
410
|
export function BITXOR(number1: any, number2: any): number | Error;
|
|
423
|
-
export function BLOCKSCOUT(
|
|
411
|
+
export function BLOCKSCOUT(address: any, type: any, chain: any, startTimestamp: any, endTimestamp: any, page: any, offset: any): Promise<any>;
|
|
424
412
|
/**
|
|
425
413
|
* Rounds a number to the nearest integer or to the nearest multiple of significance.
|
|
426
414
|
*
|
|
@@ -626,7 +614,7 @@ export function CLEAN(text: any): any;
|
|
|
626
614
|
* @returns
|
|
627
615
|
*/
|
|
628
616
|
export function CODE(text: any): any;
|
|
629
|
-
export function COINGECKO(
|
|
617
|
+
export function COINGECKO(category: any, param1: any, param2: any, page?: number, perPage?: number): Promise<string | {}[]>;
|
|
630
618
|
/**
|
|
631
619
|
* Returns the column number of a reference.
|
|
632
620
|
*
|
|
@@ -1296,7 +1284,7 @@ export function EDATE(start_date: any, months: any): any;
|
|
|
1296
1284
|
* @returns
|
|
1297
1285
|
*/
|
|
1298
1286
|
export function EFFECT(nominal_rate: any, npery: any): number | Error;
|
|
1299
|
-
export function EOA(
|
|
1287
|
+
export function EOA(addresses: any, category: any, chains: any, startTime: any, endTime: any, page?: number, offset?: number): Promise<any>;
|
|
1300
1288
|
/**
|
|
1301
1289
|
* Returns the serial number of the last day of the month before or after a specified number of months.
|
|
1302
1290
|
*
|
|
@@ -1529,7 +1517,7 @@ export namespace FINV { }
|
|
|
1529
1517
|
* @returns
|
|
1530
1518
|
*/
|
|
1531
1519
|
export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
|
|
1532
|
-
export function FIREFLY(
|
|
1520
|
+
export function FIREFLY(platform: any, contentType: any, identifier: any, start?: number, end?: number): Promise<any>;
|
|
1533
1521
|
/**
|
|
1534
1522
|
* Returns the Fisher transformation.
|
|
1535
1523
|
*
|
|
@@ -1791,7 +1779,14 @@ export function GEOMEAN(...args: any[]): any;
|
|
|
1791
1779
|
* @returns
|
|
1792
1780
|
*/
|
|
1793
1781
|
export function GESTEP(number: any, step: any): any;
|
|
1794
|
-
export function
|
|
1782
|
+
export function GNOSIS(...args: any[]): Promise<any>;
|
|
1783
|
+
export function GNOSISPAY({ cardId, startDate, endDate, limit, offset, }: {
|
|
1784
|
+
cardId: any;
|
|
1785
|
+
startDate: any;
|
|
1786
|
+
endDate: any;
|
|
1787
|
+
limit?: number;
|
|
1788
|
+
offset?: number;
|
|
1789
|
+
}): Promise<string | {
|
|
1795
1790
|
createdAt: any;
|
|
1796
1791
|
clearedAt: any;
|
|
1797
1792
|
country: any;
|
|
@@ -1805,7 +1800,6 @@ export function GNOSISPAY(...args: any[]): Promise<string | {
|
|
|
1805
1800
|
status: any;
|
|
1806
1801
|
mcc: any;
|
|
1807
1802
|
}[]>;
|
|
1808
|
-
export function GNOSISSCAN(...args: any[]): Promise<any>;
|
|
1809
1803
|
/**
|
|
1810
1804
|
* Returns values along an exponential trend.
|
|
1811
1805
|
*
|
|
@@ -2835,7 +2829,7 @@ export function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, ho
|
|
|
2835
2829
|
* @returns
|
|
2836
2830
|
*/
|
|
2837
2831
|
export function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
|
|
2838
|
-
export function NEYNAR(
|
|
2832
|
+
export function NEYNAR(fid: any, viewerFid: any, sortType: any, limit: any, cursor: any): Promise<any>;
|
|
2839
2833
|
/**
|
|
2840
2834
|
* Returns the annual nominal interest rate.
|
|
2841
2835
|
*
|
|
@@ -3547,7 +3541,7 @@ export function RRI(nper: any, pv: any, fv: any): number | Error;
|
|
|
3547
3541
|
* @returns
|
|
3548
3542
|
*/
|
|
3549
3543
|
export function RSQ(known_y: any, known_x: any): number | Error;
|
|
3550
|
-
export function SAFE(
|
|
3544
|
+
export function SAFE(address: any, utility: any, chain: any, limit: any, offset: any): Promise<any>;
|
|
3551
3545
|
/**
|
|
3552
3546
|
* Finds one text value within another (not case-sensitive)
|
|
3553
3547
|
*
|
|
@@ -4472,7 +4466,6 @@ export namespace Z {
|
|
|
4472
4466
|
* @returns
|
|
4473
4467
|
*/
|
|
4474
4468
|
export function ZTEST(array: any, x: any, sigma: any): number | Error;
|
|
4475
|
-
export function _BLOCKSCOUT(address: any, type: any, chain: any, startTimestamp: any, endTimestamp: any, page: any, offset: any): Promise<any>;
|
|
4476
4469
|
export namespace utils {
|
|
4477
4470
|
export { errors };
|
|
4478
4471
|
export { symbols };
|