mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
1 line
2.8 KiB
Plaintext
1 line
2.8 KiB
Plaintext
{"dependencies":[{"name":"../u8a/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":141},"end":{"line":4,"column":45,"index":167}}],"key":"dEG4NOO3lS4XIYROdhTL9E2mvmQ=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":188},"end":{"line":5,"column":40,"index":209}}],"key":"Tcj3fJY+iCFcEHg4eIK/gqKeizo=","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.compactAddLength = compactAddLength;\n const index_js_1 = require(_dependencyMap[0], \"../u8a/index.js\");\n const toU8a_js_1 = require(_dependencyMap[1], \"./toU8a.js\");\n /**\n * @name compactAddLength\n * @description Adds a length prefix to the input value\n * @example\n * <BR>\n *\n * ```javascript\n * import { compactAddLength } from '@polkadot/util';\n *\n * console.log(compactAddLength(new Uint8Array([0xde, 0xad, 0xbe, 0xef]))); // Uint8Array([4 << 2, 0xde, 0xad, 0xbe, 0xef])\n * ```\n */\n function compactAddLength(input) {\n return (0, index_js_1.u8aConcatStrict)([(0, toU8a_js_1.compactToU8a)(input.length), input]);\n }\n});","lineCount":25,"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,"compactAddLength"],[7,26,3,24],[7,29,3,27,"compactAddLength"],[7,45,3,43],[8,2,4,0],[8,8,4,6,"index_js_1"],[8,18,4,16],[8,21,4,19,"require"],[8,28,4,26],[8,29,4,26,"_dependencyMap"],[8,43,4,26],[8,65,4,44],[8,66,4,45],[9,2,5,0],[9,8,5,6,"toU8a_js_1"],[9,18,5,16],[9,21,5,19,"require"],[9,28,5,26],[9,29,5,26,"_dependencyMap"],[9,43,5,26],[9,60,5,39],[9,61,5,40],[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,2,18,0],[22,11,18,9,"compactAddLength"],[22,27,18,25,"compactAddLength"],[22,28,18,26,"input"],[22,33,18,31],[22,35,18,33],[23,4,19,4],[23,11,19,11],[23,12,19,12],[23,13,19,13],[23,15,19,15,"index_js_1"],[23,25,19,25],[23,26,19,26,"u8aConcatStrict"],[23,41,19,41],[23,43,19,43],[23,44,20,8],[23,45,20,9],[23,46,20,10],[23,48,20,12,"toU8a_js_1"],[23,58,20,22],[23,59,20,23,"compactToU8a"],[23,71,20,35],[23,73,20,37,"input"],[23,78,20,42],[23,79,20,43,"length"],[23,85,20,49],[23,86,20,50],[23,88,21,8,"input"],[23,93,21,13],[23,94,22,5],[23,95,22,6],[24,2,23,0],[25,0,23,1],[25,3]],"functionMap":{"names":["<global>","compactAddLength"],"mappings":"AAA;ACiB;CDK"},"hasCjsExports":true},"type":"js/module"}]} |