From 6166d300066bbc3669e14e7a4c3fad94b348d9b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:55:39 +0000 Subject: [PATCH 1/6] Bump @types/locks from 0.2.1 to 0.2.3 Bumps [@types/locks](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/locks) from 0.2.1 to 0.2.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/locks) --- updated-dependencies: - dependency-name: "@types/locks" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 571993f..d3fbfc7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -880,9 +880,9 @@ } }, "node_modules/@types/locks": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@types/locks/-/locks-0.2.1.tgz", - "integrity": "sha512-bYPg6w1CgCUbZwDVp4a483FoZVM8glIfqU2Zx8sl5tJt4Dd9Gz/ya8+3KpCIvedT/ooNqP2/yHqHBjndYNgGbA==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@types/locks/-/locks-0.2.3.tgz", + "integrity": "sha512-/M3DC0wZWOUlIIYpyKuiZ3BPcsVE3EBcW1NoL7gOUtqVE5QxaLC96/iX008vf00pnitCWxqR6WQY0ML4rVac1Q==", "dev": true }, "node_modules/@types/mocha": { @@ -5466,9 +5466,9 @@ } }, "@types/locks": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@types/locks/-/locks-0.2.1.tgz", - "integrity": "sha512-bYPg6w1CgCUbZwDVp4a483FoZVM8glIfqU2Zx8sl5tJt4Dd9Gz/ya8+3KpCIvedT/ooNqP2/yHqHBjndYNgGbA==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@types/locks/-/locks-0.2.3.tgz", + "integrity": "sha512-/M3DC0wZWOUlIIYpyKuiZ3BPcsVE3EBcW1NoL7gOUtqVE5QxaLC96/iX008vf00pnitCWxqR6WQY0ML4rVac1Q==", "dev": true }, "@types/mocha": { From b0d0b79dcc6ad31e57e7ec1e712d0bde86578ab8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:55:44 +0000 Subject: [PATCH 2/6] Bump @types/node from 20.3.1 to 22.4.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.1 to 22.4.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 36 +++++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 571993f..5ae56a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/locks": "^0.2.1", "@types/mocha": "^10.0.1", - "@types/node": "^20.3.1", + "@types/node": "^22.4.1", "@types/node-fetch": "^2.6.1", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", @@ -892,10 +892,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.1.tgz", - "integrity": "sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==", - "dev": true + "version": "22.4.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.1.tgz", + "integrity": "sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==", + "dev": true, + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/node-fetch": { "version": "2.6.4", @@ -4497,6 +4500,12 @@ "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", "dev": true }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, "node_modules/update-browserslist-db": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", @@ -5478,10 +5487,13 @@ "dev": true }, "@types/node": { - "version": "20.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.1.tgz", - "integrity": "sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==", - "dev": true + "version": "22.4.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.1.tgz", + "integrity": "sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==", + "dev": true, + "requires": { + "undici-types": "~6.19.2" + } }, "@types/node-fetch": { "version": "2.6.4", @@ -8067,6 +8079,12 @@ "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", "dev": true }, + "undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, "update-browserslist-db": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", diff --git a/package.json b/package.json index 7467241..536bd74 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/locks": "^0.2.1", "@types/mocha": "^10.0.1", - "@types/node": "^20.3.1", + "@types/node": "^22.4.1", "@types/node-fetch": "^2.6.1", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", From 29ffcc4f01bf3defccda50b980122dcdf05a4af9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:55:51 +0000 Subject: [PATCH 3/6] Bump assert from 2.0.0 to 2.1.0 Bumps [assert](https://github.com/browserify/commonjs-assert) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/browserify/commonjs-assert/releases) - [Changelog](https://github.com/browserify/commonjs-assert/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserify/commonjs-assert/compare/v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: assert dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 314 +++++++++++++++++++++++++++++++++------------- 1 file changed, 224 insertions(+), 90 deletions(-) diff --git a/package-lock.json b/package-lock.json index 571993f..5d6afb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1269,15 +1269,16 @@ } }, "node_modules/assert": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", - "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz", + "integrity": "sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==", "dev": true, "dependencies": { - "es6-object-assign": "^1.1.0", - "is-nan": "^1.2.1", - "object-is": "^1.0.1", - "util": "^0.12.0" + "call-bind": "^1.0.2", + "is-nan": "^1.3.2", + "object-is": "^1.1.5", + "object.assign": "^4.1.4", + "util": "^0.12.5" } }, "node_modules/asynckit": { @@ -1473,13 +1474,19 @@ } }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1785,12 +1792,30 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, "dependencies": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" }, @@ -1855,18 +1880,33 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, - "node_modules/es6-object-assign": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", - "integrity": "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==", - "dev": true - }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -2319,10 +2359,13 @@ } }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/gensync": { "version": "1.0.0-beta.2", @@ -2343,15 +2386,19 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2454,18 +2501,6 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -2476,12 +2511,12 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "dependencies": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2564,6 +2599,18 @@ "node": ">=8" } }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -3633,6 +3680,24 @@ "node": ">= 0.4" } }, + "node_modules/object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -4110,6 +4175,23 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/sha3": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz", @@ -5726,15 +5808,16 @@ "dev": true }, "assert": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", - "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz", + "integrity": "sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==", "dev": true, "requires": { - "es6-object-assign": "^1.1.0", - "is-nan": "^1.2.1", - "object-is": "^1.0.1", - "util": "^0.12.0" + "call-bind": "^1.0.2", + "is-nan": "^1.3.2", + "object-is": "^1.1.5", + "object.assign": "^4.1.4", + "util": "^0.12.5" } }, "asynckit": { @@ -5864,13 +5947,16 @@ } }, "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" } }, "callsites": { @@ -6104,12 +6190,24 @@ "strip-bom": "^4.0.0" } }, + "define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "requires": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + } + }, "define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, "requires": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" } @@ -6153,18 +6251,27 @@ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true }, + "es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.4" + } + }, + "es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true + }, "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, - "es6-object-assign": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", - "integrity": "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==", - "dev": true - }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -6480,9 +6587,9 @@ "optional": true }, "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true }, "gensync": { @@ -6498,15 +6605,16 @@ "dev": true }, "get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" } }, "get-package-type": { @@ -6579,15 +6687,6 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -6595,12 +6694,12 @@ "dev": true }, "has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "requires": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" } }, "has-proto": { @@ -6652,6 +6751,15 @@ } } }, + "hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "requires": { + "function-bind": "^1.1.2" + } + }, "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -7466,6 +7574,18 @@ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true }, + "object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + } + }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -7785,6 +7905,20 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, + "set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + } + }, "sha3": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz", From d53031cfc9fc4158eaf7098e3a67e40251de89e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:55:58 +0000 Subject: [PATCH 4/6] Bump bs58 from 5.0.0 to 6.0.0 Bumps [bs58](https://github.com/cryptocoinjs/bs58) from 5.0.0 to 6.0.0. - [Changelog](https://github.com/cryptocoinjs/bs58/blob/master/CHANGELOG.md) - [Commits](https://github.com/cryptocoinjs/bs58/compare/v5.0.0...v6.0.0) --- updated-dependencies: - dependency-name: bs58 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 58 +++++++++++++++++++++++++++++++++++------------ package.json | 2 +- 2 files changed, 44 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 571993f..e6343e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@ensdomains/address-encoder": "^0.2.20", "@ensdomains/eth-ens-namehash": "^2.0.15", "@metrixcoin/metrilib": "^1.6.1-beta", - "bs58": "^5.0.0", + "bs58": "^6.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.3", "locks": "^0.2.2", @@ -780,6 +780,19 @@ "npm": ">=6.0.0" } }, + "node_modules/@metrixcoin/metrilib/node_modules/base-x": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + }, + "node_modules/@metrixcoin/metrilib/node_modules/bs58": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "dependencies": { + "base-x": "^4.0.0" + } + }, "node_modules/@noble/curves": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", @@ -1305,9 +1318,9 @@ "dev": true }, "node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.0.tgz", + "integrity": "sha512-sMW3VGSX1QWVFA6l8U62MLKz29rRfpTlYdCqLdpLo1/Yd4zZwSbnUaDfciIAowAqvq7YFnWq9hrhdg1KYgc1lQ==" }, "node_modules/base64-js": { "version": "1.5.1", @@ -1421,11 +1434,11 @@ } }, "node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz", + "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==", "dependencies": { - "base-x": "^4.0.0" + "base-x": "^5.0.0" } }, "node_modules/buffer": { @@ -5382,6 +5395,21 @@ "ethers": "^6.0.2", "locks": "^0.2.2", "node-fetch": "^2.6.1" + }, + "dependencies": { + "base-x": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + }, + "bs58": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "requires": { + "base-x": "^4.0.0" + } + } } }, "@noble/curves": { @@ -5756,9 +5784,9 @@ "dev": true }, "base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.0.tgz", + "integrity": "sha512-sMW3VGSX1QWVFA6l8U62MLKz29rRfpTlYdCqLdpLo1/Yd4zZwSbnUaDfciIAowAqvq7YFnWq9hrhdg1KYgc1lQ==" }, "base64-js": { "version": "1.5.1", @@ -5829,11 +5857,11 @@ } }, "bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz", + "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==", "requires": { - "base-x": "^4.0.0" + "base-x": "^5.0.0" } }, "buffer": { diff --git a/package.json b/package.json index 7467241..939c9dd 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "@ensdomains/address-encoder": "^0.2.20", "@ensdomains/eth-ens-namehash": "^2.0.15", "@metrixcoin/metrilib": "^1.6.1-beta", - "bs58": "^5.0.0", + "bs58": "^6.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.3", "locks": "^0.2.2", From 1217b052e44b869568902e738d81c47097b416dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:56:06 +0000 Subject: [PATCH 5/6] Bump @typescript-eslint/parser from 8.1.0 to 8.2.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.1.0 to 8.2.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 189 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 175 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 571993f..bf508ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -947,15 +947,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", - "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.2.0.tgz", + "integrity": "sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4" }, "engines": { @@ -974,6 +974,105 @@ } } }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz", + "integrity": "sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz", + "integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz", + "integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz", + "integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.2.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/parser/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@typescript-eslint/scope-manager": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", @@ -5517,16 +5616,78 @@ } }, "@typescript-eslint/parser": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", - "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.2.0.tgz", + "integrity": "sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4" + }, + "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz", + "integrity": "sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0" + } + }, + "@typescript-eslint/types": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz", + "integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz", + "integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz", + "integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.2.0", + "eslint-visitor-keys": "^3.4.3" + } + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "@typescript-eslint/scope-manager": { From 164ff92a3b1db0eef02d91da7ac645c356d13a9d Mon Sep 17 00:00:00 2001 From: SeqSEE Date: Tue, 20 Aug 2024 15:04:09 -0400 Subject: [PATCH 6/6] bump depends, bump version --- .eslintignore | 2 - .eslintrc | 12 - docs/classes/BaseResolver.html | 6 +- docs/classes/DefaultReverseResolver.html | 10 +- docs/classes/MNS.html | 14 +- docs/classes/Name.html | 36 +- docs/classes/PublicResolver.html | 50 +- docs/classes/Resolver.html | 6 +- .../registrars.MrxRegistrar.MrxRegistrar.html | 42 +- ...trarController.MrxRegistrarController.html | 10 +- ...ars.ReverseRegistrar.ReverseRegistrar.html | 22 +- ...egistrars.TestRegistrar.TestRegistrar.html | 12 +- docs/functions/getMNSAddress.html | 2 +- docs/functions/getMNSContract.html | 2 +- docs/functions/getResolverContract.html | 2 +- .../getReverseRegistrarContract.html | 2 +- docs/functions/labelhash.html | 2 +- docs/interfaces/Deployment.html | 4 +- docs/interfaces/profiles.ABIResolver.html | 6 +- docs/interfaces/profiles.AddrResolver.html | 10 +- .../profiles.ContentHashResolver.html | 6 +- docs/interfaces/profiles.DNSResolver.html | 14 +- .../profiles.InterfaceResolver.html | 6 +- docs/interfaces/profiles.NameResolver.html | 6 +- docs/interfaces/profiles.PubkeyResolver.html | 6 +- docs/interfaces/profiles.TextResolver.html | 6 +- docs/modules/profiles.html | 2 +- docs/modules/registrars.MrxRegistrar.html | 2 +- .../registrars.MrxRegistrarController.html | 2 +- docs/modules/registrars.ReverseRegistrar.html | 2 +- docs/modules/registrars.TestRegistrar.html | 2 +- docs/modules/registrars.html | 2 +- docs/variables/CONTRACTS.html | 2 +- docs/variables/namehash.html | 2 +- package-lock.json | 647 ++++++++++++++++-- package.json | 14 +- 36 files changed, 755 insertions(+), 218 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index c18ed01..0000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -lib/ \ No newline at end of file diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 41542ff..0000000 --- a/.eslintrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "root": true, - "parser": "@typescript-eslint/parser", - "plugins": [ - "@typescript-eslint" - ], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended" - ] - } \ No newline at end of file diff --git a/docs/classes/BaseResolver.html b/docs/classes/BaseResolver.html index b2a3671..7e4a233 100644 --- a/docs/classes/BaseResolver.html +++ b/docs/classes/BaseResolver.html @@ -1,5 +1,5 @@ BaseResolver | @metrixnames/mnslib

Class BaseResolverAbstract

Class which is used a the base for resolvers

-

Hierarchy (view full)

Implements

  • IERC165

Constructors

Hierarchy (view full)

Implements

  • IERC165

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

      @@ -32,4 +32,4 @@ Defined in EIP181.

      Parameters

      • interfaceId: string

        The MNS node to query.

      Returns Promise<boolean>

      if the interface is supported

      -
+
diff --git a/docs/classes/DefaultReverseResolver.html b/docs/classes/DefaultReverseResolver.html index 89aa98a..185257c 100644 --- a/docs/classes/DefaultReverseResolver.html +++ b/docs/classes/DefaultReverseResolver.html @@ -1,5 +1,5 @@ DefaultReverseResolver | @metrixnames/mnslib

Class DefaultReverseResolver

Class which can be used to interact with the DefaultReverseResolver

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

      @@ -19,14 +19,14 @@

    Returns Promise<undefined | Result>

    see Result

  • Get receipts from a transaction

    Returns Promise<EventLogs>

    an EventLogs object

    -
  • Perform sendtocontract

    +
  • Perform sendtocontract

    Parameters

    • method: string

      The contract method to send to

    • args: any[]

      The arguments to use

    • Optionalvalue: string

      The amount to send to the contract

    • OptionalgasLimit: number

      The amount of gas units allowed

    • OptionalgasPrice: number

      The satoshi price per gas

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    -
  • Returns true if this contract implements the interface defined by +

+
diff --git a/docs/classes/MNS.html b/docs/classes/MNS.html index 17bd825..940e3ab 100644 --- a/docs/classes/MNS.html +++ b/docs/classes/MNS.html @@ -1,5 +1,5 @@ MNS | @metrixnames/mnslib

Class which can be used to make registry record queries.

-

Constructors

Constructors

Properties

Constructors

  • Parameters

    • network: NetworkType
    • provider: Provider
    • mnsAddress: string

    Returns MNS

Properties

mns: MetrixContract
network: NetworkType
provider: Provider

Methods

  • Returns the name for an address from the default reverse resolver

    +

Constructors

  • Parameters

    • network: NetworkType
    • provider: Provider
    • mnsAddress: string

    Returns MNS

Properties

mns: MetrixContract
network: NetworkType
provider: Provider

Methods

  • Returns the name for an address from the default reverse resolver

    Parameters

    • address: string

      an EVM compatible address

    Returns Promise<undefined | string>

    a name or undefined if one is not found

    -
  • Returns the name for an address from the resolver

    +
  • Returns the name for an address from the resolver

    Parameters

    • address: string

      an EVM compatible address

    • resolverAddr: string

      a specific resolver address to use

    Returns Promise<undefined | string>

    a name or undefined if one is not found

    -
  • Returns a Name object which can be used to make record queries

    +
  • Returns a Name object which can be used to make record queries

    Parameters

    • name: string

      The name for example 'first.mrx'

    • Optionalresolver: string

      The resolver address

    Returns Name

    a Name object

    -
  • Returns a Resolver object which can be used to make record queries

    Parameters

    • address: string

      an EVM compatible address

    Returns Resolver

    a Resolver object

    -
  • Set a reverse record for an address

    +
  • Set a reverse record for an address

    Parameters

    • name: string

      The name for example 'first.mrx'

    Returns Promise<Transaction>

    a transaction object

    -
+
diff --git a/docs/classes/Name.html b/docs/classes/Name.html index f555b21..f106847 100644 --- a/docs/classes/Name.html +++ b/docs/classes/Name.html @@ -1,5 +1,5 @@ Name | @metrixnames/mnslib

Class which can be used to make record queries.

-

Constructors

Constructors

Properties

hash mns name @@ -22,53 +22,53 @@ setSubnodeRecord setTTL setText -

Constructors

  • Parameters

    • name: string
    • mns: MetrixContract
    • provider: Provider
    • hash: string
    • Optionalresolver: string

    Returns Name

Properties

hash: string
mns: MetrixContract
name: string
provider: Provider
resolver: undefined | string

Methods

  • Create a subdomain of this name

    +

Constructors

  • Parameters

    • name: string
    • mns: MetrixContract
    • provider: Provider
    • hash: string
    • Optionalresolver: string

    Returns Name

Properties

hash: string
mns: MetrixContract
name: string
provider: Provider
resolver: undefined | string

Methods

  • Create a subdomain of this name

    Parameters

    • label: string

      The hash of the label specifying the subnode.

    Returns Promise<Transaction>

    a Transaction object

    -
  • Parameters

    • label: string

    Returns Promise<Transaction>

  • Parameters

    • label: string

    Returns Promise<Transaction>

  • Get an address by coin

    Parameters

    • OptionalcoinId: string

      slip44 coin id

    Returns Promise<string>

    the address the resolver

    -
  • Get the contenthash

    +
  • Get the contenthash

    Returns Promise<string | {
        contentType: string;
        value: string;
    }>

    the value and content or AddressZero if no resolver

    -
  • Get the owning address of the Name

    Returns Promise<string>

    the address of the name

    -
  • Get the resolver address

    Returns Promise<string>

    the address the resolver

    -
  • Get the resolver address

    Returns Promise<string>

    the address the resolver

    -
  • Get the ttl

    Returns Promise<number>

    the address the resolver

    -
  • Get the contenthash

    Parameters

    • key: string

      the etext data key to query

    Returns Promise<string>

    the text value

    -
  • Set the address

    Parameters

    • key: string

      a coin symbol with slip44 support like 'MRX'

    • address: string

      an address

    Returns Promise<Transaction>

    a Transaction object

    -
  • Set the contenthash

    +
  • Set the contenthash

    Parameters

    • content: string

      the hash

    Returns Promise<Transaction>

    a Transaction object

    -
  • Set the owning address of the Name

    +
  • Set the owning address of the Name

    Parameters

    • address: string

      an EVM compatible address

    Returns Promise<Transaction>

    a Transaction object

    -
  • Set the resolver of the Name

    +
  • Set the resolver of the Name

    Parameters

    • address: string

      an EVM compatible address

    Returns Promise<Transaction>

    a Transaction object

    -
  • Sets the owner of a subnode

    +
  • Sets the owner of a subnode

    Parameters

    • label: string

      The key to set.

    • newOwner: string

      An address for the owner

    Returns Promise<Transaction>

    a Transaction object

    -
  • Sets the record for a subnode.

    +
  • Sets the record for a subnode.

    Parameters

    • label: string

      The hash of the label specifying the subnode.

    • newOwner: string

      The address of the new owner.

    • resolver: string

      The address of the resolver.

    • ttl: number = 0

      The TTL in seconds.

    Returns Promise<Transaction>

    a Transaction object

    -
  • Sets the TTL

    Parameters

    • ttl: bigint

      The TTL in seconds.

    Returns Promise<Transaction>

    a Transaction object

    -
  • Sets the text data associated with a key.

    +
  • Sets the text data associated with a key.

    Parameters

    • key: string

      The key to set.

    • recordValue: string

      The text data value to set.

    Returns Promise<Transaction>

    a Transaction object

    -
+
diff --git a/docs/classes/PublicResolver.html b/docs/classes/PublicResolver.html index 0922eec..b62884d 100644 --- a/docs/classes/PublicResolver.html +++ b/docs/classes/PublicResolver.html @@ -1,5 +1,5 @@ PublicResolver | @metrixnames/mnslib

Class which can be used to interact with the PublicResolver

-

Hierarchy (view full)

Implements

Constructors

Hierarchy (view full)

Implements

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Returns the ABI associated with an MNS node. +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Returns the ABI associated with an MNS node. Defined in EIP205.

    Parameters

    • node: string

      The MNS node to query

    • contentType: bigint

      A bitwise OR of the ABI formats accepted by the caller.

    Returns Promise<[contentType: bigint, data: string]>

    [contentType,data] The content type of the return data value

    -
  • Returns the address associated with an MNS node.

    Parameters

    • node: string

      The MNS node to query.

    • convert: undefined | boolean = false

    Returns Promise<string>

    The associated address.

    -
  • Returns the address associated with an MNS node.

    Parameters

    • node: string

      The MNS node to query.

    • coinType: bigint

      the slip44 id of the coin

    Returns Promise<string>

    The associated address.

    -
  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

      @@ -52,21 +52,21 @@
  • Clear all information for a DNS zone.

    Parameters

    • node: string

      the namehash of the node for which to clear the zone

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Get receipts from a transaction

    Returns Promise<EventLogs>

    an EventLogs object

  • Check if a given node has records.

    Parameters

    • node: string

      the namehash of the node for which to check the records

    • name: string

      the namehash of the node for which to check the records

    Returns Promise<boolean>

    has records

    -
  • Returns the address of a contract that implements the specified interface for this name. If an implementer has not been set for this interfaceID and name, the resolver will query the contract at addr(). If addr() is set, a contract exists at that address, and that contract implements EIP165 and returns true for the specified interfaceID, its address @@ -74,15 +74,15 @@

    Parameters

    • node: string

      The MNS node to query.

    • interfaceId: string

      The EIP 165 interface ID to check for.

    Returns Promise<string>

    The address that implements this interface, or 0 if the interface is unsupported.

    -
  • Returns the name associated with an MNS node, for reverse records. Defined in EIP181.

    Parameters

    • node: string

      The MNS node to query.

    Returns Promise<string>

    The associated name.

    -
  • Returns the SECP256k1 public key associated with an MNS node. Defined in EIP 619.

    Parameters

    • node: string

      The MNS node to query

    Returns Promise<[x: string, y: string]>

    x and y coordinates of the curve point for the public key.

    -
  • Perform sendtocontract

    Parameters

    • method: string

      The contract method to send to

    • args: any[]

      The arguments to use

    • Optionalvalue: string

      The amount to send to the contract

      @@ -96,23 +96,23 @@
    • contentType: bigint

      The content type of the ABI

    • data: string

      The ABI data.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets the address associated with an MNS node. May only be called by the owner of that node in the MNS registry.

    Parameters

    • node: string

      The node to update.

    • a: string

      The address to set.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets the address associated with an MNS node. May only be called by the owner of that node in the MNS registry.

    Parameters

    • node: string

      The node to update.

    • coinType: bigint

      the slip44 id of the coin

    • a: string

      The address to set.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets the contenthash associated with an MNS node. May only be called by the owner of that node in the MNS registry.

    Parameters

    • node: string

      The node to update.

    • hash: string

      The contenthash to set

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Set one or more DNS records. Records are supplied in wire-format. Records with the same node/name/resource must be supplied one after the other to ensure the data is updated correctly. For example, if the data was supplied: @@ -129,34 +129,34 @@

    Parameters

    • node: string

      the namehash of the node for which to set the records

    • data: string

      the DNS wire format records to set

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets an interface associated with a name. Setting the address to 0 restores the default behaviour of querying the contract at addr() for interface support.

    Parameters

    • node: string

      The node to update.

    • interfaceId: string

      The EIP 165 interface ID.

    • implementer: string

      The address of a contract that implements this interface for this node.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets the name associated with an MNS node, for reverse records. May only be called by the owner of that node in the MNS registry.

    Parameters

    • node: string

      The node to update.

    • name: string

      The name to set.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets the SECP256k1 public key associated with an MNS node.

    Parameters

    • node: string

      The MNS node to query

    • x: string

      the X coordinate of the curve point for the public key.

    • y: string

      the Y coordinate of the curve point for the public key.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Sets the text data associated with an MNS node and key. May only be called by the owner of that node in the MNS registry.

    Parameters

    • node: string

      The node to update.

    • key: string

      The key to set.

    • value: string

      The text data value to set.

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • setZonehash sets the hash for the zone. May only be called by the owner of that node in the MNS registry.

    Parameters

    • node: string

      The node to update.

    • hash: string

      The zonehash to set

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    -
  • Returns the text data associated with an MNS node and key.

    Parameters

    • node: string

      The MNS node to query.

    • key: string

      The text data key to query.

    Returns Promise<string>

    The associated text data.

    -
+
diff --git a/docs/classes/Resolver.html b/docs/classes/Resolver.html index e34ae57..3bffe4f 100644 --- a/docs/classes/Resolver.html +++ b/docs/classes/Resolver.html @@ -1,10 +1,10 @@ Resolver | @metrixnames/mnslib

Class which can be used to get a Name object to make queries with.

-

Constructors

Constructors

Properties

Methods

Constructors

Properties

address: string
mns: MetrixContract
provider: Provider

Methods

  • Returns a Name object which can be used to make record queries

    +

Constructors

Properties

address: string
mns: MetrixContract
provider: Provider

Methods

  • Returns a Name object which can be used to make record queries

    Parameters

    • name: string

      The name for example 'first.mrx'

    Returns Name

    a Name object

    -
+
diff --git a/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html b/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html index 70d4265..f0981db 100644 --- a/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html +++ b/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html @@ -1,5 +1,5 @@ MrxRegistrar | @metrixnames/mnslib

A registrar that controls '.mrx' names

-

Hierarchy

  • default
    • MrxRegistrar

Implements

  • IERC721Enumerable

Constructors

Hierarchy

  • default
    • MrxRegistrar

Implements

  • IERC721Enumerable

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Gives permission to to to transfer tokenId token to another account. +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Gives permission to to to transfer tokenId token to another account. The approval is cleared when the token is transferred.

    Only a single account can be approved at a time, so approving the zero address clears previous approvals.

    Requirements:

    @@ -38,12 +38,12 @@
  • tokenId must exist.

Emits an Approval event.

-

Parameters

  • to: string
  • tokenId: bigint

Returns Promise<Transaction>

  • Get this contract balance

    +

    Parameters

    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Returns the number of tokens in owner's account.

    -

    Parameters

    • owner: string

    Returns Promise<bigint>

  • Get the root node of this registrar

    +

    Parameters

    • owner: string

    Returns Promise<bigint>

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

    • args: any[]

      The arguments

    Returns Promise<undefined | Result>

    see Result

    @@ -52,20 +52,20 @@
    • tokenId must exist.
    -

Parameters

  • tokenId: bigint

Returns Promise<string>

  • Get receipts from a transaction

    +

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Get receipts from a transaction

    Returns Promise<EventLogs>

    an EventLogs object

  • Returns if the operator is allowed to manage all of the assets of owner.

    See setApprovalForAll

    -

    Parameters

    • owner: string
    • operator: string

    Returns Promise<boolean>

  • Get the MNS address

    +

    Parameters

    • owner: string
    • operator: string

    Returns Promise<boolean>

  • Returns the owner of the tokenId token.

    Requirements:

    • tokenId must exist.
    -

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Reclaim ownership of a name in MNS, if you own it in the registrar.

    -

    Parameters

    • id: string
    • owner: string

    Returns Promise<Transaction>

  • Safely transfers tokenId token from from to to, checking first that contract recipients +

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Reclaim ownership of a name in MNS, if you own it in the registrar.

    +

    Parameters

    • id: string
    • owner: string

    Returns Promise<Transaction>

  • Safely transfers tokenId token from from to to, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked.

    Requirements:

      @@ -76,7 +76,7 @@
    • If to refers to a smart contract, it must implement IERC721Receiver-onERC721Received, which is called upon a safe transfer.

    Emits a Transfer event.

    -

    Parameters

    • from: string
    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

  • Safely transfers tokenId token from from to to.

    +

    Parameters

    • from: string
    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

  • Safely transfers tokenId token from from to to.

    Requirements:

    • from cannot be the zero address.
    • @@ -86,7 +86,7 @@
    • If to refers to a smart contract, it must implement IERC721Receiver-onERC721Received, which is called upon a safe transfer.

    Emits a Transfer event.

    -

    Parameters

    • from: string
    • to: string
    • tokenId: bigint
    • data: string

    Returns Promise<Transaction>

  • Perform sendtocontract

    +

    Parameters

    • from: string
    • to: string
    • tokenId: bigint
    • data: string

    Returns Promise<Transaction>

  • Perform sendtocontract

    Parameters

    • method: string

      The contract method to send to

    • args: any[]

      The arguments to use

    • Optionalvalue: string

      The amount to send to the contract

      @@ -100,7 +100,7 @@
    • The operator cannot be the caller.

    Emits an ApprovalForAll event.

    -

    Parameters

    • operator: string
    • approved: boolean

    Returns Promise<Transaction>

  • Returns true if this contract implements the interface defined by +

    Parameters

    • operator: string
    • approved: boolean

    Returns Promise<Transaction>

  • Returns a token ID at a given index of all the tokens stored by the contract. +

  • Returns a token ID at a given index of all the tokens stored by the contract. Use along with totalSupply to enumerate all tokens.

    -

    Parameters

    • index: bigint

    Returns Promise<string>

  • Returns a token ID owned by owner at a given index of its token list. +

    Parameters

    • index: bigint

    Returns Promise<string>

  • Returns a token ID owned by owner at a given index of its token list. Use along with balanceOf to enumerate all of owner's tokens.

    -

    Parameters

    • owner: string
    • index: bigint

    Returns Promise<string>

  • Returns the Uniform Resource Identifier (URI) for tokenId token.

    -

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Returns the total amount of tokens stored by the contract.

    -

    Returns Promise<bigint>

  • Transfers tokenId token from from to to.

    +

    Parameters

    • owner: string
    • index: bigint

    Returns Promise<string>

  • Returns the Uniform Resource Identifier (URI) for tokenId token.

    +

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Returns the total amount of tokens stored by the contract.

    +

    Returns Promise<bigint>

  • Transfers tokenId token from from to to.

    WARNING: Usage of this method is discouraged, use safeTransferFrom whenever possible.

    Requirements:

      @@ -125,4 +125,4 @@
    • If the caller is not from, it must be approved to move this token by either approve or setApprovalForAll.

    Emits a Transfer event.

    -

    Parameters

    • from: string
    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

+

Parameters

  • from: string
  • to: string
  • tokenId: bigint

Returns Promise<Transaction>

diff --git a/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html b/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html index 9b04d08..5a2e278 100644 --- a/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html +++ b/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html @@ -1,4 +1,4 @@ -MrxRegistrarController | @metrixnames/mnslib

Hierarchy

  • default
    • MrxRegistrarController

Implements

  • IERC165

Constructors

constructor +MrxRegistrarController | @metrixnames/mnslib

Hierarchy

  • default
    • MrxRegistrarController

Implements

  • IERC165

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

    • args: any[]

      The arguments

    Returns Promise<undefined | Result>

    see Result

    -
  • Get receipts from a transaction

    +
  • Get receipts from a transaction

    Returns Promise<EventLogs>

    an EventLogs object

    -
  • Parameters

    • name: string
    • owner: string
    • duration: bigint
    • secret: string
    • resolver: string
    • addr: string
    • value: string

    Returns Promise<Transaction>

  • Perform sendtocontract

    +
  • Parameters

    • name: string
    • owner: string
    • duration: bigint
    • secret: string
    • resolver: string
    • addr: string
    • value: string

    Returns Promise<Transaction>

  • Perform sendtocontract

    Parameters

    • method: string

      The contract method to send to

    • args: any[]

      The arguments to use

    • Optionalvalue: string

      The amount to send to the contract

      @@ -44,4 +44,4 @@ Defined in EIP181.

      Parameters

      • interfaceId: string

        The MNS node to query.

      Returns Promise<boolean>

      if the interface is supported

      -
+
diff --git a/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html b/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html index 9da4ada..59aa601 100644 --- a/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html +++ b/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html @@ -1,6 +1,6 @@ ReverseRegistrar | @metrixnames/mnslib

A registrar that allocates subdomains to the first person to claim them, but expires registrations a fixed period after they're initially claimed.

-

Hierarchy

  • default
    • ReverseRegistrar

Constructors

Hierarchy

  • default
    • ReverseRegistrar

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

      @@ -28,32 +28,32 @@ calling account.

      Parameters

      • owner: string

        The address to set as the owner of the reverse record in MNS.

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      -
  • Transfers ownership of the reverse MNS record associated with the calling account.

    Parameters

    • addr: string

      The reverse record to set

    • owner: string

      The address to set as the owner of the reverse record in MNS.

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    -
  • Transfers ownership of the reverse MNS record associated with the calling account.

    Parameters

    • owner: string

      The address to set as the owner of the reverse record in MNS.

    • resolver: string

      The address of the resolver to set; 0 to leave unchanged.

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    -
  • Transfers ownership of the reverse MNS record specified with the address provided

    Parameters

    • addr: string

      The reverse record to set

    • owner: string

      The address to set as the owner of the reverse record in MNS.

    • resolver: string

      The address of the resolver to set; 0 to leave unchanged.

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    -
  • Get receipts from a transaction

    Returns Promise<EventLogs>

    an EventLogs object

  • Perform sendtocontract

    Parameters

    • method: string

      The contract method to send to

    • args: any[]

      The arguments to use

    • Optionalvalue: string

      The amount to send to the contract

      @@ -65,7 +65,7 @@ resolver if necessary.

      Parameters

      • name: string

        The name to set for this address.

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      -
  • Sets the name() record for the reverse MNS record associated with the account provided. First updates the resolver to the default reverse resolver if necessary. Only callable by controllers and authorised users

    @@ -73,4 +73,4 @@
  • owner: string

    The owner of the reverse node

  • name: string

    The name to set for this address.

Returns Promise<Transaction>

The MNS node hash of the reverse record.

-
+
diff --git a/docs/classes/registrars.TestRegistrar.TestRegistrar.html b/docs/classes/registrars.TestRegistrar.TestRegistrar.html index d16f008..a096600 100644 --- a/docs/classes/registrars.TestRegistrar.TestRegistrar.html +++ b/docs/classes/registrars.TestRegistrar.TestRegistrar.html @@ -1,6 +1,6 @@ TestRegistrar | @metrixnames/mnslib

A registrar that allocates subdomains to the first person to claim them, but expires registrations a fixed period after they're initially claimed.

-

Hierarchy

  • default
    • TestRegistrar

Constructors

Hierarchy

  • default
    • TestRegistrar

Constructors

Properties

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    Returns Promise<bigint>

    the satoshi balance of this contract

  • Perform calltocontract

    Parameters

    • method: string

      The contract method to call

      @@ -22,17 +22,17 @@
  • Get the expiry time of a label

    Parameters

    • label: string

      The hash of the label to register.

    Returns Promise<bigint>

    the expiry of the label

    -
  • Get receipts from a transaction

    Returns Promise<EventLogs>

    an EventLogs object

  • Register a name that's not currently registered

    Parameters

    • label: string

      The hash of the label to register.

    • owner: string

      The address of the new owner.

    Returns Promise<Transaction>

    aTransaction object

    -
  • Perform sendtocontract

    +
  • Perform sendtocontract

    Parameters

    • method: string

      The contract method to send to

    • args: any[]

      The arguments to use

    • Optionalvalue: string

      The amount to send to the contract

      diff --git a/docs/functions/getMNSAddress.html b/docs/functions/getMNSAddress.html index c307a34..f727116 100644 --- a/docs/functions/getMNSAddress.html +++ b/docs/functions/getMNSAddress.html @@ -1 +1 @@ -getMNSAddress | @metrixnames/mnslib

      Function getMNSAddress

      +getMNSAddress | @metrixnames/mnslib

      Function getMNSAddress

      diff --git a/docs/functions/getMNSContract.html b/docs/functions/getMNSContract.html index 2af71cc..76a0278 100644 --- a/docs/functions/getMNSContract.html +++ b/docs/functions/getMNSContract.html @@ -1 +1 @@ -getMNSContract | @metrixnames/mnslib

      Function getMNSContract

      • Parameters

        • address: string
        • provider: Provider

        Returns MetrixContract

      +getMNSContract | @metrixnames/mnslib

      Function getMNSContract

      • Parameters

        • address: string
        • provider: Provider

        Returns MetrixContract

      diff --git a/docs/functions/getResolverContract.html b/docs/functions/getResolverContract.html index 90508e5..4b96166 100644 --- a/docs/functions/getResolverContract.html +++ b/docs/functions/getResolverContract.html @@ -1 +1 @@ -getResolverContract | @metrixnames/mnslib

      Function getResolverContract

      • Parameters

        • address: string
        • provider: Provider

        Returns MetrixContract

      +getResolverContract | @metrixnames/mnslib

      Function getResolverContract

      • Parameters

        • address: string
        • provider: Provider

        Returns MetrixContract

      diff --git a/docs/functions/getReverseRegistrarContract.html b/docs/functions/getReverseRegistrarContract.html index 29e86e6..ddca7a1 100644 --- a/docs/functions/getReverseRegistrarContract.html +++ b/docs/functions/getReverseRegistrarContract.html @@ -1 +1 @@ -getReverseRegistrarContract | @metrixnames/mnslib

      Function getReverseRegistrarContract

      • Parameters

        • address: string
        • provider: Provider

        Returns MetrixContract

      +getReverseRegistrarContract | @metrixnames/mnslib

      Function getReverseRegistrarContract

      • Parameters

        • address: string
        • provider: Provider

        Returns MetrixContract

      diff --git a/docs/functions/labelhash.html b/docs/functions/labelhash.html index 5ffef1a..3b8eea4 100644 --- a/docs/functions/labelhash.html +++ b/docs/functions/labelhash.html @@ -1 +1 @@ -labelhash | @metrixnames/mnslib
      +labelhash | @metrixnames/mnslib
      diff --git a/docs/interfaces/Deployment.html b/docs/interfaces/Deployment.html index 37411ef..6001b0e 100644 --- a/docs/interfaces/Deployment.html +++ b/docs/interfaces/Deployment.html @@ -1,4 +1,4 @@ -Deployment | @metrixnames/mnslib

      Interface Deployment

      interface Deployment {
          BaseRegistrarImplementation: string;
          DefaultReverseResolver: string;
          DummyOracle?: string;
          MNSMigrations: string;
          MNSRegistry: string;
          MNSRegistryWithFallback: string;
          MRXRegistrarController: string;
          MRXtoUSDOracle?: string;
          NameWrapper: string;
          PublicResolver: string;
          ReverseRegistrar: string;
          StaticMetadataService: string;
          TestRegistrar?: string;
      }

      Properties

      BaseRegistrarImplementation +Deployment | @metrixnames/mnslib

      Interface Deployment

      interface Deployment {
          BaseRegistrarImplementation: string;
          DefaultReverseResolver: string;
          DummyOracle?: string;
          MNSMigrations: string;
          MNSRegistry: string;
          MNSRegistryWithFallback: string;
          MRXRegistrarController: string;
          MRXtoUSDOracle?: string;
          NameWrapper: string;
          PublicResolver: string;
          ReverseRegistrar: string;
          StaticMetadataService: string;
          TestRegistrar?: string;
      }

      Properties

      BaseRegistrarImplementation: string
      DefaultReverseResolver: string
      DummyOracle?: string
      MNSMigrations: string
      MNSRegistry: string
      MNSRegistryWithFallback: string
      MRXRegistrarController: string
      MRXtoUSDOracle?: string
      NameWrapper: string
      PublicResolver: string
      ReverseRegistrar: string
      StaticMetadataService: string
      TestRegistrar?: string
      +

      Properties

      BaseRegistrarImplementation: string
      DefaultReverseResolver: string
      DummyOracle?: string
      MNSMigrations: string
      MNSRegistry: string
      MNSRegistryWithFallback: string
      MRXRegistrarController: string
      MRXtoUSDOracle?: string
      NameWrapper: string
      PublicResolver: string
      ReverseRegistrar: string
      StaticMetadataService: string
      TestRegistrar?: string
      diff --git a/docs/interfaces/profiles.ABIResolver.html b/docs/interfaces/profiles.ABIResolver.html index 5e57f7a..eea67b5 100644 --- a/docs/interfaces/profiles.ABIResolver.html +++ b/docs/interfaces/profiles.ABIResolver.html @@ -1,5 +1,5 @@ ABIResolver | @metrixnames/mnslib

      Interface that represent an ABI Resolver

      -
      interface ABIResolver {
          ABI(node: string, contentType: bigint): Promise<[contentType: bigint, data: string]>;
          setABI(node: string, contentType: bigint, data: string): Promise<Transaction>;
          supportsInterface(interfaceId: string): Promise<boolean>;
      }

      Hierarchy

      • IERC165
        • ABIResolver

      Implemented by

      Methods

      ABI +
      interface ABIResolver {
          ABI(node: string, contentType: bigint): Promise<[contentType: bigint, data: string]>;
          setABI(node: string, contentType: bigint, data: string): Promise<Transaction>;
          supportsInterface(interfaceId: string): Promise<boolean>;
      }

      Hierarchy

      • IERC165
        • ABIResolver

      Implemented by

      Methods

      • Returns the ABI associated with an MNS node. @@ -7,14 +7,14 @@

        Parameters

        • node: string

          The MNS node to query

        • contentType: bigint

          A bitwise OR of the ABI formats accepted by the caller.

        Returns Promise<[contentType: bigint, data: string]>

        [contentType,data] The content type of the return data value

        -
      • Sets the ABI associated with an MNS node. Nodes may have one ABI of each content type. To remove an ABI, set it to the empty string.

        Parameters

        • node: string

          The node to update.

        • contentType: bigint

          The content type of the ABI

        • data: string

          The ABI data.

        Returns Promise<Transaction>

        an array of TransactionReceipt objects

        -
      • Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.

        diff --git a/docs/interfaces/profiles.AddrResolver.html b/docs/interfaces/profiles.AddrResolver.html index 1c8b6a8..0eb169d 100644 --- a/docs/interfaces/profiles.AddrResolver.html +++ b/docs/interfaces/profiles.AddrResolver.html @@ -1,5 +1,5 @@ AddrResolver | @metrixnames/mnslib

        Interface that represent an Address Resolver

        -
        interface AddrResolver {
            addr(node: string): Promise<string>;
            addrByType(node: string, coinType: bigint): Promise<string>;
            setAddr(node: string, a: string): Promise<Transaction>;
            setAddrByType(node: string, coinType: bigint, a: string): Promise<Transaction>;
            supportsInterface(interfaceId: string): Promise<boolean>;
        }

        Hierarchy

        • IERC165
          • AddrResolver

        Implemented by

        Methods

        interface AddrResolver {
            addr(node: string): Promise<string>;
            addrByType(node: string, coinType: bigint): Promise<string>;
            setAddr(node: string, a: string): Promise<Transaction>;
            setAddrByType(node: string, coinType: bigint, a: string): Promise<Transaction>;
            supportsInterface(interfaceId: string): Promise<boolean>;
        }

        Hierarchy

        • IERC165
          • AddrResolver

        Implemented by

        Methods

        Methods

        • Returns the address associated with an MNS node.

          Parameters

          • node: string

            The MNS node to query.

          Returns Promise<string>

          The associated address.

          -
        • Returns the address associated with an MNS node.

          Parameters

          • node: string

            The MNS node to query.

          • coinType: bigint

            the slip44 id of the coin

          Returns Promise<string>

          The associated address.

          -
        • Sets the address associated with an MNS node. May only be called by the owner of that node in the MNS registry.

          Parameters

          • node: string

            The node to update.

          • a: string

            The address to set.

          Returns Promise<Transaction>

          an array of TransactionReceipt objects

          -
        • Sets the address associated with an MNS node. May only be called by the owner of that node in the MNS registry.

          Parameters

          • node: string

            The node to update.

          • coinType: bigint

            the slip44 id of the coin

          • a: string

            The address to set.

          Returns Promise<Transaction>

          an array of TransactionReceipt objects

          -
        • Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.

          diff --git a/docs/interfaces/profiles.ContentHashResolver.html b/docs/interfaces/profiles.ContentHashResolver.html index e02cb2c..c4ac449 100644 --- a/docs/interfaces/profiles.ContentHashResolver.html +++ b/docs/interfaces/profiles.ContentHashResolver.html @@ -1,16 +1,16 @@ ContentHashResolver | @metrixnames/mnslib

          Interface that represent a ContentHash Resolver

          -
          interface ContentHashResolver {
              contenthash(node: string): Promise<string>;
              setContenthash(node: string, hash: string): Promise<Transaction>;
              supportsInterface(interfaceId: string): Promise<boolean>;
          }

          Hierarchy

          • IERC165
            • ContentHashResolver

          Implemented by

          Methods

          interface ContentHashResolver {
              contenthash(node: string): Promise<string>;
              setContenthash(node: string, hash: string): Promise<Transaction>;
              supportsInterface(interfaceId: string): Promise<boolean>;
          }

          Hierarchy

          • IERC165
            • ContentHashResolver

          Implemented by

          Methods

          • Sets the contenthash associated with an MNS node. May only be called by the owner of that node in the MNS registry.

            Parameters

            • node: string

              The node to update.

            • hash: string

              The contenthash to set

            Returns Promise<Transaction>

            an array of TransactionReceipt objects

            -
          diff --git a/docs/interfaces/profiles.InterfaceResolver.html b/docs/interfaces/profiles.InterfaceResolver.html index 9235a41..de6514f 100644 --- a/docs/interfaces/profiles.InterfaceResolver.html +++ b/docs/interfaces/profiles.InterfaceResolver.html @@ -1,5 +1,5 @@ InterfaceResolver | @metrixnames/mnslib

          Interface that represents an Interface Resolver

          -
          interface InterfaceResolver {
              interfaceImplementer(node: string, interfaceId: string): Promise<string>;
              setInterface(node: string, interfaceId: string, implementer: string): Promise<Transaction>;
              supportsInterface(interfaceId: string): Promise<boolean>;
          }

          Hierarchy

          • IERC165
            • InterfaceResolver

          Implemented by

          Methods

          interface InterfaceResolver {
              interfaceImplementer(node: string, interfaceId: string): Promise<string>;
              setInterface(node: string, interfaceId: string, implementer: string): Promise<Transaction>;
              supportsInterface(interfaceId: string): Promise<boolean>;
          }

          Hierarchy

          • IERC165
            • InterfaceResolver

          Implemented by

          Methods

          • Returns the address of a contract that implements the specified interface for this name. @@ -10,13 +10,13 @@

            Parameters

            • node: string

              The MNS node to query.

            • interfaceId: string

              The EIP 165 interface ID to check for.

            Returns Promise<string>

            The address that implements this interface, or 0 if the interface is unsupported.

            -
          • Sets an interface associated with a name. Setting the address to 0 restores the default behaviour of querying the contract at addr() for interface support.

            Parameters

            • node: string

              The node to update.

            • interfaceId: string

              The EIP 165 interface ID.

            • implementer: string

              The address of a contract that implements this interface for this node.

            Returns Promise<Transaction>

            an array of TransactionReceipt objects

            -
          • Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.

            diff --git a/docs/interfaces/profiles.NameResolver.html b/docs/interfaces/profiles.NameResolver.html index e43fe4f..d7737fc 100644 --- a/docs/interfaces/profiles.NameResolver.html +++ b/docs/interfaces/profiles.NameResolver.html @@ -1,17 +1,17 @@ NameResolver | @metrixnames/mnslib

            Interface that represents a Name Resolver

            -
            interface NameResolver {
                name(node: string): Promise<string>;
                setName(node: string, name: string): Promise<Transaction>;
                supportsInterface(interfaceId: string): Promise<boolean>;
            }

            Hierarchy

            • IERC165
              • NameResolver

            Implemented by

            Methods

            interface NameResolver {
                name(node: string): Promise<string>;
                setName(node: string, name: string): Promise<Transaction>;
                supportsInterface(interfaceId: string): Promise<boolean>;
            }

            Hierarchy

            • IERC165
              • NameResolver

            Implemented by

            Methods

            • Returns the name associated with an MNS node, for reverse records. Defined in EIP181.

              Parameters

              • node: string

                The MNS node to query.

              Returns Promise<string>

              The associated name.

              -
            • Sets the name associated with an MNS node, for reverse records. May only be called by the owner of that node in the MNS registry.

              Parameters

              • node: string

                The node to update.

              • name: string

                The name to set.

              Returns Promise<Transaction>

              an array of TransactionReceipt objects

              -
            diff --git a/docs/modules/profiles.html b/docs/modules/profiles.html index 89f2929..a8e7707 100644 --- a/docs/modules/profiles.html +++ b/docs/modules/profiles.html @@ -1,4 +1,4 @@ -profiles | @metrixnames/mnslib

            Namespace profiles

            Index

            Interfaces

            ABIResolver +profiles | @metrixnames/mnslib

            Namespace profiles

            Index

            Interfaces

            ABIResolver AddrResolver ContentHashResolver DNSResolver diff --git a/docs/modules/registrars.MrxRegistrar.html b/docs/modules/registrars.MrxRegistrar.html index 6e19a10..b095a85 100644 --- a/docs/modules/registrars.MrxRegistrar.html +++ b/docs/modules/registrars.MrxRegistrar.html @@ -1,2 +1,2 @@ -MrxRegistrar | @metrixnames/mnslib

            Index

            Classes

            MrxRegistrar +MrxRegistrar | @metrixnames/mnslib
            diff --git a/docs/modules/registrars.MrxRegistrarController.html b/docs/modules/registrars.MrxRegistrarController.html index 549cc5e..34e3c8f 100644 --- a/docs/modules/registrars.MrxRegistrarController.html +++ b/docs/modules/registrars.MrxRegistrarController.html @@ -1,2 +1,2 @@ -MrxRegistrarController | @metrixnames/mnslib

            Index

            Classes

            MrxRegistrarController +MrxRegistrarController | @metrixnames/mnslib
            diff --git a/docs/modules/registrars.ReverseRegistrar.html b/docs/modules/registrars.ReverseRegistrar.html index cf0bae4..9447bfe 100644 --- a/docs/modules/registrars.ReverseRegistrar.html +++ b/docs/modules/registrars.ReverseRegistrar.html @@ -1,2 +1,2 @@ -ReverseRegistrar | @metrixnames/mnslib

            Index

            Classes

            ReverseRegistrar +ReverseRegistrar | @metrixnames/mnslib
            diff --git a/docs/modules/registrars.TestRegistrar.html b/docs/modules/registrars.TestRegistrar.html index 2483aea..60a9647 100644 --- a/docs/modules/registrars.TestRegistrar.html +++ b/docs/modules/registrars.TestRegistrar.html @@ -1,2 +1,2 @@ -TestRegistrar | @metrixnames/mnslib

            Index

            Classes

            TestRegistrar +TestRegistrar | @metrixnames/mnslib
            diff --git a/docs/modules/registrars.html b/docs/modules/registrars.html index 930318c..81323ed 100644 --- a/docs/modules/registrars.html +++ b/docs/modules/registrars.html @@ -1,4 +1,4 @@ -registrars | @metrixnames/mnslib

            Namespace registrars

            Index

            Namespaces

            MrxRegistrar +registrars | @metrixnames/mnslib

            Namespace registrars

            Index

            Namespaces

            MrxRegistrar MrxRegistrarController ReverseRegistrar TestRegistrar diff --git a/docs/variables/CONTRACTS.html b/docs/variables/CONTRACTS.html index 010353a..1605f75 100644 --- a/docs/variables/CONTRACTS.html +++ b/docs/variables/CONTRACTS.html @@ -1 +1 @@ -CONTRACTS | @metrixnames/mnslib

            Variable CONTRACTSConst

            CONTRACTS: {
                MainNet: Deployment;
                TestNet: Deployment;
            } = ...
            +CONTRACTS | @metrixnames/mnslib

            Variable CONTRACTSConst

            CONTRACTS: {
                MainNet: Deployment;
                TestNet: Deployment;
            } = ...
            diff --git a/docs/variables/namehash.html b/docs/variables/namehash.html index b29de81..d4f5007 100644 --- a/docs/variables/namehash.html +++ b/docs/variables/namehash.html @@ -1 +1 @@ -namehash | @metrixnames/mnslib

            Variable namehashConst

            namehash: any = ...
            +namehash | @metrixnames/mnslib

            Variable namehashConst

            namehash: any = ...
            diff --git a/package-lock.json b/package-lock.json index 01d79a1..8070a96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@metrixnames/mnslib", - "version": "2.2.2", + "version": "2.2.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@metrixnames/mnslib", - "version": "2.2.2", + "version": "2.2.3", "license": "MIT", "dependencies": { "@ensdomains/address-encoder": "^0.2.20", "@ensdomains/eth-ens-namehash": "^2.0.15", - "@metrixcoin/metrilib": "^1.6.1-beta", + "@metrixcoin/metrilib": "^1.6.2-beta", "bs58": "^6.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.3", @@ -31,13 +31,14 @@ "mocha": "^10.0.0", "nyc": "^15.1.0", "prettier": "^2.6.2", + "rimraf": "^6.0.1", "source-map-support": "^0.5.21", "ts-node": "^10.8.0", "typedoc": "^0.26.5", "typescript": "5.5.4" }, "engines": { - "node": ">=14.0.0", + "node": ">=18.0.0", "npm": ">=6.0.0" }, "optionalDependencies": { @@ -593,6 +594,102 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -765,34 +862,21 @@ } }, "node_modules/@metrixcoin/metrilib": { - "version": "1.6.1-beta", - "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.1-beta.tgz", - "integrity": "sha512-m8bO5kc6uq9Kx68unHyNmuARYAvzP4FyCFQi6OaDffImetKMpA9ysNhE53fcsblfl4AcZx3i2Tv5WXrz0B1QZA==", + "version": "1.6.2-beta", + "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.2-beta.tgz", + "integrity": "sha512-qUBECee2Oag0YJ7k1zlFVisdnIstKjVdhvwhF5zjeO4PEsF3GBCg0ATD4z5DIWzkQhSqlN4jGZ5l2KsqMbjDRA==", "dependencies": { - "bs58": "^5.0.0", + "bs58": "^6.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.2", "locks": "^0.2.2", "node-fetch": "^2.6.1" }, "engines": { - "node": ">=14.0.0", + "node": ">=18.0.0", "npm": ">=6.0.0" } }, - "node_modules/@metrixcoin/metrilib/node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" - }, - "node_modules/@metrixcoin/metrilib/node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", - "dependencies": { - "base-x": "^4.0.0" - } - }, "node_modules/@noble/curves": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", @@ -850,6 +934,16 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@shikijs/core": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.12.1.tgz", @@ -1971,6 +2065,12 @@ "node": ">=8" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "node_modules/electron-to-chromium": { "version": "1.4.428", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.428.tgz", @@ -3072,6 +3172,22 @@ "node": ">=8" } }, + "node_modules/istanbul-lib-processinfo/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/istanbul-lib-report": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", @@ -3113,6 +3229,24 @@ "node": ">=8" } }, + "node_modules/jackspeak": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", + "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/js-crc": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/js-crc/-/js-crc-0.2.0.tgz", @@ -3390,6 +3524,15 @@ "node": "*" } }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/mocha": { "version": "10.2.0", "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", @@ -3715,6 +3858,22 @@ "node": ">=8" } }, + "node_modules/nyc/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/nyc/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -3905,6 +4064,12 @@ "node": ">=8" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -3944,6 +4109,31 @@ "node": ">=8" } }, + "node_modules/path-scurry": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "dev": true, + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.0.tgz", + "integrity": "sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==", + "dev": true, + "engines": { + "node": "20 || >=22" + } + }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -4190,15 +4380,94 @@ } }, "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", + "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "glob": "^11.0.0", + "package-json-from-dist": "^1.0.0" }, "bin": { - "rimraf": "bin.js" + "rimraf": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/rimraf/node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", + "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -4420,6 +4689,22 @@ "node": ">=8" } }, + "node_modules/spawn-wrap/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -4448,6 +4733,21 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -4460,6 +4760,19 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -4864,6 +5177,24 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -5444,6 +5775,71 @@ "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", "dev": true }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } + } + } + }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -5576,30 +5972,15 @@ } }, "@metrixcoin/metrilib": { - "version": "1.6.1-beta", - "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.1-beta.tgz", - "integrity": "sha512-m8bO5kc6uq9Kx68unHyNmuARYAvzP4FyCFQi6OaDffImetKMpA9ysNhE53fcsblfl4AcZx3i2Tv5WXrz0B1QZA==", + "version": "1.6.2-beta", + "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.2-beta.tgz", + "integrity": "sha512-qUBECee2Oag0YJ7k1zlFVisdnIstKjVdhvwhF5zjeO4PEsF3GBCg0ATD4z5DIWzkQhSqlN4jGZ5l2KsqMbjDRA==", "requires": { - "bs58": "^5.0.0", + "bs58": "^6.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.2", "locks": "^0.2.2", "node-fetch": "^2.6.1" - }, - "dependencies": { - "base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" - }, - "bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", - "requires": { - "base-x": "^4.0.0" - } - } } }, "@noble/curves": { @@ -5641,6 +6022,13 @@ "fastq": "^1.6.0" } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true + }, "@shikijs/core": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.12.1.tgz", @@ -6434,6 +6822,12 @@ "path-type": "^4.0.0" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "electron-to-chromium": { "version": "1.4.428", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.428.tgz", @@ -7194,6 +7588,17 @@ "p-map": "^3.0.0", "rimraf": "^3.0.0", "uuid": "^8.3.2" + }, + "dependencies": { + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } } }, "istanbul-lib-report": { @@ -7228,6 +7633,16 @@ "istanbul-lib-report": "^3.0.0" } }, + "jackspeak": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", + "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "js-crc": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/js-crc/-/js-crc-0.2.0.tgz", @@ -7450,6 +7865,12 @@ "brace-expansion": "^1.1.7" } }, + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true + }, "mocha": { "version": "10.2.0", "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", @@ -7711,6 +8132,15 @@ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -7855,6 +8285,12 @@ "release-zalgo": "^1.0.0" } }, + "package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true + }, "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -7882,6 +8318,24 @@ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, + "path-scurry": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "dev": true, + "requires": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "dependencies": { + "lru-cache": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.0.tgz", + "integrity": "sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==", + "dev": true + } + } + }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -8049,12 +8503,63 @@ "dev": true }, "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", + "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", "dev": true, "requires": { - "glob": "^7.1.3" + "glob": "^11.0.0", + "package-json-from-dist": "^1.0.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, + "glob": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", + "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^4.0.1", + "minimatch": "^10.0.0", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + } + }, + "minimatch": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + } } }, "ripemd160": { @@ -8204,6 +8709,17 @@ "rimraf": "^3.0.0", "signal-exit": "^3.0.2", "which": "^2.0.1" + }, + "dependencies": { + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } } }, "sprintf-js": { @@ -8231,6 +8747,17 @@ "strip-ansi": "^6.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -8240,6 +8767,15 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -8528,6 +9064,17 @@ "strip-ansi": "^6.0.0" } }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index 02628ca..89def43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metrixnames/mnslib", - "version": "2.2.2", + "version": "2.2.3", "description": "Library for interacting with the Metrix Name Service", "repository": "TheLindaProjectInc/mnslib", "source": "src/index.ts", @@ -17,7 +17,7 @@ }, "engines": { "npm": ">=6.0.0", - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "test": "mocha --config mocharc.json", @@ -25,7 +25,8 @@ "lint": "eslint .", "format": "prettier --write \"**/*.+(js|ts|json)\"", "build": "tsc", - "doc": "npx typedoc src" + "doc": "npx typedoc src", + "clean": "rimraf lib docs" }, "nyc": { "include": [ @@ -55,6 +56,7 @@ "mocha": "^10.0.0", "nyc": "^15.1.0", "prettier": "^2.6.2", + "rimraf": "^6.0.1", "source-map-support": "^0.5.21", "ts-node": "^10.8.0", "typedoc": "^0.26.5", @@ -63,12 +65,14 @@ "dependencies": { "@ensdomains/address-encoder": "^0.2.20", "@ensdomains/eth-ens-namehash": "^2.0.15", - "@metrixcoin/metrilib": "^1.6.1-beta", + "@metrixcoin/metrilib": "^1.6.2-beta", "bs58": "^6.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.3", "locks": "^0.2.2", "node-fetch": "^2.6.1" }, - "optionalDependencies": { "fsevents": "*" } + "optionalDependencies": { + "fsevents": "*" + } }