@fileverse-dev/formulajs 4.4.11-mod-4 → 4.4.11-mod-5
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/esm/crypto-constants.mjs +40 -0
- package/package.json +5 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// src/crypto-constants.js
|
|
2
|
+
var SERVICE_API_KEY = {
|
|
3
|
+
Etherscan: "ETHERSCAN_API_KEY"
|
|
4
|
+
};
|
|
5
|
+
var FUNCTION_LOCALE = [
|
|
6
|
+
{
|
|
7
|
+
n: "GETTXLIST",
|
|
8
|
+
t: 20,
|
|
9
|
+
d: "Returns the list of transactions performed by an address, with optional pagination.",
|
|
10
|
+
a: "Returns the list of transactions performed by an address, with optional pagination.",
|
|
11
|
+
p: [
|
|
12
|
+
{
|
|
13
|
+
name: "value1",
|
|
14
|
+
detail: "The address string representing the addresses to check for balance",
|
|
15
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
16
|
+
require: "m"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "value2",
|
|
20
|
+
detail: "Page number.",
|
|
21
|
+
example: "1",
|
|
22
|
+
require: "o",
|
|
23
|
+
repeat: "n",
|
|
24
|
+
type: "rangenumber"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: "value3",
|
|
28
|
+
detail: "Page size(offset).",
|
|
29
|
+
example: "100",
|
|
30
|
+
require: "o",
|
|
31
|
+
repeat: "n",
|
|
32
|
+
type: "rangenumber"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
export {
|
|
38
|
+
FUNCTION_LOCALE,
|
|
39
|
+
SERVICE_API_KEY
|
|
40
|
+
};
|
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-5",
|
|
4
4
|
"description": "JavaScript implementation of most Microsoft Excel formula functions",
|
|
5
5
|
"author": "Formulajs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"unpkg": "./lib/browser/formula.min.js",
|
|
25
25
|
"jsdelivr": "./lib/browser/formula.min.js",
|
|
26
26
|
"exports": {
|
|
27
|
+
"./crypto-constants": "./lib/esm/crypto-constants.mjs",
|
|
27
28
|
".": {
|
|
28
29
|
"import": {
|
|
29
30
|
"types": "./types/esm/index.d.mts",
|
|
@@ -43,7 +44,8 @@
|
|
|
43
44
|
"types"
|
|
44
45
|
],
|
|
45
46
|
"scripts": {
|
|
46
|
-
"build": "
|
|
47
|
+
"build:crypto-constants": "esbuild src/crypto-constants.js --bundle --outfile=lib/esm/crypto-constants.mjs --format=esm",
|
|
48
|
+
"build": "rollup -c && npm run types && npm run build:crypto-constants",
|
|
47
49
|
"format": "npm run prettier:fix && npm run lint:fix",
|
|
48
50
|
"lint": "eslint .",
|
|
49
51
|
"lint:fix": "eslint --fix .",
|
|
@@ -70,6 +72,7 @@
|
|
|
70
72
|
"c8": "^10.1.3",
|
|
71
73
|
"chai": "^5.2.0",
|
|
72
74
|
"cli-table3": "^0.6.5",
|
|
75
|
+
"esbuild": "^0.25.4",
|
|
73
76
|
"eslint": "^9.20.1",
|
|
74
77
|
"globals": "^15.15.0",
|
|
75
78
|
"mocha": "^11.1.0",
|