auto-commit for 155cdee4-7b20-4acf-ad4d-053760ff258d

This commit is contained in:
emergent-agent-e1
2025-10-24 02:48:32 +00:00
parent 02778c9714
commit 8d0ee162c0
1845 changed files with 1845 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"../u8a/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}],"key":"ni7N8kFqexhxzrkt71zvvxQnrBA=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":44},"end":{"line":2,"column":37,"index":81}}],"key":"3bOyH77e/8Wc8K55bqHxvmXdM0A=","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.bnToHex = bnToHex;\n var _u8aIndexJs = require(_dependencyMap[0], \"../u8a/index.js\");\n var _toU8aJs = require(_dependencyMap[1], \"./toU8a.js\");\n /**\n * @name bnToHex\n * @summary Creates a hex value from a BN.js bignumber object.\n * @description\n * `null` inputs returns a `0x` result, BN values return the actual value as a `0x` prefixed hex value. Anything that is not a BN object throws an error. With `bitLength` set, it fixes the number to the specified length.\n * @example\n * <BR>\n *\n * ```javascript\n * import BN from 'bn.js';\n * import { bnToHex } from '@polkadot/util';\n *\n * bnToHex(new BN(0x123456)); // => '0x123456'\n * ```\n */\n function bnToHex(value, {\n bitLength = -1,\n isLe = false,\n isNegative = false\n } = {}) {\n return (0, _u8aIndexJs.u8aToHex)((0, _toU8aJs.bnToU8a)(value, {\n bitLength,\n isLe,\n isNegative\n }));\n }\n});","lineCount":36,"map":[[7,2,18,0,"exports"],[7,9,18,0],[7,10,18,0,"bnToHex"],[7,17,18,0],[7,20,18,0,"bnToHex"],[7,27,18,0],[8,2,1,0],[8,6,1,0,"_u8aIndexJs"],[8,17,1,0],[8,20,1,0,"require"],[8,27,1,0],[8,28,1,0,"_dependencyMap"],[8,42,1,0],[9,2,2,0],[9,6,2,0,"_toU8aJs"],[9,14,2,0],[9,17,2,0,"require"],[9,24,2,0],[9,25,2,0,"_dependencyMap"],[9,39,2,0],[10,2,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,0,17,0],[25,2,18,7],[25,11,18,16,"bnToHex"],[25,18,18,23,"bnToHex"],[25,19,18,24,"value"],[25,24,18,29],[25,26,18,31],[26,4,18,33,"bitLength"],[26,13,18,42],[26,16,18,45],[26,17,18,46],[26,18,18,47],[27,4,18,49,"isLe"],[27,8,18,53],[27,11,18,56],[27,16,18,61],[28,4,18,63,"isNegative"],[28,14,18,73],[28,17,18,76],[29,2,18,82],[29,3,18,83],[29,6,18,86],[29,7,18,87],[29,8,18,88],[29,10,18,90],[30,4,19,4],[30,11,19,11],[30,15,19,11,"u8aToHex"],[30,26,19,19],[30,27,19,19,"u8aToHex"],[30,35,19,19],[30,37,19,20],[30,41,19,20,"bnToU8a"],[30,49,19,27],[30,50,19,27,"bnToU8a"],[30,57,19,27],[30,59,19,28,"value"],[30,64,19,33],[30,66,19,35],[31,6,19,37,"bitLength"],[31,15,19,46],[32,6,19,48,"isLe"],[32,10,19,52],[33,6,19,54,"isNegative"],[34,4,19,65],[34,5,19,66],[34,6,19,67],[34,7,19,68],[35,2,20,0],[36,0,20,1],[36,3]],"functionMap":{"names":["<global>","bnToHex"],"mappings":"AAA;OCiB;CDE"},"hasCjsExports":false},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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.bufferToU8a = bufferToU8a;\n /**\n * @name bufferToU8a\n * @summary Creates a Uint8Array value from a Buffer object.\n * @description\n * `null` inputs returns an empty result, `Buffer` values return the actual value as a `Uint8Array`. Anything that is not a `Buffer` object throws an error.\n * @example\n * <BR>\n *\n * ```javascript\n * import { bufferToU8a } from '@polkadot/util';\n *\n * bufferToU8a(Buffer.from([1, 2, 3]));\n * ```\n */\n function bufferToU8a(buffer) {\n return new Uint8Array(buffer || []);\n }\n});","lineCount":25,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"bufferToU8a"],[7,21,15,0],[7,24,15,0,"bufferToU8a"],[7,35,15,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,2,15,7],[22,11,15,16,"bufferToU8a"],[22,22,15,27,"bufferToU8a"],[22,23,15,28,"buffer"],[22,29,15,34],[22,31,15,36],[23,4,16,4],[23,11,16,11],[23,15,16,15,"Uint8Array"],[23,25,16,25],[23,26,16,26,"buffer"],[23,32,16,32],[23,36,16,36],[23,38,16,38],[23,39,16,39],[24,2,17,0],[25,0,17,1],[25,3]],"functionMap":{"names":["<global>","bufferToU8a"],"mappings":"AAA;OCc;CDE"},"hasCjsExports":false},"type":"js/module"}]}
File diff suppressed because one or more lines are too long