@fileverse-dev/formulajs 4.4.11-mod-83-patch-2 → 4.4.11-mod-83-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/lib/cjs/index.cjs
CHANGED
|
@@ -17767,7 +17767,7 @@ async function BLOCKSCOUT() {
|
|
|
17767
17767
|
}
|
|
17768
17768
|
}
|
|
17769
17769
|
|
|
17770
|
-
const allowedValues = ['1h', '24h', '7d'];
|
|
17770
|
+
const allowedValues = ['1h', '24h', '7d', '14d', '30d', '200d', '1y'];
|
|
17771
17771
|
const param2Schema = stringType()
|
|
17772
17772
|
.refine((val) => {
|
|
17773
17773
|
const tokens = val.split(',').map((t) => t.trim().toLowerCase());
|
|
@@ -17775,7 +17775,7 @@ const param2Schema = stringType()
|
|
|
17775
17775
|
allowedValues.some((allowed) => token.includes(allowed))
|
|
17776
17776
|
);
|
|
17777
17777
|
}, {
|
|
17778
|
-
message: "param2 must contain at least one of: '1h', '24h', '7d'",
|
|
17778
|
+
message: "param2 must contain at least one of: '1h', '24h', '7d', '14d', '30d', '200d', '1y'",
|
|
17779
17779
|
}).optional();
|
|
17780
17780
|
const priceSchema = objectType({
|
|
17781
17781
|
category: literalType('price'),
|
|
@@ -166,7 +166,7 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
|
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
name: "param2",
|
|
169
|
-
detail: `If "market" and "stablecoins" then eg. "1h", "24h", "7d".`,
|
|
169
|
+
detail: `If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d", "1y".`,
|
|
170
170
|
example: `"1h,24h,7d"`,
|
|
171
171
|
require: "o"
|
|
172
172
|
}
|
package/lib/esm/index.mjs
CHANGED
|
@@ -17765,7 +17765,7 @@ async function BLOCKSCOUT() {
|
|
|
17765
17765
|
}
|
|
17766
17766
|
}
|
|
17767
17767
|
|
|
17768
|
-
const allowedValues = ['1h', '24h', '7d'];
|
|
17768
|
+
const allowedValues = ['1h', '24h', '7d', '14d', '30d', '200d', '1y'];
|
|
17769
17769
|
const param2Schema = stringType()
|
|
17770
17770
|
.refine((val) => {
|
|
17771
17771
|
const tokens = val.split(',').map((t) => t.trim().toLowerCase());
|
|
@@ -17773,7 +17773,7 @@ const param2Schema = stringType()
|
|
|
17773
17773
|
allowedValues.some((allowed) => token.includes(allowed))
|
|
17774
17774
|
);
|
|
17775
17775
|
}, {
|
|
17776
|
-
message: "param2 must contain at least one of: '1h', '24h', '7d'",
|
|
17776
|
+
message: "param2 must contain at least one of: '1h', '24h', '7d', '14d', '30d', '200d', '1y'",
|
|
17777
17777
|
}).optional();
|
|
17778
17778
|
const priceSchema = objectType({
|
|
17779
17779
|
category: literalType('price'),
|
package/package.json
CHANGED