@proton/wrap-constants 0.2.22 → 0.2.25
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/parsers/index.d.ts +1 -0
- package/dist/parsers/login.d.ts +892 -0
- package/dist/parsers/pool.d.ts +1 -0
- package/dist/wrap-constants.cjs.development.js +6 -0
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +6 -1
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/parsers/index.ts +2 -1
- package/src/parsers/login.ts +9 -0
- package/src/parsers/pool.ts +1 -0
package/dist/parsers/pool.d.ts
CHANGED
|
@@ -1581,6 +1581,11 @@ var TOPICS = (_TOPICS = {}, _TOPICS[exports.ITopics.TRADES] = {
|
|
|
1581
1581
|
topic: exports.ITopics.ORDERS
|
|
1582
1582
|
}, _TOPICS);
|
|
1583
1583
|
|
|
1584
|
+
var loginAccountParamsV3Parser = /*#__PURE__*/z.z.object({
|
|
1585
|
+
email: z.z.string().optional(),
|
|
1586
|
+
verificationCode: z.z.string().optional()
|
|
1587
|
+
}).merge(generateAuthParser);
|
|
1588
|
+
|
|
1584
1589
|
var isSameToken = function isSameToken(token1, token2) {
|
|
1585
1590
|
return token1.xtokenSymbol === token2.xtokenSymbol && token1.xtokenPrecision === token2.xtokenPrecision && token1.xtokenContract === token2.xtokenContract;
|
|
1586
1591
|
};
|
|
@@ -1914,6 +1919,7 @@ exports.initializeCoins = initializeCoins;
|
|
|
1914
1919
|
exports.initializeConstants = initializeConstants;
|
|
1915
1920
|
exports.isInputInvalid = isInputInvalid;
|
|
1916
1921
|
exports.isSameToken = isSameToken;
|
|
1922
|
+
exports.loginAccountParamsV3Parser = loginAccountParamsV3Parser;
|
|
1917
1923
|
exports.median = median;
|
|
1918
1924
|
exports.ohlcvParser = ohlcvParser;
|
|
1919
1925
|
exports.orderHistoryParser = orderHistoryParser;
|