@fileverse-dev/formulajs 4.4.11-mod-26 → 4.4.11-mod-28

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.
@@ -34,7 +34,8 @@ var SERVICE_API_KEY = {
34
34
  Safe: "SAFE_API_KEY",
35
35
  Basescan: "BASESCAN_API_KEY",
36
36
  Gnosisscan: "GNOSIS_API_KEY",
37
- Firefly: "FIRE_FLY_API_KEY"
37
+ Firefly: "FIRE_FLY_API_KEY",
38
+ GnosisPay: "GNOSIS_API_KEY"
38
39
  };
39
40
  var FUNCTION_LOCALE = [
40
41
  {
@@ -44,8 +45,8 @@ var FUNCTION_LOCALE = [
44
45
  BRAND_SECONDARY_COLOR: "#855dcd",
45
46
  n: "FIREFLY",
46
47
  t: 20,
47
- d: "Fetches posts or replies from Farcaster or Lens using Firefly's OpenAPI and returns simplified text content.",
48
- a: "Retrieves posts or replies from Firefly OpenAPI by username, user ID, or post ID/hash for Farcaster and Lens platforms. Returns a flattened array of content with id, author, text, createdAt, and platform.",
48
+ d: "Fetches content from Farcaster or Lens using Firefly's OpenAPI with pagination and cleaned output.",
49
+ a: "Retrieves posts, replies, or channels from Farcaster and Lens using Firefly's OpenAPI by usernames, IDs, or hashes. Removes nested values and returns flat spreadsheet-friendly data. Supports pagination.",
49
50
  p: [
50
51
  {
51
52
  name: "platform",
@@ -56,17 +57,31 @@ var FUNCTION_LOCALE = [
56
57
  },
57
58
  {
58
59
  name: "contentType",
59
- detail: "The type of content to fetch. Can be 'posts' or 'replies'.",
60
+ detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels' (channels only for 'farcaster').",
60
61
  example: `"posts"`,
61
62
  require: "m",
62
63
  type: "string"
63
64
  },
64
65
  {
65
66
  name: "identifier",
66
- detail: "The username, user ID, or post ID/hash depending on platform and contentType.",
67
- example: `"toka" or "0xcb6cab2048..."`,
67
+ detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
68
+ example: `"toka,ngmisl" or "0xcb6c...,0x98b8..."`,
68
69
  require: "m",
69
70
  type: "string"
71
+ },
72
+ {
73
+ name: "start",
74
+ detail: "Pagination start index (default is 0).",
75
+ example: `0`,
76
+ require: "o",
77
+ type: "number"
78
+ },
79
+ {
80
+ name: "end",
81
+ detail: "Pagination end index (default is 10).",
82
+ example: `10`,
83
+ require: "o",
84
+ type: "number"
70
85
  }
71
86
  ]
72
87
  },
@@ -150,14 +165,14 @@ var FUNCTION_LOCALE = [
150
165
  },
151
166
  {
152
167
  name: "startDate",
153
- detail: "Start UNIX timestamp in seconds (used to resolve block range). Optional, only applies to txns.",
168
+ detail: "Start date (used to resolve block range). Optional, only applies to txns.",
154
169
  example: `"1704067200"`,
155
170
  require: "o",
156
171
  type: "rangenumber"
157
172
  },
158
173
  {
159
174
  name: "endDate",
160
- detail: "End UNIX timestamp in seconds (used to resolve block range). Optional, only applies to txns.",
175
+ detail: "End date (used to resolve block range). Optional, only applies to txns.",
161
176
  example: `"20250614"`,
162
177
  require: "o",
163
178
  type: "rangenumber"
@@ -180,7 +195,7 @@ var FUNCTION_LOCALE = [
180
195
  },
181
196
  {
182
197
  API_KEY: SERVICE_API_KEY.Gnosisscan,
183
- LOGO: "https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/1689874988430.jpeg",
198
+ LOGO: "https://gnosisscan.io/assets/generic/html/favicon-light.ico",
184
199
  BRAND_COLOR: "#f6f7f6",
185
200
  BRAND_SECONDARY_COLOR: "#133629",
186
201
  n: "GNOSISSCAN",
@@ -211,15 +226,15 @@ var FUNCTION_LOCALE = [
211
226
  },
212
227
  {
213
228
  name: "startDate",
214
- detail: "Start timestamp in UNIX seconds. Used to resolve starting block for txns.",
215
- example: `"1704067200"`,
229
+ detail: "Used to resolve starting block for txns.",
230
+ example: `"01/01/2024"`,
216
231
  require: "o",
217
232
  type: "rangenumber"
218
233
  },
219
234
  {
220
235
  name: "endDate",
221
- detail: "End timestamp in UNIX seconds. Used to resolve ending block for txns.",
222
- example: `"20250614"`,
236
+ detail: "Used to resolve ending block for txns.",
237
+ example: `"14/06/2025"`,
223
238
  require: "o",
224
239
  type: "rangenumber"
225
240
  },
@@ -251,7 +266,7 @@ var FUNCTION_LOCALE = [
251
266
  {
252
267
  name: "address",
253
268
  detail: "The address string representing the addresses to check for balance",
254
- example: `"0xe9A6378d8FD4983C2999DB0735f258397E8C2253"`,
269
+ example: `"0x50Aa3435E310d5a2d15a989Bc353ce7f5682E1d4"`,
255
270
  require: "m",
256
271
  type: "string"
257
272
  },
@@ -265,21 +280,21 @@ var FUNCTION_LOCALE = [
265
280
  {
266
281
  name: "chain",
267
282
  detail: "The blockchain to query. By default on Ethereum mainnet.",
268
- example: `"gnosis"`,
283
+ example: `"ethereum"`,
269
284
  require: "o",
270
285
  type: "string"
271
286
  },
272
287
  {
273
288
  name: "startTimestamp",
274
- detail: 'The Unix timestamp marking the start of the transaction search range. Work with type === "txns"',
275
- example: "1721174400",
289
+ detail: 'Start date marking the start of the transaction search range. Work with type === "txns"',
290
+ example: "01/01/2024",
276
291
  require: "o",
277
292
  type: "rangenumber"
278
293
  },
279
294
  {
280
295
  name: "endTimestamp",
281
- detail: 'The Unix timestamp marking the end of the transaction search range. Work with type === "txns"',
282
- example: "20250614",
296
+ detail: 'End date marking the end of the transaction search range. Work with type === "txns"',
297
+ example: "14/06/2025",
283
298
  require: "o",
284
299
  type: "rangenumber"
285
300
  },
@@ -294,7 +309,7 @@ var FUNCTION_LOCALE = [
294
309
  {
295
310
  name: "offset",
296
311
  detail: 'The number of transactions to return per page. Work with type === "txns"',
297
- example: "100",
312
+ example: "2",
298
313
  require: "o",
299
314
  repeat: "n",
300
315
  type: "rangenumber"
@@ -334,15 +349,15 @@ var FUNCTION_LOCALE = [
334
349
  },
335
350
  {
336
351
  name: "startDate",
337
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
338
- example: `"1704067200"`,
352
+ detail: "Used to filter block range.",
353
+ example: `"01/01/2024"`,
339
354
  require: "o",
340
355
  type: "rangenumber"
341
356
  },
342
357
  {
343
358
  name: "endDate",
344
- detail: "End timestamp in seconds (optional). Used to filter block range.",
345
- example: `"1706659200"`,
359
+ detail: "Used to filter block range.",
360
+ example: `"01/07/2025"`,
346
361
  require: "o",
347
362
  type: "rangenumber"
348
363
  }
@@ -381,15 +396,15 @@ var FUNCTION_LOCALE = [
381
396
  },
382
397
  {
383
398
  name: "startTime",
384
- detail: "Start time in UNIX timestamp (seconds). Used to calculate starting block for transaction queries.",
385
- example: "1721174400",
399
+ detail: "Used to calculate starting block for transaction queries.",
400
+ example: "01/01/2024",
386
401
  require: "m",
387
402
  type: "rangenumber"
388
403
  },
389
404
  {
390
405
  name: "endTime",
391
- detail: "End time in UNIX timestamp (seconds). Used to calculate ending block for transaction queries.",
392
- example: "1722988800",
406
+ detail: "Used to calculate ending block for transaction queries.",
407
+ example: "01/07/2024",
393
408
  require: "m",
394
409
  type: "rangenumber"
395
410
  },
@@ -416,43 +431,66 @@ var FUNCTION_LOCALE = [
416
431
  n: "COINGECKO",
417
432
  t: 20,
418
433
  API_KEY: SERVICE_API_KEY.Coingecko,
419
- d: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
420
- a: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
434
+ d: "Query crypto prices, ecosystem market data, stablecoins, or derivatives from CoinGecko. Returns flat, spreadsheet-compatible output with pagination support.",
435
+ a: 'Supports querying: "price" for specific tokens "market" for ecosystem categories (ETH, BASE, SOL, GNOSIS, HYPERLIQUID, BITCOIN, PUMP)\n- "stablecoins" for stablecoin categories like "crypto-backed-stablecoin"\n- "derivatives" globally or per exchange.\nPagination is supported for all except single-exchange derivatives.',
421
436
  p: [
422
437
  {
423
- name: "token",
424
- detail: "coins' IDs, comma-separated if querying more than 1 coin.",
425
- example: `"bitcoin"`,
438
+ name: "category",
439
+ detail: 'Query type: "price", "market", "stablecoins", or "derivatives".',
440
+ example: `"price"`,
426
441
  require: "m"
427
442
  },
428
443
  {
429
- name: "vs_currency",
430
- detail: "target currency of coins, comma-separated if querying more than 1 currency",
431
- example: `"usd"`,
432
- require: "m"
433
- }
434
- ]
435
- },
436
- {
437
- n: "FLVURL",
438
- t: 20,
439
- d: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
440
- a: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
441
- p: [
444
+ name: "param1",
445
+ detail: `For "price": coin ID(s).
446
+ For "market": one of ["eth", "base", "sol", "gnosis", "hyperliquid", "bitcoin", "pump"].
447
+ For "stablecoins": one of ["all", "crypto-backed-stablecoin", "yield-bearing-stablecoins", etc.].
448
+ For "derivatives": exchange name (e.g., "binance_futures").`,
449
+ example: `"bitcoin" | "eth" | "crypto-backed-stablecoin" | "binance_futures"`,
450
+ require: "o"
451
+ },
442
452
  {
443
- name: "token",
444
- detail: "coins' IDs, comma-separated if querying more than 1 coin.",
445
- example: `"bitcoin"`,
446
- require: "m"
453
+ name: "param2",
454
+ detail: `For "price": target currency(ies) (e.g. "usd").
455
+ For "market" and "stablecoins": comma-separated price trend keys (e.g. 1h,24h,7d).`,
456
+ example: `"usd" | "1h,24h,7d"`,
457
+ require: "o"
447
458
  },
448
459
  {
449
- name: "vs_currency",
450
- detail: "target currency of coins, comma-separated if querying more than 1 currency",
451
- example: `"usd"`,
452
- require: "m"
460
+ name: "page",
461
+ detail: 'Page number for pagination (applies to "market", "stablecoins", and global "derivatives").',
462
+ example: `1`,
463
+ require: "o"
464
+ },
465
+ {
466
+ name: "per_page",
467
+ detail: 'Number of items per page (applies to "market", "stablecoins", and global "derivatives").',
468
+ example: `2`,
469
+ require: "o"
453
470
  }
454
471
  ]
455
472
  },
473
+ // {
474
+ // n: "FLVURL",
475
+ // t: 20,
476
+ // d: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
477
+ // a: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
478
+ // p: [
479
+ // {
480
+ // name: "token",
481
+ // detail:
482
+ // "coins' IDs, comma-separated if querying more than 1 coin.",
483
+ // example: `"bitcoin"`,
484
+ // require: "m",
485
+ // },
486
+ // {
487
+ // name: "vs_currency",
488
+ // detail: "target currency of coins, comma-separated if querying more than 1 currency",
489
+ // example: `"usd"`,
490
+ // require: "m",
491
+ // },
492
+ // ],
493
+ // },
456
494
  {
457
495
  API_KEY: SERVICE_API_KEY.Safe,
458
496
  LOGO: "https://safe-transaction-mainnet.safe.global/static/safe/favicon.png",
@@ -554,15 +592,15 @@ var FUNCTION_LOCALE = [
554
592
  },
555
593
  {
556
594
  name: "startDate",
557
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
558
- example: `"1704067200"`,
595
+ detail: "Used to filter block range.",
596
+ example: `"01/01/2024"`,
559
597
  require: "o",
560
598
  type: "rangenumber"
561
599
  },
562
600
  {
563
601
  name: "endDate",
564
- detail: "End timestamp in seconds (optional). Used to filter block range.",
565
- example: `"1706659200"`,
602
+ detail: "Used to filter block range.",
603
+ example: `"01/01/2025"`,
566
604
  require: "o",
567
605
  type: "rangenumber"
568
606
  }
@@ -601,15 +639,15 @@ var FUNCTION_LOCALE = [
601
639
  },
602
640
  {
603
641
  name: "startDate",
604
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
605
- example: `"1704067200"`,
642
+ detail: "Used to filter block range.",
643
+ example: `"01/01/2024"`,
606
644
  require: "o",
607
645
  type: "rangenumber"
608
646
  },
609
647
  {
610
648
  name: "endDate",
611
- detail: "End timestamp in seconds (optional). Used to filter block range.",
612
- example: `"1706659200"`,
649
+ detail: "Used to filter block range.",
650
+ example: `"01/07/2025"`,
613
651
  require: "o",
614
652
  type: "rangenumber"
615
653
  }
@@ -648,15 +686,15 @@ var FUNCTION_LOCALE = [
648
686
  },
649
687
  {
650
688
  name: "startDate",
651
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
652
- example: `"1704067200"`,
689
+ detail: "Used to filter block range.",
690
+ example: `"01/01/2024"`,
653
691
  require: "o",
654
692
  type: "rangenumber"
655
693
  },
656
694
  {
657
695
  name: "endDate",
658
- detail: "End timestamp in seconds (optional). Used to filter block range.",
659
- example: `"1706659200"`,
696
+ detail: "Used to filter block range.",
697
+ example: `"01/07/2025"`,
660
698
  require: "o",
661
699
  type: "rangenumber"
662
700
  }
@@ -695,15 +733,15 @@ var FUNCTION_LOCALE = [
695
733
  },
696
734
  {
697
735
  name: "startDate",
698
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
699
- example: `"1704067200"`,
736
+ detail: "Used to filter block range.",
737
+ example: `"01/01/2024"`,
700
738
  require: "o",
701
739
  type: "rangenumber"
702
740
  },
703
741
  {
704
742
  name: "endDate",
705
- detail: "End timestamp in seconds (optional). Used to filter block range.",
706
- example: `"1706659200"`,
743
+ detail: "Used to filter block range.",
744
+ example: `"01/07/2025"`,
707
745
  require: "o",
708
746
  type: "rangenumber"
709
747
  }
@@ -742,15 +780,15 @@ var FUNCTION_LOCALE = [
742
780
  },
743
781
  {
744
782
  name: "startDate",
745
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
746
- example: `"1704067200"`,
783
+ detail: "Used to filter block range.",
784
+ example: `"01/01/2024"`,
747
785
  require: "o",
748
786
  type: "rangenumber"
749
787
  },
750
788
  {
751
789
  name: "endDate",
752
- detail: "End timestamp in seconds (optional). Used to filter block range.",
753
- example: `"1706659200"`,
790
+ detail: "Used to filter block range.",
791
+ example: `"01/07/2025"`,
754
792
  require: "o",
755
793
  type: "rangenumber"
756
794
  }
@@ -789,15 +827,15 @@ var FUNCTION_LOCALE = [
789
827
  },
790
828
  {
791
829
  name: "startDate",
792
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
793
- example: `"1704067200"`,
830
+ detail: "Used to filter block range.",
831
+ example: `"01/01/2024"`,
794
832
  require: "o",
795
833
  type: "rangenumber"
796
834
  },
797
835
  {
798
836
  name: "endDate",
799
- detail: "End timestamp in seconds (optional). Used to filter block range.",
800
- example: `"1706659200"`,
837
+ detail: "Used to filter block range.",
838
+ example: `"01/07/2025"`,
801
839
  require: "o",
802
840
  type: "rangenumber"
803
841
  }
@@ -808,7 +846,7 @@ var FUNCTION_LOCALE = [
808
846
  LOGO: "https://gnosisscan.io/assets/generic/html/favicon-light.ico",
809
847
  BRAND_COLOR: "#f6f7f6",
810
848
  BRAND_SECONDARY_COLOR: "#133629",
811
- n: "GNOSIS",
849
+ n: "GNOSISPAY",
812
850
  t: 20,
813
851
  d: "Fetches Gnosis Pay card transaction history, including merchant, amount, and currency info.",
814
852
  a: "Retrieves card transactions from Gnosis Pay\u2019s API for a specific card ID, filtered by date range and paginated via limit/offset.",
@@ -822,15 +860,15 @@ var FUNCTION_LOCALE = [
822
860
  },
823
861
  {
824
862
  name: "startDate",
825
- detail: "Start timestamp in seconds (UNIX). Filters transactions created after this date.",
826
- example: `"1704067200"`,
863
+ detail: "Filters transactions created after this date.",
864
+ example: `"01/01/2024"`,
827
865
  require: "o",
828
866
  type: "rangenumber"
829
867
  },
830
868
  {
831
869
  name: "endDate",
832
- detail: "End timestamp in seconds (UNIX). Filters transactions created before this date.",
833
- example: `"1706659200"`,
870
+ detail: "Filters transactions created before this date.",
871
+ example: `"01/07/2025"`,
834
872
  require: "o",
835
873
  type: "rangenumber"
836
874
  },
@@ -883,15 +921,15 @@ var FUNCTION_LOCALE = [
883
921
  },
884
922
  {
885
923
  name: "startDate",
886
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
887
- example: `"1704067200"`,
924
+ detail: "Used to filter block range.",
925
+ example: `"01/01/2024"`,
888
926
  require: "o",
889
927
  type: "rangenumber"
890
928
  },
891
929
  {
892
930
  name: "endDate",
893
- detail: "End timestamp in seconds (optional). Used to filter block range.",
894
- example: `"1706659200"`,
931
+ detail: "Used to filter block range.",
932
+ example: `"01/07/2025"`,
895
933
  require: "o",
896
934
  type: "rangenumber"
897
935
  }
@@ -899,7 +937,7 @@ var FUNCTION_LOCALE = [
899
937
  },
900
938
  {
901
939
  API_KEY: SERVICE_API_KEY.Etherscan,
902
- LOGO: "https://avatars.githubusercontent.com/u/129790008?s=48&v=4",
940
+ LOGO: "https://www.tally.xyz/favicon.ico",
903
941
  BRAND_COLOR: "#f9f8ff",
904
942
  BRAND_SECONDARY_COLOR: "#725bff",
905
943
  n: "TALLY",
@@ -930,15 +968,15 @@ var FUNCTION_LOCALE = [
930
968
  },
931
969
  {
932
970
  name: "startDate",
933
- detail: "Start timestamp in seconds (optional). Used to filter block range.",
934
- example: `"1704067200"`,
971
+ detail: "Used to filter block range.",
972
+ example: `"01/01/2024"`,
935
973
  require: "o",
936
974
  type: "rangenumber"
937
975
  },
938
976
  {
939
977
  name: "endDate",
940
- detail: "End timestamp in seconds (optional). Used to filter block range.",
941
- example: `"1706659200"`,
978
+ detail: "Used to filter block range.",
979
+ example: `"01/07/2025"`,
942
980
  require: "o",
943
981
  type: "rangenumber"
944
982
  }