@fileverse-dev/fortune-react 1.0.2-mod-88-patch-3 → 1.0.2-mod-88-patch-4
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/index.umd.js +1 -35
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -37208,39 +37208,6 @@
|
|
|
37208
37208
|
}
|
|
37209
37209
|
}
|
|
37210
37210
|
|
|
37211
|
-
async function SUMTEST() {
|
|
37212
|
-
let result = 0;
|
|
37213
|
-
|
|
37214
|
-
arrayEach(argsToArray(arguments), (value) => {
|
|
37215
|
-
console.log("callllllling teeeessssst");
|
|
37216
|
-
if (result instanceof Error) {
|
|
37217
|
-
return false
|
|
37218
|
-
} else if (value instanceof Error) {
|
|
37219
|
-
result = value;
|
|
37220
|
-
} else if (typeof value === 'number') {
|
|
37221
|
-
result += value;
|
|
37222
|
-
} else if (typeof value === 'string') {
|
|
37223
|
-
const parsed = parseFloat(value);
|
|
37224
|
-
|
|
37225
|
-
!isNaN(parsed) && (result += parsed);
|
|
37226
|
-
} else if (Array.isArray(value)) {
|
|
37227
|
-
const inner_result = SUMTEST.apply(null, value);
|
|
37228
|
-
|
|
37229
|
-
if (inner_result instanceof Error) {
|
|
37230
|
-
result = inner_result;
|
|
37231
|
-
} else {
|
|
37232
|
-
result += inner_result;
|
|
37233
|
-
}
|
|
37234
|
-
}
|
|
37235
|
-
});
|
|
37236
|
-
|
|
37237
|
-
return new Promise((resolve) => {
|
|
37238
|
-
setTimeout(() => {
|
|
37239
|
-
resolve(result);
|
|
37240
|
-
}, 3000);
|
|
37241
|
-
})
|
|
37242
|
-
}
|
|
37243
|
-
|
|
37244
37211
|
async function FIREFLY() {
|
|
37245
37212
|
const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Firefly);
|
|
37246
37213
|
if (!API_KEY) return `${SERVICE_API_KEY.Firefly}${ERROR_MESSAGES_FLAG.MISSING_KEY}`;
|
|
@@ -37663,7 +37630,7 @@
|
|
|
37663
37630
|
|
|
37664
37631
|
|
|
37665
37632
|
async function EOA() {
|
|
37666
|
-
console.log("
|
|
37633
|
+
console.log("EOA gettting calllled");
|
|
37667
37634
|
|
|
37668
37635
|
|
|
37669
37636
|
|
|
@@ -38214,7 +38181,6 @@
|
|
|
38214
38181
|
SUMIFS: SUMIFS,
|
|
38215
38182
|
SUMPRODUCT: SUMPRODUCT,
|
|
38216
38183
|
SUMSQ: SUMSQ,
|
|
38217
|
-
SUMTEST: SUMTEST,
|
|
38218
38184
|
SUMX2MY2: SUMX2MY2,
|
|
38219
38185
|
SUMX2PY2: SUMX2PY2,
|
|
38220
38186
|
SUMXMY2: SUMXMY2,
|