mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 03:01:04 +00:00
auto-commit for 49610908-ca1e-46b7-8671-ad75c85b7aa2
This commit is contained in:
+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":[],"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 Object.defineProperty(exports, \"HARDENED\", {\n enumerable: true,\n get: function () {\n return HARDENED;\n }\n });\n exports.hdValidatePath = hdValidatePath;\n const HARDENED = 0x80000000;\n function hdValidatePath(path) {\n if (!path.startsWith('m/')) {\n return false;\n }\n const parts = path.split('/').slice(1);\n for (const p of parts) {\n const n = /^\\d+'?$/.test(p) ? parseInt(p.replace(/'$/, ''), 10) : Number.NaN;\n if (isNaN(n) || n >= HARDENED || n < 0) {\n return false;\n }\n }\n return true;\n }\n});","lineCount":28,"map":[[7,2,1,0,"Object"],[7,8,1,0],[7,9,1,0,"defineProperty"],[7,23,1,0],[7,24,1,0,"exports"],[7,31,1,0],[8,4,1,0,"enumerable"],[8,14,1,0],[9,4,1,0,"get"],[9,7,1,0],[9,18,1,0,"get"],[9,19,1,0],[10,6,1,0],[10,13,1,0,"HARDENED"],[10,21,1,0],[11,4,1,0],[12,2,1,0],[13,2,2,0,"exports"],[13,9,2,0],[13,10,2,0,"hdValidatePath"],[13,24,2,0],[13,27,2,0,"hdValidatePath"],[13,41,2,0],[14,2,1,7],[14,8,1,13,"HARDENED"],[14,16,1,21],[14,19,1,24],[14,29,1,34],[15,2,2,7],[15,11,2,16,"hdValidatePath"],[15,25,2,30,"hdValidatePath"],[15,26,2,31,"path"],[15,30,2,35],[15,32,2,37],[16,4,3,4],[16,8,3,8],[16,9,3,9,"path"],[16,13,3,13],[16,14,3,14,"startsWith"],[16,24,3,24],[16,25,3,25],[16,29,3,29],[16,30,3,30],[16,32,3,32],[17,6,4,8],[17,13,4,15],[17,18,4,20],[18,4,5,4],[19,4,6,4],[19,10,6,10,"parts"],[19,15,6,15],[19,18,6,18,"path"],[19,22,6,22],[19,23,6,23,"split"],[19,28,6,28],[19,29,6,29],[19,32,6,32],[19,33,6,33],[19,34,6,34,"slice"],[19,39,6,39],[19,40,6,40],[19,41,6,41],[19,42,6,42],[20,4,7,4],[20,9,7,9],[20,15,7,15,"p"],[20,16,7,16],[20,20,7,20,"parts"],[20,25,7,25],[20,27,7,27],[21,6,8,8],[21,12,8,14,"n"],[21,13,8,15],[21,16,8,18],[21,25,8,27],[21,26,8,28,"test"],[21,30,8,32],[21,31,8,33,"p"],[21,32,8,34],[21,33,8,35],[21,36,9,14,"parseInt"],[21,44,9,22],[21,45,9,23,"p"],[21,46,9,24],[21,47,9,25,"replace"],[21,54,9,32],[21,55,9,33],[21,59,9,37],[21,61,9,39],[21,63,9,41],[21,64,9,42],[21,66,9,44],[21,68,9,46],[21,69,9,47],[21,72,10,14,"Number"],[21,78,10,20],[21,79,10,21,"NaN"],[21,82,10,24],[22,6,11,8],[22,10,11,12,"isNaN"],[22,15,11,17],[22,16,11,18,"n"],[22,17,11,19],[22,18,11,20],[22,22,11,25,"n"],[22,23,11,26],[22,27,11,30,"HARDENED"],[22,35,11,39],[22,39,11,44,"n"],[22,40,11,45],[22,43,11,48],[22,44,11,50],[22,46,11,52],[23,8,12,12],[23,15,12,19],[23,20,12,24],[24,6,13,8],[25,4,14,4],[26,4,15,4],[26,11,15,11],[26,15,15,15],[27,2,16,0],[28,0,16,1],[28,3]],"functionMap":{"names":["<global>","hdValidatePath"],"mappings":"AAA;OCC;CDc"},"hasCjsExports":false},"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.u8aFixLength = u8aFixLength;\n /**\n * @name u8aFixLength\n * @summary Shifts a Uint8Array to a specific bitLength\n * @description\n * Returns a uint8Array with the specified number of bits contained in the return value. (If bitLength is -1, length checking is not done). Values with more bits are trimmed to the specified length.\n * @example\n * <BR>\n *\n * ```javascript\n * import { u8aFixLength } from '@polkadot/util';\n *\n * u8aFixLength('0x12') // => 0x12\n * u8aFixLength('0x12', 16) // => 0x0012\n * u8aFixLength('0x1234', 8) // => 0x12\n * ```\n */\n function u8aFixLength(value, bitLength = -1, atStart = false) {\n const byteLength = Math.ceil(bitLength / 8);\n if (bitLength === -1 || value.length === byteLength) {\n return value;\n } else if (value.length > byteLength) {\n return value.subarray(0, byteLength);\n }\n const result = new Uint8Array(byteLength);\n result.set(value, atStart ? 0 : byteLength - value.length);\n return result;\n }\n});","lineCount":35,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"u8aFixLength"],[7,22,17,0],[7,25,17,0,"u8aFixLength"],[7,37,17,0],[8,2,1,0],[9,0,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,0,16,0],[24,2,17,7],[24,11,17,16,"u8aFixLength"],[24,23,17,28,"u8aFixLength"],[24,24,17,29,"value"],[24,29,17,34],[24,31,17,36,"bitLength"],[24,40,17,45],[24,43,17,48],[24,44,17,49],[24,45,17,50],[24,47,17,52,"atStart"],[24,54,17,59],[24,57,17,62],[24,62,17,67],[24,64,17,69],[25,4,18,4],[25,10,18,10,"byteLength"],[25,20,18,20],[25,23,18,23,"Math"],[25,27,18,27],[25,28,18,28,"ceil"],[25,32,18,32],[25,33,18,33,"bitLength"],[25,42,18,42],[25,45,18,45],[25,46,18,46],[25,47,18,47],[26,4,19,4],[26,8,19,8,"bitLength"],[26,17,19,17],[26,22,19,22],[26,23,19,23],[26,24,19,24],[26,28,19,28,"value"],[26,33,19,33],[26,34,19,34,"length"],[26,40,19,40],[26,45,19,45,"byteLength"],[26,55,19,55],[26,57,19,57],[27,6,20,8],[27,13,20,15,"value"],[27,18,20,20],[28,4,21,4],[28,5,21,5],[28,11,22,9],[28,15,22,13,"value"],[28,20,22,18],[28,21,22,19,"length"],[28,27,22,25],[28,30,22,28,"byteLength"],[28,40,22,38],[28,42,22,40],[29,6,23,8],[29,13,23,15,"value"],[29,18,23,20],[29,19,23,21,"subarray"],[29,27,23,29],[29,28,23,30],[29,29,23,31],[29,31,23,33,"byteLength"],[29,41,23,43],[29,42,23,44],[30,4,24,4],[31,4,25,4],[31,10,25,10,"result"],[31,16,25,16],[31,19,25,19],[31,23,25,23,"Uint8Array"],[31,33,25,33],[31,34,25,34,"byteLength"],[31,44,25,44],[31,45,25,45],[32,4,26,4,"result"],[32,10,26,10],[32,11,26,11,"set"],[32,14,26,14],[32,15,26,15,"value"],[32,20,26,20],[32,22,26,22,"atStart"],[32,29,26,29],[32,32,26,32],[32,33,26,33],[32,36,26,37,"byteLength"],[32,46,26,47],[32,49,26,50,"value"],[32,54,26,55],[32,55,26,56,"length"],[32,61,26,63],[32,62,26,64],[33,4,27,4],[33,11,27,11,"result"],[33,17,27,17],[34,2,28,0],[35,0,28,1],[35,3]],"functionMap":{"names":["<global>","u8aFixLength"],"mappings":"AAA;OCgB;CDW"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user