@fileverse-dev/dsheet 4.0.2-c → 4.0.2-d
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/dist/{constants-CFEsdk0L.js → constants-CRFfbkoQ.js} +1 -1
- package/dist/constants.js +1 -1
- package/dist/{crypto-constants-DSOiEk_l.js → crypto-constants-ZTlAYRUf.js} +74 -71
- package/dist/{executeStringFunction-BgeO46PB.js → executeStringFunction-CsLQk-dm.js} +1 -1
- package/dist/formula.js +1 -1
- package/dist/{index-B9G29ZEB.js → index-9G1KUb6I.js} +267 -267
- package/dist/index.es.js +3 -3
- package/dist/{use-xlsx-import-impl-C7VO9Zis.js → use-xlsx-import-impl-Dcr-wzh1.js} +2 -2
- package/dist/{xlsx-export-impl-CXJJlCJ4.js → xlsx-export-impl-Cf50nwif.js} +2 -2
- package/package.json +2 -2
package/dist/constants.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescriptor,
|
|
2
|
-
return e || (0, n[
|
|
3
|
-
},
|
|
1
|
+
var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescriptor, f = Object.getOwnPropertyNames, b = Object.getPrototypeOf, x = Object.prototype.hasOwnProperty, m = (n, e) => function() {
|
|
2
|
+
return e || (0, n[f(n)[0]])((e = { exports: {} }).exports, e), e.exports;
|
|
3
|
+
}, A = (n, e, i, r) => {
|
|
4
4
|
if (e && typeof e == "object" || typeof e == "function")
|
|
5
|
-
for (let t of
|
|
5
|
+
for (let t of f(e))
|
|
6
6
|
!x.call(n, t) && t !== i && u(n, t, { get: () => e[t], enumerable: !(r = y(e, t)) || r.enumerable });
|
|
7
7
|
return n;
|
|
8
|
-
},
|
|
8
|
+
}, E = (n, e, i) => (i = n != null ? g(b(n)) : {}, A(
|
|
9
9
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
10
10
|
// file that has been converted to a CommonJS file using a Babel-
|
|
11
11
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
12
12
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
13
13
|
u(i, "default", { value: n, enumerable: !0 }),
|
|
14
14
|
n
|
|
15
|
-
)),
|
|
15
|
+
)), C = m({
|
|
16
16
|
"node_modules/jwt-decode/lib/atob.js"(n, e) {
|
|
17
17
|
var i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
18
18
|
function r(a) {
|
|
@@ -24,22 +24,22 @@ var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescr
|
|
|
24
24
|
if (o.length % 4 == 1)
|
|
25
25
|
throw new r("'atob' failed: The string to be decoded is not correctly encoded.");
|
|
26
26
|
for (
|
|
27
|
-
var s = 0, p,
|
|
27
|
+
var s = 0, p, d, h = 0, c = "";
|
|
28
28
|
// get next character
|
|
29
|
-
|
|
29
|
+
d = o.charAt(h++);
|
|
30
30
|
// character found in table? initialize bit storage and add its ascii value;
|
|
31
|
-
~
|
|
31
|
+
~d && (p = s % 4 ? p * 64 + d : d, // and if not first of each 4 characters,
|
|
32
32
|
// convert the first 8 bits to one ascii character
|
|
33
33
|
s++ % 4) ? c += String.fromCharCode(255 & p >> (-2 * s & 6)) : 0
|
|
34
34
|
)
|
|
35
|
-
|
|
35
|
+
d = i.indexOf(d);
|
|
36
36
|
return c;
|
|
37
37
|
}
|
|
38
38
|
e.exports = typeof window < "u" && window.atob && window.atob.bind(window) || t;
|
|
39
39
|
}
|
|
40
|
-
}), v =
|
|
40
|
+
}), v = m({
|
|
41
41
|
"node_modules/jwt-decode/lib/base64_url_decode.js"(n, e) {
|
|
42
|
-
var i =
|
|
42
|
+
var i = C();
|
|
43
43
|
function r(t) {
|
|
44
44
|
return decodeURIComponent(i(t).replace(/(.)/g, function(a, o) {
|
|
45
45
|
var s = o.charCodeAt(0).toString(16).toUpperCase();
|
|
@@ -67,7 +67,7 @@ var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescr
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
}),
|
|
70
|
+
}), O = m({
|
|
71
71
|
"node_modules/jwt-decode/lib/index.js"(n, e) {
|
|
72
72
|
var i = v();
|
|
73
73
|
function r(t) {
|
|
@@ -85,9 +85,9 @@ var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescr
|
|
|
85
85
|
}
|
|
86
86
|
}, e.exports.InvalidTokenError = r;
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), S = m({
|
|
89
89
|
"node_modules/jwt-check-expiration/src/index.js"(n, e) {
|
|
90
|
-
var i =
|
|
90
|
+
var i = O(), r = (t) => {
|
|
91
91
|
if (typeof t != "string" || !t) throw new Error("Invalid token provided");
|
|
92
92
|
let a = !1;
|
|
93
93
|
const { exp: o } = i(t);
|
|
@@ -95,7 +95,7 @@ var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescr
|
|
|
95
95
|
};
|
|
96
96
|
e.exports.isJwtExpired = r;
|
|
97
97
|
}
|
|
98
|
-
}),
|
|
98
|
+
}), M = {
|
|
99
99
|
INVALID_API_KEY: "INVALID_API_KEY",
|
|
100
100
|
RATE_LIMIT: "RATE_LIMIT",
|
|
101
101
|
DEFAULT: "DEFAULT",
|
|
@@ -114,7 +114,7 @@ var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescr
|
|
|
114
114
|
Neynar: "Neynar",
|
|
115
115
|
Defillama: "Defillama",
|
|
116
116
|
DuneSim: "DuneSim"
|
|
117
|
-
},
|
|
117
|
+
}, k = {
|
|
118
118
|
API_KEY: l.Etherscan,
|
|
119
119
|
LOGO: "https://raw.githubusercontent.com/ethereum/ethereum-org/master/dist/favicon.ico",
|
|
120
120
|
BRAND_COLOR: "#F6F7F8",
|
|
@@ -473,7 +473,7 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
473
473
|
argumentString: '"gas"',
|
|
474
474
|
description: "returns current gas price metrics for the Gnosis Chain."
|
|
475
475
|
}]
|
|
476
|
-
},
|
|
476
|
+
}, T = {
|
|
477
477
|
API_KEY: l.Etherscan,
|
|
478
478
|
LOGO: "https://etherscan.io/images/favicon3.ico",
|
|
479
479
|
BRAND_COLOR: "#F6F7F8",
|
|
@@ -538,7 +538,7 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
538
538
|
description: "returns the token transaction history for the address vitalik.eth on the Gnosis blockchain between January 1, 2024 and January 5, 2024."
|
|
539
539
|
}
|
|
540
540
|
]
|
|
541
|
-
},
|
|
541
|
+
}, L = {
|
|
542
542
|
n: "PNL",
|
|
543
543
|
t: 20,
|
|
544
544
|
d: "Subtract each element from A column from B column and return the total sum.",
|
|
@@ -570,9 +570,9 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
570
570
|
argumentString: '"{100, 200, 150}", "{250, 300, 200}"',
|
|
571
571
|
description: "returns the total profit or loss by subtracting the costs {100, 200, 150} from the revenues {250, 300, 200}."
|
|
572
572
|
}]
|
|
573
|
-
},
|
|
573
|
+
}, I = {
|
|
574
574
|
API_KEY: l.Safe,
|
|
575
|
-
LOGO: "https://safe
|
|
575
|
+
LOGO: "https://safe.global/favicon.ico",
|
|
576
576
|
BRAND_COLOR: "#ebf9f3",
|
|
577
577
|
BRAND_SECONDARY_COLOR: "#00B460",
|
|
578
578
|
n: "SAFE",
|
|
@@ -613,16 +613,19 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
613
613
|
repeat: "n"
|
|
614
614
|
}
|
|
615
615
|
],
|
|
616
|
-
examples: [
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
616
|
+
examples: [
|
|
617
|
+
{
|
|
618
|
+
title: "SAFE",
|
|
619
|
+
argumentString: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253", "txns", "gnosis", 10, 0',
|
|
620
|
+
description: "returns the last 10 transactions for the specified Safe address on the Gnosis chain."
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
title: "SAFE",
|
|
624
|
+
argumentString: '"0x1234567890abcdef1234567890abcdef12345678", "txns", "ethereum"',
|
|
625
|
+
description: "returns the last 100 transactions for the specified Safe address on the Ethereum chain."
|
|
626
|
+
}
|
|
627
|
+
]
|
|
628
|
+
}, w = {
|
|
626
629
|
LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
|
|
627
630
|
BRAND_COLOR: "#f8f8fd",
|
|
628
631
|
BRAND_SECONDARY_COLOR: "#5353D3",
|
|
@@ -866,7 +869,7 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
866
869
|
argumentString: '"proposals", "aave"',
|
|
867
870
|
description: "returns proposals for the Aave organization from Tally."
|
|
868
871
|
}]
|
|
869
|
-
},
|
|
872
|
+
}, U = {
|
|
870
873
|
API_KEY: l.DuneSim,
|
|
871
874
|
LOGO: "https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://docs.sim.dune.com&size=32",
|
|
872
875
|
BRAND_COLOR: "#fef7f5",
|
|
@@ -924,7 +927,7 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
924
927
|
description: "returns the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
|
|
925
928
|
}
|
|
926
929
|
]
|
|
927
|
-
},
|
|
930
|
+
}, Y = {
|
|
928
931
|
n: "PRICE",
|
|
929
932
|
t: 20,
|
|
930
933
|
d: "Query prices of crypto assets",
|
|
@@ -1011,7 +1014,7 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
1011
1014
|
description: "returns the latest balance for the address vitalik.eth on the Base chain."
|
|
1012
1015
|
}
|
|
1013
1016
|
]
|
|
1014
|
-
},
|
|
1017
|
+
}, W = {
|
|
1015
1018
|
n: "YIELD",
|
|
1016
1019
|
t: 20,
|
|
1017
1020
|
d: "Query yields",
|
|
@@ -1041,7 +1044,7 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
1041
1044
|
argumentString: '"all"',
|
|
1042
1045
|
description: "returns yield data for all categories."
|
|
1043
1046
|
}]
|
|
1044
|
-
},
|
|
1047
|
+
}, Q = {
|
|
1045
1048
|
LOGO: "https://avatars.githubusercontent.com/u/159135534?s=200&v=4",
|
|
1046
1049
|
n: "CIRCLES",
|
|
1047
1050
|
t: 20,
|
|
@@ -1084,79 +1087,79 @@ If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d",
|
|
|
1084
1087
|
argumentString: '"transactions", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253", 5',
|
|
1085
1088
|
description: "returns the last 5 transactions for the specified Circles address."
|
|
1086
1089
|
}]
|
|
1087
|
-
},
|
|
1088
|
-
|
|
1090
|
+
}, V = [
|
|
1091
|
+
k,
|
|
1089
1092
|
D,
|
|
1090
1093
|
R,
|
|
1091
1094
|
_,
|
|
1092
1095
|
q,
|
|
1093
1096
|
N,
|
|
1094
|
-
L,
|
|
1095
1097
|
T,
|
|
1096
|
-
|
|
1098
|
+
L,
|
|
1097
1099
|
I,
|
|
1100
|
+
w,
|
|
1098
1101
|
B,
|
|
1099
1102
|
F,
|
|
1100
1103
|
P,
|
|
1101
1104
|
G,
|
|
1102
|
-
Y,
|
|
1103
1105
|
U,
|
|
1106
|
+
Y,
|
|
1104
1107
|
K,
|
|
1105
|
-
|
|
1106
|
-
|
|
1108
|
+
W,
|
|
1109
|
+
Q
|
|
1107
1110
|
// GNOSISPAY_metadata,
|
|
1108
|
-
{
|
|
1109
|
-
LOGO:
|
|
1110
|
-
n:
|
|
1111
|
+
/*{
|
|
1112
|
+
LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/ploymarket.png',
|
|
1113
|
+
n: 'POLYMARKET',
|
|
1111
1114
|
t: 20,
|
|
1112
|
-
d:
|
|
1113
|
-
a:
|
|
1115
|
+
d: 'Query prediction market positions, shares, and odds for future event outcomes on Polymarket. (Comming soon)',
|
|
1116
|
+
a: 'Query prediction market positions, shares, and odds for future event outcomes on Polymarket. (Comming soon)',
|
|
1114
1117
|
p: []
|
|
1115
1118
|
},
|
|
1116
1119
|
{
|
|
1117
|
-
LOGO:
|
|
1118
|
-
n:
|
|
1120
|
+
LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/privacy.png',
|
|
1121
|
+
n: 'PRIVACYPOOL',
|
|
1119
1122
|
t: 20,
|
|
1120
|
-
d:
|
|
1121
|
-
a:
|
|
1123
|
+
d: 'Access deposit/withdraw stats and compliance-safe anonymized transfers using zk-based Privacy Pools. (Comming soon)',
|
|
1124
|
+
a: 'Access deposit/withdraw stats and compliance-safe anonymized transfers using zk-based Privacy Pools. (Comming soon)',
|
|
1122
1125
|
p: []
|
|
1123
1126
|
},
|
|
1124
1127
|
{
|
|
1125
|
-
LOGO:
|
|
1126
|
-
n:
|
|
1128
|
+
LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/rotki.png',
|
|
1129
|
+
n: 'ROTKI',
|
|
1127
1130
|
t: 20,
|
|
1128
|
-
d:
|
|
1129
|
-
a:
|
|
1131
|
+
d: 'Pull portfolio, asset, and tax-related data from Rotki for crypto accounting and reporting. (Comming soon)',
|
|
1132
|
+
a: 'Pull portfolio, asset, and tax-related data from Rotki for crypto accounting and reporting. (Comming soon)',
|
|
1130
1133
|
p: []
|
|
1131
1134
|
},
|
|
1132
1135
|
{
|
|
1133
|
-
LOGO:
|
|
1134
|
-
n:
|
|
1136
|
+
LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/meerkat.png',
|
|
1137
|
+
n: 'MEERKAT',
|
|
1135
1138
|
t: 20,
|
|
1136
|
-
d:
|
|
1137
|
-
a:
|
|
1139
|
+
d: 'Query onchain proofs for tickets, attendance, speaker roles, and reactions. (Comming soon)',
|
|
1140
|
+
a: 'Query onchain proofs for tickets, attendance, speaker roles, and reactions. (Comming soon)',
|
|
1138
1141
|
p: []
|
|
1139
1142
|
},
|
|
1140
1143
|
{
|
|
1141
|
-
LOGO:
|
|
1142
|
-
n:
|
|
1144
|
+
LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/artemis.png',
|
|
1145
|
+
n: 'ARTEMIS',
|
|
1143
1146
|
t: 20,
|
|
1144
|
-
d:
|
|
1145
|
-
a:
|
|
1147
|
+
d: 'Query onchain financial metrics, developer activity, and market insights across protocols and sectors. (Comming soon)',
|
|
1148
|
+
a: 'Query onchain financial metrics, developer activity, and market insights across protocols and sectors. (Comming soon)',
|
|
1146
1149
|
p: []
|
|
1147
1150
|
},
|
|
1148
1151
|
{
|
|
1149
|
-
LOGO:
|
|
1150
|
-
n:
|
|
1152
|
+
LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/MYANIMELIST.png',
|
|
1153
|
+
n: 'MYANIMELIST',
|
|
1151
1154
|
t: 20,
|
|
1152
|
-
d:
|
|
1153
|
-
a:
|
|
1155
|
+
d: 'Kawaiii, comming soon. Hello Keith! (Comming soon)',
|
|
1156
|
+
a: 'Kawaiii, comming soon. Hello Keith! (Comming soon)',
|
|
1154
1157
|
p: []
|
|
1155
|
-
}
|
|
1158
|
+
}*/
|
|
1156
1159
|
];
|
|
1157
|
-
|
|
1160
|
+
E(S());
|
|
1158
1161
|
export {
|
|
1159
|
-
|
|
1160
|
-
|
|
1162
|
+
M as E,
|
|
1163
|
+
V as F,
|
|
1161
1164
|
l as S
|
|
1162
1165
|
};
|
|
@@ -4,7 +4,7 @@ var Xe = (e, t, n) => rc(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
4
4
|
import h, { isPlainObject as Hi } from "lodash";
|
|
5
5
|
import Ce from "dayjs";
|
|
6
6
|
import * as Jr from "@fileverse-dev/formulajs";
|
|
7
|
-
import { F as ac } from "./crypto-constants-
|
|
7
|
+
import { F as ac } from "./crypto-constants-ZTlAYRUf.js";
|
|
8
8
|
var oc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
9
9
|
function As(e) {
|
|
10
10
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
package/dist/formula.js
CHANGED