mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 18:01:02 +00:00
1 line
3.3 KiB
Plaintext
1 line
3.3 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/x-randomvalues","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":59,"index":59}}],"key":"k41Q6xbWv7gS3aQGTCzcivnwrUs=","exportNames":["*"],"imports":1}},{"name":"../helpers.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":60},"end":{"line":2,"column":44,"index":104}}],"key":"xGB1RU1bemGAHq3E44EIR7oSA2c=","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.randomAsU8a = randomAsU8a;\n Object.defineProperty(exports, \"randomAsHex\", {\n enumerable: true,\n get: function () {\n return randomAsHex;\n }\n });\n var _polkadotXRandomvalues = require(_dependencyMap[0], \"@polkadot/x-randomvalues\");\n var _helpersJs = 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, _polkadotXRandomvalues.getRandomValues)(new Uint8Array(length));\n }\n /**\n * @name randomAsHex\n * @description Creates a hex string filled with random bytes.\n */\n const randomAsHex = /*#__PURE__*/(0, _helpersJs.createAsHex)(randomAsU8a);\n});","lineCount":38,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"randomAsU8a"],[7,21,17,0],[7,24,17,0,"randomAsU8a"],[7,35,17,0],[8,2,24,0,"Object"],[8,8,24,0],[8,9,24,0,"defineProperty"],[8,23,24,0],[8,24,24,0,"exports"],[8,31,24,0],[9,4,24,0,"enumerable"],[9,14,24,0],[10,4,24,0,"get"],[10,7,24,0],[10,18,24,0,"get"],[10,19,24,0],[11,6,24,0],[11,13,24,0,"randomAsHex"],[11,24,24,0],[12,4,24,0],[13,2,24,0],[14,2,1,0],[14,6,1,0,"_polkadotXRandomvalues"],[14,28,1,0],[14,31,1,0,"require"],[14,38,1,0],[14,39,1,0,"_dependencyMap"],[14,53,1,0],[15,2,2,0],[15,6,2,0,"_helpersJs"],[15,16,2,0],[15,19,2,0,"require"],[15,26,2,0],[15,27,2,0,"_dependencyMap"],[15,41,2,0],[16,2,3,0],[17,0,4,0],[18,0,5,0],[19,0,6,0],[20,0,7,0],[21,0,8,0],[22,0,9,0],[23,0,10,0],[24,0,11,0],[25,0,12,0],[26,0,13,0],[27,0,14,0],[28,0,15,0],[29,0,16,0],[30,2,17,7],[30,11,17,16,"randomAsU8a"],[30,22,17,27,"randomAsU8a"],[30,23,17,28,"length"],[30,29,17,34],[30,32,17,37],[30,34,17,39],[30,36,17,41],[31,4,18,4],[31,11,18,11],[31,15,18,11,"getRandomValues"],[31,37,18,26],[31,38,18,26,"getRandomValues"],[31,53,18,26],[31,55,18,27],[31,59,18,31,"Uint8Array"],[31,69,18,41],[31,70,18,42,"length"],[31,76,18,48],[31,77,18,49],[31,78,18,50],[32,2,19,0],[33,2,20,0],[34,0,21,0],[35,0,22,0],[36,0,23,0],[37,2,24,7],[37,8,24,13,"randomAsHex"],[37,19,24,24],[37,22,24,27],[37,35,24,41],[37,39,24,41,"createAsHex"],[37,49,24,52],[37,50,24,52,"createAsHex"],[37,61,24,52],[37,63,24,53,"randomAsU8a"],[37,74,24,64],[37,75,24,65],[38,0,24,66],[38,3]],"functionMap":{"names":["<global>","randomAsU8a"],"mappings":"AAA;OCgB;CDE"},"hasCjsExports":false},"type":"js/module"}]} |