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":"rxjs","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}],"key":"PnOMrhZAPWoeW3ygrvUJ7ff768Y=","exportNames":["*"],"imports":1}},{"name":"../type/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":39},"end":{"line":2,"column":56,"index":95}}],"key":"Y5mGeO5lB5wTX1mC3PMDRWSB0bY=","exportNames":["*"],"imports":1}},{"name":"../util/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":96},"end":{"line":3,"column":40,"index":136}}],"key":"GRJlO1cmIj14nBxcasNpiq30og4=","exportNames":["*"],"imports":1}},{"name":"./util.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":137},"end":{"line":4,"column":45,"index":182}}],"key":"+UpHPazG/Yk8JnTjB6d2Eo+vUl4=","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.subscribeNewHeads = subscribeNewHeads;\n var _rxjs = require(_dependencyMap[0], \"rxjs\");\n var _typeIndexJs = require(_dependencyMap[1], \"../type/index.js\");\n var _utilIndexJs = require(_dependencyMap[2], \"../util/index.js\");\n var _utilJs = require(_dependencyMap[3], \"./util.js\");\n /**\n * @name subscribeNewHeads\n * @returns A header with the current header (including extracted author).\n * @description An observable of the current block header and it's author.\n * @example\n * ```javascript\n * api.derive.chain.subscribeNewHeads((header) => {\n * console.log(`block #${header.number} was authored by ${header.author}`);\n * });\n * ```\n */\n function subscribeNewHeads(instanceId, api) {\n return (0, _utilIndexJs.memo)(instanceId, () => api.rpc.chain.subscribeNewHeads().pipe((0, _rxjs.switchMap)(header => (0, _utilJs.getAuthorDetails)(api, header)), (0, _rxjs.map)(([header, validators, author]) => {\n header.createdAtHash = header.hash;\n return (0, _typeIndexJs.createHeaderExtended)(header.registry, header, validators, author);\n })));\n }\n});","lineCount":29,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"subscribeNewHeads"],[7,27,16,0],[7,30,16,0,"subscribeNewHeads"],[7,47,16,0],[8,2,1,0],[8,6,1,0,"_rxjs"],[8,11,1,0],[8,14,1,0,"require"],[8,21,1,0],[8,22,1,0,"_dependencyMap"],[8,36,1,0],[9,2,2,0],[9,6,2,0,"_typeIndexJs"],[9,18,2,0],[9,21,2,0,"require"],[9,28,2,0],[9,29,2,0,"_dependencyMap"],[9,43,2,0],[10,2,3,0],[10,6,3,0,"_utilIndexJs"],[10,18,3,0],[10,21,3,0,"require"],[10,28,3,0],[10,29,3,0,"_dependencyMap"],[10,43,3,0],[11,2,4,0],[11,6,4,0,"_utilJs"],[11,13,4,0],[11,16,4,0,"require"],[11,23,4,0],[11,24,4,0,"_dependencyMap"],[11,38,4,0],[12,2,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,2,16,7],[23,11,16,16,"subscribeNewHeads"],[23,28,16,33,"subscribeNewHeads"],[23,29,16,34,"instanceId"],[23,39,16,44],[23,41,16,46,"api"],[23,44,16,49],[23,46,16,51],[24,4,17,4],[24,11,17,11],[24,15,17,11,"memo"],[24,27,17,15],[24,28,17,15,"memo"],[24,32,17,15],[24,34,17,16,"instanceId"],[24,44,17,26],[24,46,17,28],[24,52,17,34,"api"],[24,55,17,37],[24,56,17,38,"rpc"],[24,59,17,41],[24,60,17,42,"chain"],[24,65,17,47],[24,66,17,48,"subscribeNewHeads"],[24,83,17,65],[24,84,17,66],[24,85,17,67],[24,86,17,68,"pipe"],[24,90,17,72],[24,91,17,73],[24,95,17,73,"switchMap"],[24,100,17,82],[24,101,17,82,"switchMap"],[24,110,17,82],[24,112,17,84,"header"],[24,118,17,90],[24,122,17,95],[24,126,17,95,"getAuthorDetails"],[24,133,17,111],[24,134,17,111,"getAuthorDetails"],[24,150,17,111],[24,152,17,112,"api"],[24,155,17,115],[24,157,17,117,"header"],[24,163,17,123],[24,164,17,124],[24,165,17,125],[24,167,17,127],[24,171,17,127,"map"],[24,176,17,130],[24,177,17,130,"map"],[24,180,17,130],[24,182,17,131],[24,183,17,132],[24,184,17,133,"header"],[24,190,17,139],[24,192,17,141,"validators"],[24,202,17,151],[24,204,17,153,"author"],[24,210,17,159],[24,211,17,160],[24,216,17,165],[25,6,18,8,"header"],[25,12,18,14],[25,13,18,15,"createdAtHash"],[25,26,18,28],[25,29,18,31,"header"],[25,35,18,37],[25,36,18,38,"hash"],[25,40,18,42],[26,6,19,8],[26,13,19,15],[26,17,19,15,"createHeaderExtended"],[26,29,19,35],[26,30,19,35,"createHeaderExtended"],[26,50,19,35],[26,52,19,36,"header"],[26,58,19,42],[26,59,19,43,"registry"],[26,67,19,51],[26,69,19,53,"header"],[26,75,19,59],[26,77,19,61,"validators"],[26,87,19,71],[26,89,19,73,"author"],[26,95,19,79],[26,96,19,80],[27,4,20,4],[27,5,20,5],[27,6,20,6],[27,7,20,7],[27,8,20,8],[28,2,21,0],[29,0,21,1],[29,3]],"functionMap":{"names":["<global>","subscribeNewHeads","memo$argument_1","switchMap$argument_0","map$argument_0"],"mappings":"AAA;OCe;4BCC,uDC,yCD,OE;KFG,ED;CDC"},"hasCjsExports":false},"type":"js/module"}]}
@@ -0,0 +1 @@
{"dependencies":[{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}],"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.u8aEq = u8aEq;\n var _toU8aJs = require(_dependencyMap[0], \"./toU8a.js\");\n /**\n * @name u8aEq\n * @summary Compares two Uint8Arrays for equality.\n * @description\n * For `UInt8Array` (or hex string) input values true if there is a match.\n * @example\n * <BR>\n *\n * ```javascript\n * import { u8aEq } from '@polkadot/util';\n *\n * u8aEq(new Uint8Array([0x68, 0x65]), new Uint8Array([0x68, 0x65])); // true\n * ```\n */\n function u8aEq(a, b) {\n const u8aa = (0, _toU8aJs.u8aToU8a)(a);\n const u8ab = (0, _toU8aJs.u8aToU8a)(b);\n if (u8aa.length === u8ab.length) {\n const dvA = new DataView(u8aa.buffer, u8aa.byteOffset);\n const dvB = new DataView(u8ab.buffer, u8ab.byteOffset);\n const mod = u8aa.length % 4 | 0;\n const length = u8aa.length - mod | 0;\n for (let i = 0; i < length; i += 4) {\n if (dvA.getUint32(i) !== dvB.getUint32(i)) {\n return false;\n }\n }\n for (let i = length, count = u8aa.length; i < count; i++) {\n if (u8aa[i] !== u8ab[i]) {\n return false;\n }\n }\n return true;\n }\n return false;\n }\n});","lineCount":45,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"u8aEq"],[7,15,16,0],[7,18,16,0,"u8aEq"],[7,23,16,0],[8,2,1,0],[8,6,1,0,"_toU8aJs"],[8,14,1,0],[8,17,1,0,"require"],[8,24,1,0],[8,25,1,0,"_dependencyMap"],[8,39,1,0],[9,2,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,0,15,0],[23,2,16,7],[23,11,16,16,"u8aEq"],[23,16,16,21,"u8aEq"],[23,17,16,22,"a"],[23,18,16,23],[23,20,16,25,"b"],[23,21,16,26],[23,23,16,28],[24,4,17,4],[24,10,17,10,"u8aa"],[24,14,17,14],[24,17,17,17],[24,21,17,17,"u8aToU8a"],[24,29,17,25],[24,30,17,25,"u8aToU8a"],[24,38,17,25],[24,40,17,26,"a"],[24,41,17,27],[24,42,17,28],[25,4,18,4],[25,10,18,10,"u8ab"],[25,14,18,14],[25,17,18,17],[25,21,18,17,"u8aToU8a"],[25,29,18,25],[25,30,18,25,"u8aToU8a"],[25,38,18,25],[25,40,18,26,"b"],[25,41,18,27],[25,42,18,28],[26,4,19,4],[26,8,19,8,"u8aa"],[26,12,19,12],[26,13,19,13,"length"],[26,19,19,19],[26,24,19,24,"u8ab"],[26,28,19,28],[26,29,19,29,"length"],[26,35,19,35],[26,37,19,37],[27,6,20,8],[27,12,20,14,"dvA"],[27,15,20,17],[27,18,20,20],[27,22,20,24,"DataView"],[27,30,20,32],[27,31,20,33,"u8aa"],[27,35,20,37],[27,36,20,38,"buffer"],[27,42,20,44],[27,44,20,46,"u8aa"],[27,48,20,50],[27,49,20,51,"byteOffset"],[27,59,20,61],[27,60,20,62],[28,6,21,8],[28,12,21,14,"dvB"],[28,15,21,17],[28,18,21,20],[28,22,21,24,"DataView"],[28,30,21,32],[28,31,21,33,"u8ab"],[28,35,21,37],[28,36,21,38,"buffer"],[28,42,21,44],[28,44,21,46,"u8ab"],[28,48,21,50],[28,49,21,51,"byteOffset"],[28,59,21,61],[28,60,21,62],[29,6,22,8],[29,12,22,14,"mod"],[29,15,22,17],[29,18,22,21,"u8aa"],[29,22,22,25],[29,23,22,26,"length"],[29,29,22,32],[29,32,22,35],[29,33,22,36],[29,36,22,40],[29,37,22,41],[30,6,23,8],[30,12,23,14,"length"],[30,18,23,20],[30,21,23,24,"u8aa"],[30,25,23,28],[30,26,23,29,"length"],[30,32,23,35],[30,35,23,38,"mod"],[30,38,23,41],[30,41,23,45],[30,42,23,46],[31,6,24,8],[31,11,24,13],[31,15,24,17,"i"],[31,16,24,18],[31,19,24,21],[31,20,24,22],[31,22,24,24,"i"],[31,23,24,25],[31,26,24,28,"length"],[31,32,24,34],[31,34,24,36,"i"],[31,35,24,37],[31,39,24,41],[31,40,24,42],[31,42,24,44],[32,8,25,12],[32,12,25,16,"dvA"],[32,15,25,19],[32,16,25,20,"getUint32"],[32,25,25,29],[32,26,25,30,"i"],[32,27,25,31],[32,28,25,32],[32,33,25,37,"dvB"],[32,36,25,40],[32,37,25,41,"getUint32"],[32,46,25,50],[32,47,25,51,"i"],[32,48,25,52],[32,49,25,53],[32,51,25,55],[33,10,26,16],[33,17,26,23],[33,22,26,28],[34,8,27,12],[35,6,28,8],[36,6,29,8],[36,11,29,13],[36,15,29,17,"i"],[36,16,29,18],[36,19,29,21,"length"],[36,25,29,27],[36,27,29,29,"count"],[36,32,29,34],[36,35,29,37,"u8aa"],[36,39,29,41],[36,40,29,42,"length"],[36,46,29,48],[36,48,29,50,"i"],[36,49,29,51],[36,52,29,54,"count"],[36,57,29,59],[36,59,29,61,"i"],[36,60,29,62],[36,62,29,64],[36,64,29,66],[37,8,30,12],[37,12,30,16,"u8aa"],[37,16,30,20],[37,17,30,21,"i"],[37,18,30,22],[37,19,30,23],[37,24,30,28,"u8ab"],[37,28,30,32],[37,29,30,33,"i"],[37,30,30,34],[37,31,30,35],[37,33,30,37],[38,10,31,16],[38,17,31,23],[38,22,31,28],[39,8,32,12],[40,6,33,8],[41,6,34,8],[41,13,34,15],[41,17,34,19],[42,4,35,4],[43,4,36,4],[43,11,36,11],[43,16,36,16],[44,2,37,0],[45,0,37,1],[45,3]],"functionMap":{"names":["<global>","u8aEq"],"mappings":"AAA;OCe;CDqB"},"hasCjsExports":false},"type":"js/module"}]}
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});","lineCount":3,"map":[[3,3]],"functionMap":{"names":["<global>"],"mappings":"AAA"},"hasCjsExports":false},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"./hyphenateProperty","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}}],"key":"H8O71MoJ0AWjZFTARiieipg/pYQ=","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 function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return resolveArrayValue;\n }\n });\n var _hyphenateProperty = require(_dependencyMap[0], \"./hyphenateProperty\");\n var hyphenateProperty = _interopDefault(_hyphenateProperty);\n function resolveArrayValue(property, value) {\n return value.join(';' + (0, hyphenateProperty.default)(property) + ':');\n }\n});","lineCount":23,"map":[[12,2,2,15,"Object"],[12,8,2,15],[12,9,2,15,"defineProperty"],[12,23,2,15],[12,24,2,15,"exports"],[12,31,2,15],[13,4,2,15,"enumerable"],[13,14,2,15],[14,4,2,15,"get"],[14,7,2,15],[14,18,2,15,"get"],[14,19,2,15],[15,6,2,15],[15,13,2,15,"resolveArrayValue"],[15,30,2,15],[16,4,2,15],[17,2,2,15],[18,2,1,0],[18,6,1,0,"_hyphenateProperty"],[18,24,1,0],[18,27,1,0,"require"],[18,34,1,0],[18,35,1,0,"_dependencyMap"],[18,49,1,0],[19,2,1,0],[19,6,1,0,"hyphenateProperty"],[19,23,1,0],[19,26,1,0,"_interopDefault"],[19,41,1,0],[19,42,1,0,"_hyphenateProperty"],[19,60,1,0],[20,2,2,15],[20,11,2,24,"resolveArrayValue"],[20,28,2,41,"resolveArrayValue"],[20,29,2,42,"property"],[20,37,2,50],[20,39,2,52,"value"],[20,44,2,57],[20,46,2,59],[21,4,3,2],[21,11,3,9,"value"],[21,16,3,14],[21,17,3,15,"join"],[21,21,3,19],[21,22,3,20],[21,25,3,23],[21,28,3,26],[21,32,3,26,"hyphenateProperty"],[21,49,3,43],[21,50,3,43,"default"],[21,57,3,43],[21,59,3,44,"property"],[21,67,3,52],[21,68,3,53],[21,71,3,56],[21,74,3,59],[21,75,3,60],[22,2,4,0],[23,0,4,1],[23,3]],"functionMap":{"names":["<global>","resolveArrayValue"],"mappings":"AAA;eCC"},"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.arrayChunk = arrayChunk;\n /**\n * @name arrayChunk\n * @summary Split T[] into T[][] based on the defind size\n * @description\n * Returns a set ao arrays based on the chunksize\n * @example\n * <BR>\n *\n * ```javascript\n * import { arrayChunk } from '@polkadot/util';\n *\n * arrayChunk([1, 2, 3, 4, 5]); // [[1, 2], [3, 4], [5]]\n * ```\n */\n function arrayChunk(array, chunkSize) {\n const outputSize = Math.ceil(array.length / chunkSize);\n // shortcut for the single-split case\n if (outputSize === 1) {\n return [array];\n }\n const output = Array(outputSize);\n for (let i = 0; i < outputSize; i++) {\n const offset = i * chunkSize;\n output[i] = array.slice(offset, offset + chunkSize);\n }\n return output;\n }\n});","lineCount":35,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"arrayChunk"],[7,20,15,0],[7,23,15,0,"arrayChunk"],[7,33,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,"arrayChunk"],[22,21,15,26,"arrayChunk"],[22,22,15,27,"array"],[22,27,15,32],[22,29,15,34,"chunkSize"],[22,38,15,43],[22,40,15,45],[23,4,16,4],[23,10,16,10,"outputSize"],[23,20,16,20],[23,23,16,23,"Math"],[23,27,16,27],[23,28,16,28,"ceil"],[23,32,16,32],[23,33,16,33,"array"],[23,38,16,38],[23,39,16,39,"length"],[23,45,16,45],[23,48,16,48,"chunkSize"],[23,57,16,57],[23,58,16,58],[24,4,17,4],[25,4,18,4],[25,8,18,8,"outputSize"],[25,18,18,18],[25,23,18,23],[25,24,18,24],[25,26,18,26],[26,6,19,8],[26,13,19,15],[26,14,19,16,"array"],[26,19,19,21],[26,20,19,22],[27,4,20,4],[28,4,21,4],[28,10,21,10,"output"],[28,16,21,16],[28,19,21,19,"Array"],[28,24,21,24],[28,25,21,25,"outputSize"],[28,35,21,35],[28,36,21,36],[29,4,22,4],[29,9,22,9],[29,13,22,13,"i"],[29,14,22,14],[29,17,22,17],[29,18,22,18],[29,20,22,20,"i"],[29,21,22,21],[29,24,22,24,"outputSize"],[29,34,22,34],[29,36,22,36,"i"],[29,37,22,37],[29,39,22,39],[29,41,22,41],[30,6,23,8],[30,12,23,14,"offset"],[30,18,23,20],[30,21,23,23,"i"],[30,22,23,24],[30,25,23,27,"chunkSize"],[30,34,23,36],[31,6,24,8,"output"],[31,12,24,14],[31,13,24,15,"i"],[31,14,24,16],[31,15,24,17],[31,18,24,20,"array"],[31,23,24,25],[31,24,24,26,"slice"],[31,29,24,31],[31,30,24,32,"offset"],[31,36,24,38],[31,38,24,40,"offset"],[31,44,24,46],[31,47,24,49,"chunkSize"],[31,56,24,58],[31,57,24,59],[32,4,25,4],[33,4,26,4],[33,11,26,11,"output"],[33,17,26,17],[34,2,27,0],[35,0,27,1],[35,3]],"functionMap":{"names":["<global>","arrayChunk"],"mappings":"AAA;OCc;CDY"},"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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long