mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 07:41:01 +00:00
auto-commit for d4766860-f253-4ebc-a836-6c1ca9f17d9a
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"../is/hex.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}],"key":"FRvNFhyKsGuWVMufkKejTO9l7S0=","exportNames":["*"],"imports":1}}],"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.hexHasPrefix = hexHasPrefix;\n var _isHexJs = require(_dependencyMap[0], \"../is/hex.js\");\n /**\n * @name hexHasPrefix\n * @summary Tests for the existence of a `0x` prefix.\n * @description\n * Checks for a valid hex input value and if the start matched `0x`\n * @example\n * <BR>\n *\n * ```javascript\n * import { hexHasPrefix } from '@polkadot/util';\n *\n * console.log('has prefix', hexHasPrefix('0x1234')); // => true\n * ```\n */\n function hexHasPrefix(value) {\n return !!value && (0, _isHexJs.isHex)(value, -1);\n }\n});","lineCount":26,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"hexHasPrefix"],[7,22,16,0],[7,25,16,0,"hexHasPrefix"],[7,37,16,0],[8,2,1,0],[8,6,1,0,"_isHexJs"],[8,14,1,0],[8,17,1,0,"require"],[8,24,1,0],[8,25,1,0,"_dependencyMap"],[8,39,1,0],[9,2,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,2,16,7],[23,11,16,16,"hexHasPrefix"],[23,23,16,28,"hexHasPrefix"],[23,24,16,29,"value"],[23,29,16,34],[23,31,16,36],[24,4,17,4],[24,11,17,11],[24,12,17,12],[24,13,17,13,"value"],[24,18,17,18],[24,22,17,22],[24,26,17,22,"isHex"],[24,34,17,27],[24,35,17,27,"isHex"],[24,40,17,27],[24,42,17,28,"value"],[24,47,17,33],[24,49,17,35],[24,50,17,36],[24,51,17,37],[24,52,17,38],[25,2,18,0],[26,0,18,1],[26,3]],"functionMap":{"names":["<global>","hexHasPrefix"],"mappings":"AAA;OCe;CDE"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"@polkadot/x-bigint","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":44,"index":44}}],"key":"Xafw1y4jIaVcNbHtayie8UfNWW8=","exportNames":["*"],"imports":1}},{"name":"../u8a/toBigInt.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":45},"end":{"line":2,"column":49,"index":94}}],"key":"oSvBbo31uiokbwajHfSVo379sTI=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":95},"end":{"line":3,"column":38,"index":133}}],"key":"3bOyH77e/8Wc8K55bqHxvmXdM0A=","exportNames":["*"],"imports":1}}],"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.hexToBigInt = hexToBigInt;\n var _polkadotXBigint = require(_dependencyMap[0], \"@polkadot/x-bigint\");\n var _u8aToBigIntJs = require(_dependencyMap[1], \"../u8a/toBigInt.js\");\n var _toU8aJs = require(_dependencyMap[2], \"./toU8a.js\");\n /**\n * @name hexToBigInt\n * @summary Creates a BigInt instance object from a hex string.\n */\n function hexToBigInt(value) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$isLe = _ref.isLe,\n isLe = _ref$isLe === void 0 ? false : _ref$isLe,\n _ref$isNegative = _ref.isNegative,\n isNegative = _ref$isNegative === void 0 ? false : _ref$isNegative;\n return !value || value === '0x' ? (0, _polkadotXBigint.BigInt)(0) : (0, _u8aToBigIntJs.u8aToBigInt)((0, _toU8aJs.hexToU8a)(value), {\n isLe: isLe,\n isNegative: isNegative\n });\n }\n});","lineCount":26,"map":[[7,2,8,0,"exports"],[7,9,8,0],[7,10,8,0,"hexToBigInt"],[7,21,8,0],[7,24,8,0,"hexToBigInt"],[7,35,8,0],[8,2,1,0],[8,6,1,0,"_polkadotXBigint"],[8,22,1,0],[8,25,1,0,"require"],[8,32,1,0],[8,33,1,0,"_dependencyMap"],[8,47,1,0],[9,2,2,0],[9,6,2,0,"_u8aToBigIntJs"],[9,20,2,0],[9,23,2,0,"require"],[9,30,2,0],[9,31,2,0,"_dependencyMap"],[9,45,2,0],[10,2,3,0],[10,6,3,0,"_toU8aJs"],[10,14,3,0],[10,17,3,0,"require"],[10,24,3,0],[10,25,3,0,"_dependencyMap"],[10,39,3,0],[11,2,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,2,8,7],[15,11,8,16,"hexToBigInt"],[15,22,8,27,"hexToBigInt"],[15,23,8,28,"value"],[15,28,8,33],[15,30,8,78],[16,4,8,78],[16,8,8,78,"_ref"],[16,12,8,78],[16,15,8,78,"arguments"],[16,24,8,78],[16,25,8,78,"length"],[16,31,8,78],[16,39,8,78,"arguments"],[16,48,8,78],[16,56,8,78,"undefined"],[16,65,8,78],[16,68,8,78,"arguments"],[16,77,8,78],[16,83,8,74],[16,84,8,75],[16,85,8,76],[17,6,8,76,"_ref$isLe"],[17,15,8,76],[17,18,8,76,"_ref"],[17,22,8,76],[17,23,8,37,"isLe"],[17,27,8,41],[18,6,8,37,"isLe"],[18,10,8,41],[18,13,8,41,"_ref$isLe"],[18,22,8,41],[18,36,8,44],[18,41,8,49],[18,44,8,49,"_ref$isLe"],[18,53,8,49],[19,6,8,49,"_ref$isNegative"],[19,21,8,49],[19,24,8,49,"_ref"],[19,28,8,49],[19,29,8,51,"isNegative"],[19,39,8,61],[20,6,8,51,"isNegative"],[20,16,8,61],[20,19,8,61,"_ref$isNegative"],[20,34,8,61],[20,48,8,64],[20,53,8,69],[20,56,8,69,"_ref$isNegative"],[20,71,8,69],[21,4,9,4],[21,11,9,11],[21,12,9,12,"value"],[21,17,9,17],[21,21,9,21,"value"],[21,26,9,26],[21,31,9,31],[21,35,9,35],[21,38,10,10],[21,42,10,10,"BigInt"],[21,58,10,16],[21,59,10,16,"BigInt"],[21,65,10,16],[21,67,10,17],[21,68,10,18],[21,69,10,19],[21,72,11,10],[21,76,11,10,"u8aToBigInt"],[21,90,11,21],[21,91,11,21,"u8aToBigInt"],[21,102,11,21],[21,104,11,22],[21,108,11,22,"hexToU8a"],[21,116,11,30],[21,117,11,30,"hexToU8a"],[21,125,11,30],[21,127,11,31,"value"],[21,132,11,36],[21,133,11,37],[21,135,11,39],[22,6,11,41,"isLe"],[22,10,11,45],[22,12,11,41,"isLe"],[22,16,11,45],[23,6,11,47,"isNegative"],[23,16,11,57],[23,18,11,47,"isNegative"],[24,4,11,58],[24,5,11,59],[24,6,11,60],[25,2,12,0],[26,0,12,1],[26,3]],"functionMap":{"names":["<global>","hexToBigInt"],"mappings":"AAA;OCO;CDI"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user