From 95c6775309801c2aeaefcc5dfc6d9aa0308c1992 Mon Sep 17 00:00:00 2001 From: Kelvin Steiner Date: Fri, 11 Oct 2024 13:22:04 -0300 Subject: [PATCH] fix: @polkadot/util version on catalog and bump --- .vscode/settings.json | 1 + packages/api/package.json | 2 +- packages/utils/package.json | 2 +- pnpm-lock.yaml | 134 ++++-------------------------------- pnpm-workspace.yaml | 1 + 5 files changed, 16 insertions(+), 124 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e129c337..7b770cae 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,6 +18,7 @@ ], "cSpell.words": [ "comrads", + "keypair", "nanos", "netuid", "perc", diff --git a/packages/api/package.json b/packages/api/package.json index bc2065cf..92bd2b17 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -23,7 +23,7 @@ "@commune-ts/db": "workspace:*", "@commune-ts/types": "workspace:*", "@commune-ts/utils": "workspace:*", - "@polkadot/util": "^12.6.2", + "@polkadot/util": "catalog:", "@polkadot/util-crypto": "catalog:", "@trpc/server": "catalog:", "jsonwebtoken": "^9.0.2", diff --git a/packages/utils/package.json b/packages/utils/package.json index 5251fb1e..bebc8ce3 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@commune-ts/types": "workspace:*", - "@polkadot/util": "^12.6.2", + "@polkadot/util": "catalog:", "multiformats": "catalog:", "rustie": "catalog:", "tsafe": "catalog:" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b4be288..b3c6e0d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,6 +27,9 @@ catalogs: '@polkadot/types': specifier: ^13.0.1 version: 13.0.1 + '@polkadot/util': + specifier: ^13.0.2 + version: 13.0.2 '@polkadot/util-crypto': specifier: ^13.0.2 version: 13.0.2 @@ -710,11 +713,11 @@ importers: specifier: workspace:* version: link:../utils '@polkadot/util': - specifier: ^12.6.2 - version: 12.6.2 + specifier: 'catalog:' + version: 13.0.2 '@polkadot/util-crypto': specifier: 'catalog:' - version: 13.0.2(@polkadot/util@12.6.2) + version: 13.0.2(@polkadot/util@13.0.2) '@trpc/server': specifier: 'catalog:' version: 11.0.0-rc.502 @@ -1034,8 +1037,8 @@ importers: specifier: workspace:* version: link:../types '@polkadot/util': - specifier: ^12.6.2 - version: 12.6.2 + specifier: 'catalog:' + version: 13.0.2 multiformats: specifier: 'catalog:' version: 13.2.3 @@ -1121,7 +1124,7 @@ importers: version: 7.35.0(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-react-hooks: specifier: rc - version: 5.1.0-rc-0751fac7-20241002(eslint@9.10.0(jiti@1.21.6)) + version: 5.1.0-rc-09111202-20241011(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-turbo: specifier: ^2.1.1 version: 2.1.2(eslint@9.10.0(jiti@1.21.6)) @@ -2070,10 +2073,6 @@ packages: peerDependencies: '@polkadot/util': 13.0.2 - '@polkadot/util@12.6.2': - resolution: {integrity: sha512-l8TubR7CLEY47240uki0TQzFvtnxFIO7uI/0GoWzpYD/O62EIAMRsuY01N4DuwgKq2ZWD59WhzsLYmA5K6ksdw==} - engines: {node: '>=18'} - '@polkadot/util@13.0.2': resolution: {integrity: sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg==} engines: {node: '>=18'} @@ -2117,10 +2116,6 @@ packages: peerDependencies: '@polkadot/util': '*' - '@polkadot/x-bigint@12.6.2': - resolution: {integrity: sha512-HSIk60uFPX4GOFZSnIF7VYJz7WZA7tpFJsne7SzxOooRwMTWEtw3fUpFy5cYYOeLh17/kHH1Y7SVcuxzVLc74Q==} - engines: {node: '>=18'} - '@polkadot/x-bigint@13.0.2': resolution: {integrity: sha512-h2jKT/UaxiEal8LhQeH6+GCjO7GwEqVAD2SNYteCOXff6yNttqAZYJuHZsndbVjVNwqRNf8D5q/zZkD0HUd6xQ==} engines: {node: '>=18'} @@ -2129,10 +2124,6 @@ packages: resolution: {integrity: sha512-B/gf9iriUr6za/Ui7zIFBfHz7UBZ68rJEIteWHx1UHRCZPcLqv+hgpev6xIGrkfFljI0/lI7IwtN2qy6HYzFBg==} engines: {node: '>=18'} - '@polkadot/x-global@12.6.2': - resolution: {integrity: sha512-a8d6m+PW98jmsYDtAWp88qS4dl8DyqUBsd0S+WgyfSMtpEXu6v9nXDgPZgwF5xdDvXhm+P0ZfVkVTnIGrScb5g==} - engines: {node: '>=18'} - '@polkadot/x-global@13.0.2': resolution: {integrity: sha512-OoNIXLB5y8vIKpk4R+XmpDPhipNXWSUvEwUnpQT7NAxNLmzgMq1FhbrwBWWPRNHPrQonp7mqxV/X+v5lv1HW/g==} engines: {node: '>=18'} @@ -2144,18 +2135,10 @@ packages: '@polkadot/util': 13.0.2 '@polkadot/wasm-util': '*' - '@polkadot/x-textdecoder@12.6.2': - resolution: {integrity: sha512-M1Bir7tYvNappfpFWXOJcnxUhBUFWkUFIdJSyH0zs5LmFtFdbKAeiDXxSp2Swp5ddOZdZgPac294/o2TnQKN1w==} - engines: {node: '>=18'} - '@polkadot/x-textdecoder@13.0.2': resolution: {integrity: sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA==} engines: {node: '>=18'} - '@polkadot/x-textencoder@12.6.2': - resolution: {integrity: sha512-4N+3UVCpI489tUJ6cv3uf0PjOHvgGp9Dl+SZRLgFGt9mvxnvpW/7+XBADRMtlG4xi5gaRK7bgl5bmY6OMDsNdw==} - engines: {node: '>=18'} - '@polkadot/x-textencoder@13.0.2': resolution: {integrity: sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw==} engines: {node: '>=18'} @@ -3964,8 +3947,8 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - eslint-plugin-react-hooks@5.1.0-rc-0751fac7-20241002: - resolution: {integrity: sha512-9CEhaksLMmjRIpLdm5xazaCvDYsLZ0OKgCBQTyuiP4LvtB1wiQVBVGgQVWF1iC2FZmilFsefdmxUJb0nQl80Yg==} + eslint-plugin-react-hooks@5.1.0-rc-09111202-20241011: + resolution: {integrity: sha512-HLdP3Qpr9KUckSEhxwWHqpXGJYKlZV+P9gqdOwPa45Ka3qhY1kuflvtwRMMA9dd7p8AL/lRLU3UUfNcDVh5DGw==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 @@ -7257,19 +7240,6 @@ snapshots: rxjs: 7.8.1 tslib: 2.7.0 - '@polkadot/util-crypto@13.0.2(@polkadot/util@12.6.2)': - dependencies: - '@noble/curves': 1.5.0 - '@noble/hashes': 1.4.0 - '@polkadot/networks': 13.0.2 - '@polkadot/util': 12.6.2 - '@polkadot/wasm-crypto': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) - '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/x-bigint': 13.0.2 - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) - '@scure/base': 1.1.7 - tslib: 2.7.0 - '@polkadot/util-crypto@13.0.2(@polkadot/util@13.0.2)': dependencies: '@noble/curves': 1.5.0 @@ -7283,16 +7253,6 @@ snapshots: '@scure/base': 1.1.7 tslib: 2.7.0 - '@polkadot/util@12.6.2': - dependencies: - '@polkadot/x-bigint': 12.6.2 - '@polkadot/x-global': 12.6.2 - '@polkadot/x-textdecoder': 12.6.2 - '@polkadot/x-textencoder': 12.6.2 - '@types/bn.js': 5.1.5 - bn.js: 5.2.1 - tslib: 2.7.0 - '@polkadot/util@13.0.2': dependencies: '@polkadot/x-bigint': 13.0.2 @@ -7303,13 +7263,6 @@ snapshots: bn.js: 5.2.1 tslib: 2.7.0 - '@polkadot/wasm-bridge@7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)))': - dependencies: - '@polkadot/util': 12.6.2 - '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) - tslib: 2.7.0 - '@polkadot/wasm-bridge@7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)))': dependencies: '@polkadot/util': 13.0.2 @@ -7317,26 +7270,11 @@ snapshots: '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) tslib: 2.7.0 - '@polkadot/wasm-crypto-asmjs@7.3.2(@polkadot/util@12.6.2)': - dependencies: - '@polkadot/util': 12.6.2 - tslib: 2.7.0 - '@polkadot/wasm-crypto-asmjs@7.3.2(@polkadot/util@13.0.2)': dependencies: '@polkadot/util': 13.0.2 tslib: 2.7.0 - '@polkadot/wasm-crypto-init@7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)))': - dependencies: - '@polkadot/util': 12.6.2 - '@polkadot/wasm-bridge': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) - '@polkadot/wasm-crypto-asmjs': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/wasm-crypto-wasm': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) - tslib: 2.7.0 - '@polkadot/wasm-crypto-init@7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)))': dependencies: '@polkadot/util': 13.0.2 @@ -7347,29 +7285,12 @@ snapshots: '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) tslib: 2.7.0 - '@polkadot/wasm-crypto-wasm@7.3.2(@polkadot/util@12.6.2)': - dependencies: - '@polkadot/util': 12.6.2 - '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) - tslib: 2.7.0 - '@polkadot/wasm-crypto-wasm@7.3.2(@polkadot/util@13.0.2)': dependencies: '@polkadot/util': 13.0.2 '@polkadot/wasm-util': 7.3.2(@polkadot/util@13.0.2) tslib: 2.7.0 - '@polkadot/wasm-crypto@7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)))': - dependencies: - '@polkadot/util': 12.6.2 - '@polkadot/wasm-bridge': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) - '@polkadot/wasm-crypto-asmjs': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/wasm-crypto-init': 7.3.2(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))) - '@polkadot/wasm-crypto-wasm': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)) - tslib: 2.7.0 - '@polkadot/wasm-crypto@7.3.2(@polkadot/util@13.0.2)(@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)))': dependencies: '@polkadot/util': 13.0.2 @@ -7381,21 +7302,11 @@ snapshots: '@polkadot/x-randomvalues': 13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)) tslib: 2.7.0 - '@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2)': - dependencies: - '@polkadot/util': 12.6.2 - tslib: 2.7.0 - '@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2)': dependencies: '@polkadot/util': 13.0.2 tslib: 2.7.0 - '@polkadot/x-bigint@12.6.2': - dependencies: - '@polkadot/x-global': 12.6.2 - tslib: 2.7.0 - '@polkadot/x-bigint@13.0.2': dependencies: '@polkadot/x-global': 13.0.2 @@ -7407,21 +7318,10 @@ snapshots: node-fetch: 3.3.2 tslib: 2.7.0 - '@polkadot/x-global@12.6.2': - dependencies: - tslib: 2.7.0 - '@polkadot/x-global@13.0.2': dependencies: tslib: 2.7.0 - '@polkadot/x-randomvalues@13.0.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@12.6.2))': - dependencies: - '@polkadot/util': 12.6.2 - '@polkadot/wasm-util': 7.3.2(@polkadot/util@12.6.2) - '@polkadot/x-global': 13.0.2 - tslib: 2.7.0 - '@polkadot/x-randomvalues@13.0.2(@polkadot/util@13.0.2)(@polkadot/wasm-util@7.3.2(@polkadot/util@13.0.2))': dependencies: '@polkadot/util': 13.0.2 @@ -7429,21 +7329,11 @@ snapshots: '@polkadot/x-global': 13.0.2 tslib: 2.7.0 - '@polkadot/x-textdecoder@12.6.2': - dependencies: - '@polkadot/x-global': 12.6.2 - tslib: 2.7.0 - '@polkadot/x-textdecoder@13.0.2': dependencies: '@polkadot/x-global': 13.0.2 tslib: 2.7.0 - '@polkadot/x-textencoder@12.6.2': - dependencies: - '@polkadot/x-global': 12.6.2 - tslib: 2.7.0 - '@polkadot/x-textencoder@13.0.2': dependencies: '@polkadot/x-global': 13.0.2 @@ -9472,7 +9362,7 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.0 - eslint-plugin-react-hooks@5.1.0-rc-0751fac7-20241002(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-react-hooks@5.1.0-rc-09111202-20241011(eslint@9.10.0(jiti@1.21.6)): dependencies: eslint: 9.10.0(jiti@1.21.6) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a60447c6..c633ab58 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -15,6 +15,7 @@ catalog: "@t3-oss/env-nextjs": ^0.10.1 "dotenv-cli": ^7.4.2 "@polkadot/api": ^13.0.1 + "@polkadot/util": ^13.0.2 "@polkadot/util-crypto": ^13.0.2 "@polkadot/types": ^13.0.1 "@polkadot/api-augment": ^13.0.1