mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
3.4 KiB
Plaintext
1 line
3.4 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/x-randomvalues","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":25,"index":167},"end":{"line":5,"column":60,"index":202}}],"key":"nEW1sZ8d4gcVCyonGYZvCjqi5DI=","exportNames":["*"],"imports":1}},{"name":"../helpers.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":21,"index":225},"end":{"line":6,"column":45,"index":249}}],"key":"SE77CtsJgC8iI+dksCgETtr2kFg=","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.randomAsHex = void 0;\n exports.randomAsU8a = randomAsU8a;\n const x_randomvalues_1 = require(_dependencyMap[0], \"@polkadot/x-randomvalues\");\n const helpers_js_1 = require(_dependencyMap[1], \"../helpers.js\");\n /**\n * @name randomAsU8a\n * @summary Creates a Uint8Array filled with random bytes.\n * @description\n * Returns a `Uint8Array` with the specified (optional) length filled with random bytes.\n * @example\n * <BR>\n *\n * ```javascript\n * import { randomAsU8a } from '@polkadot/util-crypto';\n *\n * randomAsU8a(); // => Uint8Array([...])\n * ```\n */\n function randomAsU8a(length = 32) {\n return (0, x_randomvalues_1.getRandomValues)(new Uint8Array(length));\n }\n /**\n * @name randomAsHex\n * @description Creates a hex string filled with random bytes.\n */\n exports.randomAsHex = (0, helpers_js_1.createAsHex)(randomAsU8a);\n});","lineCount":33,"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,"randomAsHex"],[7,21,3,19],[7,24,3,22],[7,29,3,27],[7,30,3,28],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"randomAsU8a"],[8,21,4,19],[8,24,4,22,"randomAsU8a"],[8,35,4,33],[9,2,5,0],[9,8,5,6,"x_randomvalues_1"],[9,24,5,22],[9,27,5,25,"require"],[9,34,5,32],[9,35,5,32,"_dependencyMap"],[9,49,5,32],[9,80,5,59],[9,81,5,60],[10,2,6,0],[10,8,6,6,"helpers_js_1"],[10,20,6,18],[10,23,6,21,"require"],[10,30,6,28],[10,31,6,28,"_dependencyMap"],[10,45,6,28],[10,65,6,44],[10,66,6,45],[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,2,21,0],[25,11,21,9,"randomAsU8a"],[25,22,21,20,"randomAsU8a"],[25,23,21,21,"length"],[25,29,21,27],[25,32,21,30],[25,34,21,32],[25,36,21,34],[26,4,22,4],[26,11,22,11],[26,12,22,12],[26,13,22,13],[26,15,22,15,"x_randomvalues_1"],[26,31,22,31],[26,32,22,32,"getRandomValues"],[26,47,22,47],[26,49,22,49],[26,53,22,53,"Uint8Array"],[26,63,22,63],[26,64,22,64,"length"],[26,70,22,70],[26,71,22,71],[26,72,22,72],[27,2,23,0],[28,2,24,0],[29,0,25,0],[30,0,26,0],[31,0,27,0],[32,2,28,0,"exports"],[32,9,28,7],[32,10,28,8,"randomAsHex"],[32,21,28,19],[32,24,28,22],[32,25,28,23],[32,26,28,24],[32,28,28,26,"helpers_js_1"],[32,40,28,38],[32,41,28,39,"createAsHex"],[32,52,28,50],[32,54,28,52,"randomAsU8a"],[32,65,28,63],[32,66,28,64],[33,0,28,65],[33,3]],"functionMap":{"names":["<global>","randomAsU8a"],"mappings":"AAA;ACoB;CDE"},"hasCjsExports":true},"type":"js/module"}]} |