mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-07-24 15:15:41 +00:00
auto-commit for 9f0f8e53-0005-474a-b8c0-62af81dd2fd1
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.REGEX_HEX_NOPREFIX = exports.REGEX_HEX_PREFIXED = void 0;\n exports.isHex = isHex;\n exports.REGEX_HEX_PREFIXED = /^0x[\\da-fA-F]+$/;\n exports.REGEX_HEX_NOPREFIX = /^[\\da-fA-F]+$/;\n /**\n * @name isHex\n * @summary Tests for a hex string.\n * @description\n * Checks to see if the input value is a `0x` prefixed hex string. Optionally (`bitLength` !== -1) checks to see if the bitLength is correct.\n * @example\n * <BR>\n *\n * ```javascript\n * import { isHex } from '@polkadot/util';\n *\n * isHex('0x1234'); // => true\n * isHex('0x1234', 8); // => false\n * ```\n */\n function isHex(value, bitLength = -1, ignoreLength) {\n return typeof value === 'string' && (value === '0x' || exports.REGEX_HEX_PREFIXED.test(value)) && (bitLength === -1 ? ignoreLength || value.length % 2 === 0 : value.length === 2 + Math.ceil(bitLength / 4));\n }\n});","lineCount":29,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"REGEX_HEX_NOPREFIX"],[7,28,3,26],[7,31,3,29,"exports"],[7,38,3,36],[7,39,3,37,"REGEX_HEX_PREFIXED"],[7,57,3,55],[7,60,3,58],[7,65,3,63],[7,66,3,64],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"isHex"],[8,15,4,13],[8,18,4,16,"isHex"],[8,23,4,21],[9,2,5,0,"exports"],[9,9,5,7],[9,10,5,8,"REGEX_HEX_PREFIXED"],[9,28,5,26],[9,31,5,29],[9,48,5,46],[10,2,6,0,"exports"],[10,9,6,7],[10,10,6,8,"REGEX_HEX_NOPREFIX"],[10,28,6,26],[10,31,6,29],[10,46,6,44],[11,2,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,0,14,0],[19,0,15,0],[20,0,16,0],[21,0,17,0],[22,0,18,0],[23,0,19,0],[24,0,20,0],[25,0,21,0],[26,2,22,0],[26,11,22,9,"isHex"],[26,16,22,14,"isHex"],[26,17,22,15,"value"],[26,22,22,20],[26,24,22,22,"bitLength"],[26,33,22,31],[26,36,22,34],[26,37,22,35],[26,38,22,36],[26,40,22,38,"ignoreLength"],[26,52,22,50],[26,54,22,52],[27,4,23,4],[27,11,23,12],[27,18,23,19,"value"],[27,23,23,24],[27,28,23,29],[27,36,23,37],[27,41,23,42,"value"],[27,46,23,47],[27,51,23,52],[27,55,23,56],[27,59,24,8,"exports"],[27,66,24,15],[27,67,24,16,"REGEX_HEX_PREFIXED"],[27,85,24,34],[27,86,24,35,"test"],[27,90,24,39],[27,91,24,40,"value"],[27,96,24,45],[27,97,24,46],[27,98,24,47],[27,103,24,53,"bitLength"],[27,112,24,62],[27,117,24,67],[27,118,24,68],[27,119,24,69],[27,122,25,11,"ignoreLength"],[27,134,25,23],[27,138,25,28,"value"],[27,143,25,33],[27,144,25,34,"length"],[27,150,25,40],[27,153,25,43],[27,154,25,44],[27,159,25,49],[27,160,25,51],[27,163,26,11,"value"],[27,168,26,16],[27,169,26,17,"length"],[27,175,26,23],[27,180,26,29],[27,181,26,30],[27,184,26,33,"Math"],[27,188,26,37],[27,189,26,38,"ceil"],[27,193,26,42],[27,194,26,43,"bitLength"],[27,203,26,52],[27,206,26,55],[27,207,26,56],[27,208,26,59],[27,209,26,60],[28,2,27,0],[29,0,27,1],[29,3]],"functionMap":{"names":["<global>","isHex"],"mappings":"AAA;ACqB;CDK"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.runtime = void 0;\n exports.runtime = {\n StakingApi: [{\n methods: {\n nominations_quota: {\n description: 'Returns the nominations quota for a nominator with a given balance.',\n params: [{\n name: 'balance',\n type: 'Balance'\n }],\n type: 'u32'\n }\n },\n version: 1\n }]\n };\n});","lineCount":23,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"runtime"],[7,17,3,15],[7,20,3,18],[7,25,3,23],[7,26,3,24],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"runtime"],[8,17,4,15],[8,20,4,18],[9,4,5,4,"StakingApi"],[9,14,5,14],[9,16,5,16],[9,17,6,8],[10,6,7,12,"methods"],[10,13,7,19],[10,15,7,21],[11,8,8,16,"nominations_quota"],[11,25,8,33],[11,27,8,35],[12,10,9,20,"description"],[12,21,9,31],[12,23,9,33],[12,92,9,102],[13,10,10,20,"params"],[13,16,10,26],[13,18,10,28],[13,19,11,24],[14,12,12,28,"name"],[14,16,12,32],[14,18,12,34],[14,27,12,43],[15,12,13,28,"type"],[15,16,13,32],[15,18,13,34],[16,10,14,24],[16,11,14,25],[16,12,15,21],[17,10,16,20,"type"],[17,14,16,24],[17,16,16,26],[18,8,17,16],[19,6,18,12],[19,7,18,13],[20,6,19,12,"version"],[20,13,19,19],[20,15,19,21],[21,4,20,8],[21,5,20,9],[22,2,22,0],[22,3,22,1],[23,0,22,2],[23,3]],"functionMap":{"names":["<global>"],"mappings":"AAA"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user