auto-commit for f8470fe1-4ce5-4123-a3e6-0b710ab3390a

This commit is contained in:
emergent-agent-e1
2025-11-08 07:19:17 +00:00
parent 92245c9124
commit dd2549e54a
1911 changed files with 1911 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"../util/EmptyError","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":127},"end":{"line":4,"column":48,"index":156}}],"key":"bmd4/FitT0H4WOqsRg0pJ7ZtnvU=","exportNames":["*"],"imports":1}},{"name":"../util/lift","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":13,"index":171},"end":{"line":5,"column":36,"index":194}}],"key":"QCxE0PdfaUm4cT9qPVYaaaoo46A=","exportNames":["*"],"imports":1}},{"name":"./OperatorSubscriber","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":27,"index":223},"end":{"line":6,"column":58,"index":254}}],"key":"5a4JxA+rxI0MIxewBKZddpWmHrQ=","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.throwIfEmpty = void 0;\n var EmptyError_1 = require(_dependencyMap[0], \"../util/EmptyError\");\n var lift_1 = require(_dependencyMap[1], \"../util/lift\");\n var OperatorSubscriber_1 = require(_dependencyMap[2], \"./OperatorSubscriber\");\n function throwIfEmpty(errorFactory) {\n if (errorFactory === void 0) {\n errorFactory = defaultErrorFactory;\n }\n return lift_1.operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () {\n return hasValue ? subscriber.complete() : subscriber.error(errorFactory());\n }));\n });\n }\n exports.throwIfEmpty = throwIfEmpty;\n function defaultErrorFactory() {\n return new EmptyError_1.EmptyError();\n }\n});","lineCount":29,"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,"throwIfEmpty"],[7,22,3,20],[7,25,3,23],[7,30,3,28],[7,31,3,29],[8,2,4,0],[8,6,4,4,"EmptyError_1"],[8,18,4,16],[8,21,4,19,"require"],[8,28,4,26],[8,29,4,26,"_dependencyMap"],[8,43,4,26],[8,68,4,47],[8,69,4,48],[9,2,5,0],[9,6,5,4,"lift_1"],[9,12,5,10],[9,15,5,13,"require"],[9,22,5,20],[9,23,5,20,"_dependencyMap"],[9,37,5,20],[9,56,5,35],[9,57,5,36],[10,2,6,0],[10,6,6,4,"OperatorSubscriber_1"],[10,26,6,24],[10,29,6,27,"require"],[10,36,6,34],[10,37,6,34,"_dependencyMap"],[10,51,6,34],[10,78,6,57],[10,79,6,58],[11,2,7,0],[11,11,7,9,"throwIfEmpty"],[11,23,7,21,"throwIfEmpty"],[11,24,7,22,"errorFactory"],[11,36,7,34],[11,38,7,36],[12,4,8,4],[12,8,8,8,"errorFactory"],[12,20,8,20],[12,25,8,25],[12,30,8,30],[12,31,8,31],[12,33,8,33],[13,6,8,35,"errorFactory"],[13,18,8,47],[13,21,8,50,"defaultErrorFactory"],[13,40,8,69],[14,4,8,71],[15,4,9,4],[15,11,9,11,"lift_1"],[15,17,9,17],[15,18,9,18,"operate"],[15,25,9,25],[15,26,9,26],[15,36,9,36,"source"],[15,42,9,42],[15,44,9,44,"subscriber"],[15,54,9,54],[15,56,9,56],[16,6,10,8],[16,10,10,12,"hasValue"],[16,18,10,20],[16,21,10,23],[16,26,10,28],[17,6,11,8,"source"],[17,12,11,14],[17,13,11,15,"subscribe"],[17,22,11,24],[17,23,11,25,"OperatorSubscriber_1"],[17,43,11,45],[17,44,11,46,"createOperatorSubscriber"],[17,68,11,70],[17,69,11,71,"subscriber"],[17,79,11,81],[17,81,11,83],[17,91,11,93,"value"],[17,96,11,98],[17,98,11,100],[18,8,12,12,"hasValue"],[18,16,12,20],[18,19,12,23],[18,23,12,27],[19,8,13,12,"subscriber"],[19,18,13,22],[19,19,13,23,"next"],[19,23,13,27],[19,24,13,28,"value"],[19,29,13,33],[19,30,13,34],[20,6,14,8],[20,7,14,9],[20,9,14,11],[20,21,14,23],[21,8,14,25],[21,15,14,33,"hasValue"],[21,23,14,41],[21,26,14,44,"subscriber"],[21,36,14,54],[21,37,14,55,"complete"],[21,45,14,63],[21,46,14,64],[21,47,14,65],[21,50,14,68,"subscriber"],[21,60,14,78],[21,61,14,79,"error"],[21,66,14,84],[21,67,14,85,"errorFactory"],[21,79,14,97],[21,80,14,98],[21,81,14,99],[21,82,14,100],[22,6,14,103],[22,7,14,104],[22,8,14,105],[22,9,14,106],[23,4,15,4],[23,5,15,5],[23,6,15,6],[24,2,16,0],[25,2,17,0,"exports"],[25,9,17,7],[25,10,17,8,"throwIfEmpty"],[25,22,17,20],[25,25,17,23,"throwIfEmpty"],[25,37,17,35],[26,2,18,0],[26,11,18,9,"defaultErrorFactory"],[26,30,18,28,"defaultErrorFactory"],[26,31,18,28],[26,33,18,31],[27,4,19,4],[27,11,19,11],[27,15,19,15,"EmptyError_1"],[27,27,19,27],[27,28,19,28,"EmptyError"],[27,38,19,38],[27,39,19,39],[27,40,19,40],[28,2,20,0],[29,0,20,1],[29,3]],"functionMap":{"names":["<global>","throwIfEmpty","lift_1.operate$argument_0","OperatorSubscriber_1.createOperatorSubscriber$argument_1","OperatorSubscriber_1.createOperatorSubscriber$argument_2","defaultErrorFactory"],"mappings":"AAA;ACM;0BCE;mFCE;SDG,EE,6FF;KDC;CDC;AKE;CLE"},"hasCjsExports":true},"type":"js/module"}]}
@@ -0,0 +1 @@
{"dependencies":[{"name":"rxjs","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":113},"end":{"line":4,"column":30,"index":128}}],"key":"atDzfUGaJNRNtwyVumomzH/5ygw=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":15,"index":145},"end":{"line":5,"column":40,"index":170}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"./drr.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":17,"index":189},"end":{"line":6,"column":36,"index":208}}],"key":"RJIkLfUM9OQlmo1PwR9tS45OvJo=","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.memo = memo;\n const rxjs_1 = require(_dependencyMap[0], \"rxjs\");\n const util_1 = require(_dependencyMap[1], \"@polkadot/util\");\n const drr_js_1 = require(_dependencyMap[2], \"./drr.js\");\n /** @internal */\n function memo(instanceId, inner) {\n const options = {\n getInstanceId: () => instanceId\n };\n const cached = (0, util_1.memoize)((...params) => new rxjs_1.Observable(observer => {\n const subscription = inner(...params).subscribe(observer);\n return () => {\n cached.unmemoize(...params);\n subscription.unsubscribe();\n };\n }).pipe((0, drr_js_1.drr)()), options);\n return cached;\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,"memo"],[7,14,3,12],[7,17,3,15,"memo"],[7,21,3,19],[8,2,4,0],[8,8,4,6,"rxjs_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,50,4,29],[8,51,4,30],[9,2,5,0],[9,8,5,6,"util_1"],[9,14,5,12],[9,17,5,15,"require"],[9,24,5,22],[9,25,5,22,"_dependencyMap"],[9,39,5,22],[9,60,5,39],[9,61,5,40],[10,2,6,0],[10,8,6,6,"drr_js_1"],[10,16,6,14],[10,19,6,17,"require"],[10,26,6,24],[10,27,6,24,"_dependencyMap"],[10,41,6,24],[10,56,6,35],[10,57,6,36],[11,2,7,0],[12,2,8,0],[12,11,8,9,"memo"],[12,15,8,13,"memo"],[12,16,8,14,"instanceId"],[12,26,8,24],[12,28,8,26,"inner"],[12,33,8,31],[12,35,8,33],[13,4,9,4],[13,10,9,10,"options"],[13,17,9,17],[13,20,9,20],[14,6,9,22,"getInstanceId"],[14,19,9,35],[14,21,9,37,"getInstanceId"],[14,22,9,37],[14,27,9,43,"instanceId"],[15,4,9,54],[15,5,9,55],[16,4,10,4],[16,10,10,10,"cached"],[16,16,10,16],[16,19,10,19],[16,20,10,20],[16,21,10,21],[16,23,10,23,"util_1"],[16,29,10,29],[16,30,10,30,"memoize"],[16,37,10,37],[16,39,10,39],[16,40,10,40],[16,43,10,43,"params"],[16,49,10,49],[16,54,10,54],[16,58,10,58,"rxjs_1"],[16,64,10,64],[16,65,10,65,"Observable"],[16,75,10,75],[16,76,10,77,"observer"],[16,84,10,85],[16,88,10,90],[17,6,11,8],[17,12,11,14,"subscription"],[17,24,11,26],[17,27,11,29,"inner"],[17,32,11,34],[17,33,11,35],[17,36,11,38,"params"],[17,42,11,44],[17,43,11,45],[17,44,11,46,"subscribe"],[17,53,11,55],[17,54,11,56,"observer"],[17,62,11,64],[17,63,11,65],[18,6,12,8],[18,13,12,15],[18,19,12,21],[19,8,13,12,"cached"],[19,14,13,18],[19,15,13,19,"unmemoize"],[19,24,13,28],[19,25,13,29],[19,28,13,32,"params"],[19,34,13,38],[19,35,13,39],[20,8,14,12,"subscription"],[20,20,14,24],[20,21,14,25,"unsubscribe"],[20,32,14,36],[20,33,14,37],[20,34,14,38],[21,6,15,8],[21,7,15,9],[22,4,16,4],[22,5,16,5],[22,6,16,6],[22,7,16,7,"pipe"],[22,11,16,11],[22,12,16,12],[22,13,16,13],[22,14,16,14],[22,16,16,16,"drr_js_1"],[22,24,16,24],[22,25,16,25,"drr"],[22,28,16,28],[22,30,16,30],[22,31,16,31],[22,32,16,32],[22,34,16,34,"options"],[22,41,16,41],[22,42,16,42],[23,4,17,4],[23,11,17,11,"cached"],[23,17,17,17],[24,2,18,0],[25,0,18,1],[25,3]],"functionMap":{"names":["<global>","memo","options.getInstanceId","<anonymous>","rxjs_1.Observable$argument_0"],"mappings":"AAA;ACO;qCCC,gBD;uCEC,qCC;eDE;SCG;KDC,2BF;CDE"},"hasCjsExports":true},"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":[{"name":"rxjs","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":137},"end":{"line":4,"column":30,"index":152}}],"key":"atDzfUGaJNRNtwyVumomzH/5ygw=","exportNames":["*"],"imports":1}},{"name":"../util/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":173},"end":{"line":5,"column":46,"index":200}}],"key":"H94lp+EitftSFqDHaenrSs5zKB0=","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.getBlockByNumber = getBlockByNumber;\n const rxjs_1 = require(_dependencyMap[0], \"rxjs\");\n const index_js_1 = require(_dependencyMap[1], \"../util/index.js\");\n /**\n * @name getBlockByNumber\n * @param {( BN | bigint | Uint8Array | number | string )} blockNumber\n * @description Get a specific block (e.g. rpc.chain.getBlock) and extend it with the author by block number\n * @example\n * ```javascript\n * const { author, block } = await api.derive.chain.getBlockByNumber(123);\n *\n * console.log(`block #${block.header.number} was authored by ${author}`);\n * ```\n */\n function getBlockByNumber(instanceId, api) {\n return (0, index_js_1.memo)(instanceId, blockNumber => api.rpc.chain.getBlockHash(blockNumber).pipe((0, rxjs_1.switchMap)(h => api.derive.chain.getBlock(h))));\n }\n});","lineCount":24,"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,"getBlockByNumber"],[7,26,3,24],[7,29,3,27,"getBlockByNumber"],[7,45,3,43],[8,2,4,0],[8,8,4,6,"rxjs_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,50,4,29],[8,51,4,30],[9,2,5,0],[9,8,5,6,"index_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,66,5,45],[9,67,5,46],[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,2,17,0],[21,11,17,9,"getBlockByNumber"],[21,27,17,25,"getBlockByNumber"],[21,28,17,26,"instanceId"],[21,38,17,36],[21,40,17,38,"api"],[21,43,17,41],[21,45,17,43],[22,4,18,4],[22,11,18,11],[22,12,18,12],[22,13,18,13],[22,15,18,15,"index_js_1"],[22,25,18,25],[22,26,18,26,"memo"],[22,30,18,30],[22,32,18,32,"instanceId"],[22,42,18,42],[22,44,18,45,"blockNumber"],[22,55,18,56],[22,59,18,61,"api"],[22,62,18,64],[22,63,18,65,"rpc"],[22,66,18,68],[22,67,18,69,"chain"],[22,72,18,74],[22,73,18,75,"getBlockHash"],[22,85,18,87],[22,86,18,88,"blockNumber"],[22,97,18,99],[22,98,18,100],[22,99,18,101,"pipe"],[22,103,18,105],[22,104,18,106],[22,105,18,107],[22,106,18,108],[22,108,18,110,"rxjs_1"],[22,114,18,116],[22,115,18,117,"switchMap"],[22,124,18,126],[22,126,18,129,"h"],[22,127,18,130],[22,131,18,135,"api"],[22,134,18,138],[22,135,18,139,"derive"],[22,141,18,145],[22,142,18,146,"chain"],[22,147,18,151],[22,148,18,152,"getBlock"],[22,156,18,160],[22,157,18,161,"h"],[22,158,18,162],[22,159,18,163],[22,160,18,164],[22,161,18,165],[22,162,18,166],[23,2,19,0],[24,0,19,1],[24,3]],"functionMap":{"names":["<global>","getBlockByNumber","<anonymous>"],"mappings":"AAA;ACgB;4CCC,yHD;CDC"},"hasCjsExports":true},"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