@fileverse-dev/formulajs 4.4.11-mod-95 → 4.4.11-mod-97
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/cjs/index.cjs
CHANGED
|
@@ -18476,7 +18476,7 @@ async function SMARTCONTRACT() {
|
|
|
18476
18476
|
}
|
|
18477
18477
|
|
|
18478
18478
|
const tallyParamsSchema = objectType({
|
|
18479
|
-
query: enumType(['
|
|
18479
|
+
query: enumType(['organization', 'proposal']),
|
|
18480
18480
|
slug: stringType(),
|
|
18481
18481
|
});
|
|
18482
18482
|
|
|
@@ -18498,9 +18498,6 @@ async function TALLY() {
|
|
|
18498
18498
|
}
|
|
18499
18499
|
|
|
18500
18500
|
const data = await res.json();
|
|
18501
|
-
if(data?.organization){
|
|
18502
|
-
return [data.organization]
|
|
18503
|
-
}
|
|
18504
18501
|
return data
|
|
18505
18502
|
} catch (err) {
|
|
18506
18503
|
return errorMessageHandler(err, 'TALLY')
|
|
@@ -859,14 +859,14 @@ var TALLY_metadata = {
|
|
|
859
859
|
p: [
|
|
860
860
|
{
|
|
861
861
|
name: "query",
|
|
862
|
-
detail: "The type of Tally query you want to execute. We currently support only
|
|
863
|
-
example: `"
|
|
862
|
+
detail: "The type of Tally query you want to execute. We currently support only organization and proposal.",
|
|
863
|
+
example: `"organization"`,
|
|
864
864
|
require: "m",
|
|
865
865
|
type: "string"
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
868
|
name: "input1",
|
|
869
|
-
detail: "Query input. We currently support only organisation slug",
|
|
869
|
+
detail: "Query input. We currently support only organisation slug e.g aave, uniswap, compound, zksync etc...",
|
|
870
870
|
example: `"arbitrum"`,
|
|
871
871
|
require: "m",
|
|
872
872
|
type: "string"
|
package/lib/esm/index.mjs
CHANGED
|
@@ -18474,7 +18474,7 @@ async function SMARTCONTRACT() {
|
|
|
18474
18474
|
}
|
|
18475
18475
|
|
|
18476
18476
|
const tallyParamsSchema = objectType({
|
|
18477
|
-
query: enumType(['
|
|
18477
|
+
query: enumType(['organization', 'proposal']),
|
|
18478
18478
|
slug: stringType(),
|
|
18479
18479
|
});
|
|
18480
18480
|
|
|
@@ -18496,9 +18496,6 @@ async function TALLY() {
|
|
|
18496
18496
|
}
|
|
18497
18497
|
|
|
18498
18498
|
const data = await res.json();
|
|
18499
|
-
if(data?.organization){
|
|
18500
|
-
return [data.organization]
|
|
18501
|
-
}
|
|
18502
18499
|
return data
|
|
18503
18500
|
} catch (err) {
|
|
18504
18501
|
return errorMessageHandler(err, 'TALLY')
|