mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 03:01:04 +00:00
auto-commit for f8470fe1-4ce5-4123-a3e6-0b710ab3390a
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"./hasPrefix.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":23,"index":137},"end":{"line":4,"column":48,"index":162}}],"key":"7yfWMkdW9OtDgrx40hT4Nyi6w5U=","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.hexAddPrefix = hexAddPrefix;\n const hasPrefix_js_1 = require(_dependencyMap[0], \"./hasPrefix.js\");\n /**\n * @name hexAddPrefix\n * @summary Adds the `0x` prefix to string values.\n * @description\n * Returns a `0x` prefixed string from the input value. If the input is already prefixed, it is returned unchanged.\n * @example\n * <BR>\n *\n * ```javascript\n * import { hexAddPrefix } from '@polkadot/util';\n *\n * console.log('With prefix', hexAddPrefix('0a0b12')); // => 0x0a0b12\n * ```\n */\n function hexAddPrefix(value) {\n return value && (0, hasPrefix_js_1.hexHasPrefix)(value) ? value : `0x${value && value.length % 2 === 1 ? '0' : ''}${value || ''}`;\n }\n});","lineCount":26,"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,"hexAddPrefix"],[7,22,3,20],[7,25,3,23,"hexAddPrefix"],[7,37,3,35],[8,2,4,0],[8,8,4,6,"hasPrefix_js_1"],[8,22,4,20],[8,25,4,23,"require"],[8,32,4,30],[8,33,4,30,"_dependencyMap"],[8,47,4,30],[8,68,4,47],[8,69,4,48],[9,2,5,0],[10,0,6,0],[11,0,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,2,19,0],[23,11,19,9,"hexAddPrefix"],[23,23,19,21,"hexAddPrefix"],[23,24,19,22,"value"],[23,29,19,27],[23,31,19,29],[24,4,20,4],[24,11,20,11,"value"],[24,16,20,16],[24,20,20,20],[24,21,20,21],[24,22,20,22],[24,24,20,24,"hasPrefix_js_1"],[24,38,20,38],[24,39,20,39,"hexHasPrefix"],[24,51,20,51],[24,53,20,53,"value"],[24,58,20,58],[24,59,20,59],[24,62,21,10,"value"],[24,67,21,15],[24,70,22,10],[24,75,22,15,"value"],[24,80,22,20],[24,84,22,24,"value"],[24,89,22,29],[24,90,22,30,"length"],[24,96,22,36],[24,99,22,39],[24,100,22,40],[24,105,22,45],[24,106,22,46],[24,109,22,49],[24,112,22,52],[24,115,22,55],[24,117,22,57],[24,120,22,60,"value"],[24,125,22,65],[24,129,22,69],[24,131,22,71],[24,133,22,73],[25,2,23,0],[26,0,23,1],[26,3]],"functionMap":{"names":["<global>","hexAddPrefix"],"mappings":"AAA;ACkB;CDI"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":123},"end":{"line":4,"column":40,"index":148}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"./decode.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":20,"index":170},"end":{"line":5,"column":42,"index":192}}],"key":"NjDZuONZNxCfNbNOGpYxcMs1w6o=","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.addressEq = addressEq;\n const util_1 = require(_dependencyMap[0], \"@polkadot/util\");\n const decode_js_1 = require(_dependencyMap[1], \"./decode.js\");\n /**\n * @name addressEq\n * @summary Compares two addresses, either in ss58, Uint8Array or hex format.\n * @description\n * For the input values, return true is the underlying public keys do match.\n * @example\n * <BR>\n *\n * ```javascript\n * import { u8aEq } from '@polkadot/util';\n *\n * u8aEq(new Uint8Array([0x68, 0x65]), new Uint8Array([0x68, 0x65])); // true\n * ```\n */\n function addressEq(a, b) {\n return (0, util_1.u8aEq)((0, decode_js_1.decodeAddress)(a), (0, decode_js_1.decodeAddress)(b));\n }\n});","lineCount":27,"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,"addressEq"],[7,19,3,17],[7,22,3,20,"addressEq"],[7,31,3,29],[8,2,4,0],[8,8,4,6,"util_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,60,4,39],[8,61,4,40],[9,2,5,0],[9,8,5,6,"decode_js_1"],[9,19,5,17],[9,22,5,20,"require"],[9,29,5,27],[9,30,5,27,"_dependencyMap"],[9,44,5,27],[9,62,5,41],[9,63,5,42],[10,2,6,0],[11,0,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,2,20,0],[24,11,20,9,"addressEq"],[24,20,20,18,"addressEq"],[24,21,20,19,"a"],[24,22,20,20],[24,24,20,22,"b"],[24,25,20,23],[24,27,20,25],[25,4,21,4],[25,11,21,11],[25,12,21,12],[25,13,21,13],[25,15,21,15,"util_1"],[25,21,21,21],[25,22,21,22,"u8aEq"],[25,27,21,27],[25,29,21,29],[25,30,21,30],[25,31,21,31],[25,33,21,33,"decode_js_1"],[25,44,21,44],[25,45,21,45,"decodeAddress"],[25,58,21,58],[25,60,21,60,"a"],[25,61,21,61],[25,62,21,62],[25,64,21,64],[25,65,21,65],[25,66,21,66],[25,68,21,68,"decode_js_1"],[25,79,21,79],[25,80,21,80,"decodeAddress"],[25,93,21,93],[25,95,21,95,"b"],[25,96,21,96],[25,97,21,97],[25,98,21,98],[26,2,22,0],[27,0,22,1],[27,3]],"functionMap":{"names":["<global>","addressEq"],"mappings":"AAA;ACmB;CDE"},"hasCjsExports":true},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user