auto-commit for cec575c0-476c-4bef-83da-9ee19fcf043c

This commit is contained in:
emergent-agent-e1
2025-11-08 10:07:13 +00:00
parent e576e8b1ef
commit 8ed8fb904f
2784 changed files with 2784 additions and 0 deletions
@@ -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.floatToU8a = floatToU8a;\n /**\n * @name floatToU8a\n * @description Converts a float into a U8a representation (While we don't use BE in SCALE\n * we still allow for either representation, although, as elsewhere, isLe is default)\n */\n function floatToU8a() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0.0;\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$bitLength = _ref.bitLength,\n bitLength = _ref$bitLength === void 0 ? 32 : _ref$bitLength,\n _ref$isLe = _ref.isLe,\n isLe = _ref$isLe === void 0 ? true : _ref$isLe;\n if (bitLength !== 32 && bitLength !== 64) {\n throw new Error('Invalid bitLength provided, expected 32 or 64');\n }\n var result = new Uint8Array(bitLength / 8);\n var dv = new DataView(result.buffer, result.byteOffset);\n if (bitLength === 32) {\n dv.setFloat32(0, Number(value), isLe);\n } else {\n dv.setFloat64(0, Number(value), isLe);\n }\n return result;\n }\n});","lineCount":32,"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,"floatToU8a"],[7,20,3,18],[7,23,3,21,"floatToU8a"],[7,33,3,31],[8,2,4,0],[9,0,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,2,9,0],[13,11,9,9,"floatToU8a"],[13,21,9,19,"floatToU8a"],[13,22,9,19],[13,24,9,71],[14,4,9,71],[14,8,9,20,"value"],[14,13,9,25],[14,16,9,25,"arguments"],[14,25,9,25],[14,26,9,25,"length"],[14,32,9,25],[14,40,9,25,"arguments"],[14,49,9,25],[14,57,9,25,"undefined"],[14,66,9,25],[14,69,9,25,"arguments"],[14,78,9,25],[14,84,9,28],[14,87,9,31],[15,4,9,31],[15,8,9,31,"_ref"],[15,12,9,31],[15,15,9,31,"arguments"],[15,24,9,31],[15,25,9,31,"length"],[15,31,9,31],[15,39,9,31,"arguments"],[15,48,9,31],[15,56,9,31,"undefined"],[15,65,9,31],[15,68,9,31,"arguments"],[15,77,9,31],[15,83,9,67],[15,84,9,68],[15,85,9,69],[16,6,9,69,"_ref$bitLength"],[16,20,9,69],[16,23,9,69,"_ref"],[16,27,9,69],[16,28,9,35,"bitLength"],[16,37,9,44],[17,6,9,35,"bitLength"],[17,15,9,44],[17,18,9,44,"_ref$bitLength"],[17,32,9,44],[17,46,9,47],[17,48,9,49],[17,51,9,49,"_ref$bitLength"],[17,65,9,49],[18,6,9,49,"_ref$isLe"],[18,15,9,49],[18,18,9,49,"_ref"],[18,22,9,49],[18,23,9,51,"isLe"],[18,27,9,55],[19,6,9,51,"isLe"],[19,10,9,55],[19,13,9,55,"_ref$isLe"],[19,22,9,55],[19,36,9,58],[19,40,9,62],[19,43,9,62,"_ref$isLe"],[19,52,9,62],[20,4,10,4],[20,8,10,8,"bitLength"],[20,17,10,17],[20,22,10,22],[20,24,10,24],[20,28,10,28,"bitLength"],[20,37,10,37],[20,42,10,42],[20,44,10,44],[20,46,10,46],[21,6,11,8],[21,12,11,14],[21,16,11,18,"Error"],[21,21,11,23],[21,22,11,24],[21,69,11,71],[21,70,11,72],[22,4,12,4],[23,4,13,4],[23,8,13,10,"result"],[23,14,13,16],[23,17,13,19],[23,21,13,23,"Uint8Array"],[23,31,13,33],[23,32,13,34,"bitLength"],[23,41,13,43],[23,44,13,46],[23,45,13,47],[23,46,13,48],[24,4,14,4],[24,8,14,10,"dv"],[24,10,14,12],[24,13,14,15],[24,17,14,19,"DataView"],[24,25,14,27],[24,26,14,28,"result"],[24,32,14,34],[24,33,14,35,"buffer"],[24,39,14,41],[24,41,14,43,"result"],[24,47,14,49],[24,48,14,50,"byteOffset"],[24,58,14,60],[24,59,14,61],[25,4,15,4],[25,8,15,8,"bitLength"],[25,17,15,17],[25,22,15,22],[25,24,15,24],[25,26,15,26],[26,6,16,8,"dv"],[26,8,16,10],[26,9,16,11,"setFloat32"],[26,19,16,21],[26,20,16,22],[26,21,16,23],[26,23,16,25,"Number"],[26,29,16,31],[26,30,16,32,"value"],[26,35,16,37],[26,36,16,38],[26,38,16,40,"isLe"],[26,42,16,44],[26,43,16,45],[27,4,17,4],[27,5,17,5],[27,11,18,9],[28,6,19,8,"dv"],[28,8,19,10],[28,9,19,11,"setFloat64"],[28,19,19,21],[28,20,19,22],[28,21,19,23],[28,23,19,25,"Number"],[28,29,19,31],[28,30,19,32,"value"],[28,35,19,37],[28,36,19,38],[28,38,19,40,"isLe"],[28,42,19,44],[28,43,19,45],[29,4,20,4],[30,4,21,4],[30,11,21,11,"result"],[30,17,21,17],[31,2,22,0],[32,0,22,1],[32,3]],"functionMap":{"names":["<global>","floatToU8a"],"mappings":"AAA;ACQ;CDa"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"tslib","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":3,"column":16,"index":93},"end":{"line":3,"column":32,"index":109}}],"key":"vm88vOsSPZItrLOmMEyUuGkd1y4=","exportNames":["*"],"imports":1}},{"name":"./crypto","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":21,"index":132},"end":{"line":4,"column":40,"index":151}}],"key":"UlGPg8imq53Of+pf4vVtgObCfOQ=","exportNames":["*"],"imports":1}},{"name":"./env","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":21,"index":184},"end":{"line":5,"column":37,"index":200}}],"key":"GSS4TBkrLSYCHbLb3hGkieNEhpc=","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 var tslib_1 = require(_dependencyMap[0], \"tslib\");\n tslib_1.__exportStar(require(_dependencyMap[1], \"./crypto\"), exports);\n tslib_1.__exportStar(require(_dependencyMap[2], \"./env\"), exports);\n});","lineCount":10,"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],[7,6,3,6,"tslib_1"],[7,13,3,13],[7,16,3,16,"require"],[7,23,3,23],[7,24,3,23,"_dependencyMap"],[7,38,3,23],[7,50,3,31],[7,51,3,32],[8,2,4,0,"tslib_1"],[8,9,4,7],[8,10,4,8,"__exportStar"],[8,22,4,20],[8,23,4,21,"require"],[8,30,4,28],[8,31,4,28,"_dependencyMap"],[8,45,4,28],[8,60,4,39],[8,61,4,40],[8,63,4,42,"exports"],[8,70,4,49],[8,71,4,50],[9,2,5,0,"tslib_1"],[9,9,5,7],[9,10,5,8,"__exportStar"],[9,22,5,20],[9,23,5,21,"require"],[9,30,5,28],[9,31,5,28,"_dependencyMap"],[9,45,5,28],[9,57,5,36],[9,58,5,37],[9,60,5,39,"exports"],[9,67,5,46],[9,68,5,47],[10,0,5,48],[10,3]],"functionMap":{"names":["<global>"],"mappings":"AAA"},"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
@@ -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.stringShorten = stringShorten;\n /**\n * @name stringShorten\n * @summary Returns a string with maximum length\n * @description\n * Checks the string against the `prefixLength`, if longer than double this, shortens it by placing `..` in the middle of it\n * @example\n * <BR>\n *\n * ```javascript\n * import { stringShorten } from '@polkadot/util';\n *\n * stringShorten('1234567890', 2); // => 12..90\n * ```\n */\n function stringShorten(value) {\n var prefixLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;\n return value.length <= 2 + 2 * prefixLength ? value.toString() : `${value.substring(0, prefixLength)}…${value.slice(-prefixLength)}`;\n }\n});","lineCount":26,"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,"stringShorten"],[7,23,3,21],[7,26,3,24,"stringShorten"],[7,39,3,37],[8,2,4,0],[9,0,5,0],[10,0,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,"stringShorten"],[22,24,18,22,"stringShorten"],[22,25,18,23,"value"],[22,30,18,28],[22,32,18,48],[23,4,18,48],[23,8,18,30,"prefixLength"],[23,20,18,42],[23,23,18,42,"arguments"],[23,32,18,42],[23,33,18,42,"length"],[23,39,18,42],[23,47,18,42,"arguments"],[23,56,18,42],[23,64,18,42,"undefined"],[23,73,18,42],[23,76,18,42,"arguments"],[23,85,18,42],[23,91,18,45],[23,92,18,46],[24,4,19,4],[24,11,19,11,"value"],[24,16,19,16],[24,17,19,17,"length"],[24,23,19,23],[24,27,19,27],[24,28,19,28],[24,31,19,31],[24,32,19,32],[24,35,19,35,"prefixLength"],[24,47,19,47],[24,50,20,10,"value"],[24,55,20,15],[24,56,20,16,"toString"],[24,64,20,24],[24,65,20,25],[24,66,20,26],[24,69,21,10],[24,72,21,13,"value"],[24,77,21,18],[24,78,21,19,"substring"],[24,87,21,28],[24,88,21,29],[24,89,21,30],[24,91,21,32,"prefixLength"],[24,103,21,44],[24,104,21,45],[24,108,21,49,"value"],[24,113,21,54],[24,114,21,55,"slice"],[24,119,21,60],[24,120,21,61],[24,121,21,62,"prefixLength"],[24,133,21,74],[24,134,21,75],[24,136,21,77],[25,2,22,0],[26,0,22,1],[26,3]],"functionMap":{"names":["<global>","stringShorten"],"mappings":"AAA;ACiB;CDI"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long