auto-commit for 49610908-ca1e-46b7-8671-ad75c85b7aa2

This commit is contained in:
emergent-agent-e1
2025-11-08 11:08:44 +00:00
parent 0373b73c4f
commit 32d0877be4
340 changed files with 340 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"./decode.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":40},"end":{"line":2,"column":44,"index":84}}],"key":"TmkOQYXGsJWDYt+2Zv46gtCcFf0=","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.addressEq = addressEq;\n var _polkadotUtil = require(_dependencyMap[0], \"@polkadot/util\");\n var _decodeJs = require(_dependencyMap[1], \"./decode.js\");\n /**\n * @name addressEq\n * @summary Compares two addresses, either in ss58, Uint8Array or hex format.\n * @description\n * For the input values, return true is the underlying public keys do 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 addressEq(a, b) {\n return (0, _polkadotUtil.u8aEq)((0, _decodeJs.decodeAddress)(a), (0, _decodeJs.decodeAddress)(b));\n }\n});","lineCount":27,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"addressEq"],[7,19,17,0],[7,22,17,0,"addressEq"],[7,31,17,0],[8,2,1,0],[8,6,1,0,"_polkadotUtil"],[8,19,1,0],[8,22,1,0,"require"],[8,29,1,0],[8,30,1,0,"_dependencyMap"],[8,44,1,0],[9,2,2,0],[9,6,2,0,"_decodeJs"],[9,15,2,0],[9,18,2,0,"require"],[9,25,2,0],[9,26,2,0,"_dependencyMap"],[9,40,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,2,17,7],[24,11,17,16,"addressEq"],[24,20,17,25,"addressEq"],[24,21,17,26,"a"],[24,22,17,27],[24,24,17,29,"b"],[24,25,17,30],[24,27,17,32],[25,4,18,4],[25,11,18,11],[25,15,18,11,"u8aEq"],[25,28,18,16],[25,29,18,16,"u8aEq"],[25,34,18,16],[25,36,18,17],[25,40,18,17,"decodeAddress"],[25,49,18,30],[25,50,18,30,"decodeAddress"],[25,63,18,30],[25,65,18,31,"a"],[25,66,18,32],[25,67,18,33],[25,69,18,35],[25,73,18,35,"decodeAddress"],[25,82,18,48],[25,83,18,48,"decodeAddress"],[25,96,18,48],[25,98,18,49,"b"],[25,99,18,50],[25,100,18,51],[25,101,18,52],[26,2,19,0],[27,0,19,1],[27,3]],"functionMap":{"names":["<global>","addressEq"],"mappings":"AAA;OCgB;CDE"},"hasCjsExports":false},"type":"js/module"}]}
@@ -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.isError = isError;\n /**\n * @name isError\n * @summary Tests for a `Error` object instance.\n * @description\n * Checks to see if the input object is an instance of `Error`.\n * @example\n * <BR>\n *\n * ```javascript\n * import { isError } from '@polkadot/util';\n *\n * console.log('isError', isError(new Error('message'))); // => true\n * ```\n */\n function isError(value) {\n return (value && value.constructor) === Error || value instanceof Error;\n }\n});","lineCount":25,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"isError"],[7,17,15,0],[7,20,15,0,"isError"],[7,27,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,"isError"],[22,18,15,23,"isError"],[22,19,15,24,"value"],[22,24,15,29],[22,26,15,31],[23,4,16,4],[23,11,16,13],[23,12,16,14,"value"],[23,17,16,19],[23,21,16,23,"value"],[23,26,16,28],[23,27,16,29,"constructor"],[23,38,16,40],[23,44,16,46,"Error"],[23,49,16,51],[23,53,17,8,"value"],[23,58,17,13],[23,70,17,25,"Error"],[23,75,17,30],[24,2,18,0],[25,0,18,1],[25,3]],"functionMap":{"names":["<global>","isError"],"mappings":"AAA;OCc;CDG"},"hasCjsExports":false},"type":"js/module"}]}