auto-commit for 9f0f8e53-0005-474a-b8c0-62af81dd2fd1

This commit is contained in:
emergent-agent-e1
2025-10-24 02:50:33 +00:00
parent cac3637e68
commit a80510af07
1119 changed files with 1119 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"../u8a/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":121},"end":{"line":4,"column":45,"index":147}}],"key":"dEG4NOO3lS4XIYROdhTL9E2mvmQ=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":168},"end":{"line":5,"column":40,"index":189}}],"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.nToHex = nToHex;\n const index_js_1 = require(_dependencyMap[0], \"../u8a/index.js\");\n const toU8a_js_1 = require(_dependencyMap[1], \"./toU8a.js\");\n /**\n * @name nToHex\n * @summary Creates a hex value from a bigint object.\n */\n function nToHex(value, {\n bitLength = -1,\n isLe = false,\n isNegative = false\n } = {}) {\n return (0, index_js_1.u8aToHex)((0, toU8a_js_1.nToU8a)(value || 0, {\n bitLength,\n isLe,\n isNegative\n }));\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,"nToHex"],[7,16,3,14],[7,19,3,17,"nToHex"],[7,25,3,23],[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,2,10,0],[14,11,10,9,"nToHex"],[14,17,10,15,"nToHex"],[14,18,10,16,"value"],[14,23,10,21],[14,25,10,23],[15,4,10,25,"bitLength"],[15,13,10,34],[15,16,10,37],[15,17,10,38],[15,18,10,39],[16,4,10,41,"isLe"],[16,8,10,45],[16,11,10,48],[16,16,10,53],[17,4,10,55,"isNegative"],[17,14,10,65],[17,17,10,68],[18,2,10,74],[18,3,10,75],[18,6,10,78],[18,7,10,79],[18,8,10,80],[18,10,10,82],[19,4,11,4],[19,11,11,11],[19,12,11,12],[19,13,11,13],[19,15,11,15,"index_js_1"],[19,25,11,25],[19,26,11,26,"u8aToHex"],[19,34,11,34],[19,36,11,36],[19,37,11,37],[19,38,11,38],[19,40,11,40,"toU8a_js_1"],[19,50,11,50],[19,51,11,51,"nToU8a"],[19,57,11,57],[19,59,11,59,"value"],[19,64,11,64],[19,68,11,68],[19,69,11,69],[19,71,11,71],[20,6,11,73,"bitLength"],[20,15,11,82],[21,6,11,84,"isLe"],[21,10,11,88],[22,6,11,90,"isNegative"],[23,4,11,101],[23,5,11,102],[23,6,11,103],[23,7,11,104],[24,2,12,0],[25,0,12,1],[25,3]],"functionMap":{"names":["<global>","nToHex"],"mappings":"AAA;ACS;CDE"},"hasCjsExports":true},"type":"js/module"}]}
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":131},"end":{"line":4,"column":30,"index":146}}],"key":"atDzfUGaJNRNtwyVumomzH/5ygw=","exportNames":["*"],"imports":1}},{"name":"../util/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":167},"end":{"line":5,"column":46,"index":194}}],"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.referendumIds = referendumIds;\n const rxjs_1 = require(_dependencyMap[0], \"rxjs\");\n const index_js_1 = require(_dependencyMap[1], \"../util/index.js\");\n /**\n * @name referendumIds\n * @description Retrieves an array of active referendum IDs.\n * @example\n * ```javascript\n * const referendums = await api.derive.democracy.referendumIds();\n * ```\n */\n function referendumIds(instanceId, api) {\n return (0, index_js_1.memo)(instanceId, () => api.query.democracy?.lowestUnbaked ? api.queryMulti([api.query.democracy.lowestUnbaked, api.query.democracy.referendumCount]).pipe((0, rxjs_1.map)(([first, total]) => total.gt(first)\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n ? [...Array(total.sub(first).toNumber())].map((_, i) => first.addn(i)) : [])) : (0, rxjs_1.of)([]));\n }\n});","lineCount":23,"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,"referendumIds"],[7,23,3,21],[7,26,3,24,"referendumIds"],[7,39,3,37],[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,2,14,0],[18,11,14,9,"referendumIds"],[18,24,14,22,"referendumIds"],[18,25,14,23,"instanceId"],[18,35,14,33],[18,37,14,35,"api"],[18,40,14,38],[18,42,14,40],[19,4,15,4],[19,11,15,11],[19,12,15,12],[19,13,15,13],[19,15,15,15,"index_js_1"],[19,25,15,25],[19,26,15,26,"memo"],[19,30,15,30],[19,32,15,32,"instanceId"],[19,42,15,42],[19,44,15,44],[19,50,15,50,"api"],[19,53,15,53],[19,54,15,54,"query"],[19,59,15,59],[19,60,15,60,"democracy"],[19,69,15,69],[19,71,15,71,"lowestUnbaked"],[19,84,15,84],[19,87,16,10,"api"],[19,90,16,13],[19,91,16,14,"queryMulti"],[19,101,16,24],[19,102,16,25],[19,103,17,12,"api"],[19,106,17,15],[19,107,17,16,"query"],[19,112,17,21],[19,113,17,22,"democracy"],[19,122,17,31],[19,123,17,32,"lowestUnbaked"],[19,136,17,45],[19,138,18,12,"api"],[19,141,18,15],[19,142,18,16,"query"],[19,147,18,21],[19,148,18,22,"democracy"],[19,157,18,31],[19,158,18,32,"referendumCount"],[19,173,18,47],[19,174,19,9],[19,175,19,10],[19,176,19,11,"pipe"],[19,180,19,15],[19,181,19,16],[19,182,19,17],[19,183,19,18],[19,185,19,20,"rxjs_1"],[19,191,19,26],[19,192,19,27,"map"],[19,195,19,30],[19,197,19,32],[19,198,19,33],[19,199,19,34,"first"],[19,204,19,39],[19,206,19,41,"total"],[19,211,19,46],[19,212,19,47],[19,217,19,52,"total"],[19,222,19,57],[19,223,19,58,"gt"],[19,225,19,60],[19,226,19,61,"first"],[19,231,19,66],[20,4,20,12],[21,4,20,12],[21,6,21,14],[21,7,21,15],[21,10,21,18,"Array"],[21,15,21,23],[21,16,21,24,"total"],[21,21,21,29],[21,22,21,30,"sub"],[21,25,21,33],[21,26,21,34,"first"],[21,31,21,39],[21,32,21,40],[21,33,21,41,"toNumber"],[21,41,21,49],[21,42,21,50],[21,43,21,51],[21,44,21,52],[21,45,21,53],[21,46,21,54,"map"],[21,49,21,57],[21,50,21,58],[21,51,21,59,"_"],[21,52,21,60],[21,54,21,62,"i"],[21,55,21,63],[21,60,21,68,"first"],[21,65,21,73],[21,66,21,74,"addn"],[21,70,21,78],[21,71,21,79,"i"],[21,72,21,80],[21,73,21,81],[21,74,21,82],[21,77,22,14],[21,79,22,16],[21,80,22,17],[21,81,22,18],[21,84,23,10],[21,85,23,11],[21,86,23,12],[21,88,23,14,"rxjs_1"],[21,94,23,20],[21,95,23,21,"of"],[21,97,23,23],[21,99,23,25],[21,101,23,27],[21,102,23,28],[21,103,23,29],[22,2,24,0],[23,0,24,1],[23,3]],"functionMap":{"names":["<global>","referendumIds","<anonymous>","map$argument_0"],"mappings":"AAA;ACa;4CCC;0DCM,uBD;4BDE;CDC"},"hasCjsExports":true},"type":"js/module"}]}