Upgrade polkadot-js deps (#1396)
* Upgrade polkadot-js deps * Upgrade phishing * Ignore deprecation on Ledger class set by common repo
This commit is contained in:
+7
-7
@@ -50,13 +50,13 @@
|
||||
"sinon-chrome": "^3.0.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^12.0.2",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/types": "^12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-fetch": "^12.6.2",
|
||||
"@polkadot/api": "^12.2.1",
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/networks": "^13.0.2",
|
||||
"@polkadot/types": "^12.2.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"@polkadot/x-fetch": "^13.0.2",
|
||||
"safe-buffer": "^5.2.1",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
|
||||
@@ -21,19 +21,19 @@
|
||||
"version": "0.48.3-3-x",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "^12.0.2",
|
||||
"@polkadot/api": "^12.2.1",
|
||||
"@polkadot/extension-chains": "0.48.3-3-x",
|
||||
"@polkadot/extension-dapp": "0.48.3-3-x",
|
||||
"@polkadot/extension-inject": "0.48.3-3-x",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/phishing": "^0.22.10",
|
||||
"@polkadot/rpc-provider": "^12.0.2",
|
||||
"@polkadot/types": "^12.0.2",
|
||||
"@polkadot/ui-keyring": "^3.6.6",
|
||||
"@polkadot/ui-settings": "^3.6.6",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/networks": "^13.0.2",
|
||||
"@polkadot/phishing": "^0.23.1",
|
||||
"@polkadot/rpc-provider": "^12.2.1",
|
||||
"@polkadot/types": "^12.2.1",
|
||||
"@polkadot/ui-keyring": "^3.7.1",
|
||||
"@polkadot/ui-settings": "^3.7.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/extension-inject": "0.48.3-3-x",
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/networks": "^13.0.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
"dependencies": {
|
||||
"@metamask/detect-provider": "^2.0.0",
|
||||
"@polkadot/extension-inject": "0.48.3-3-x",
|
||||
"@polkadot/types": "^12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/types": "^12.2.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"tslib": "^2.6.2",
|
||||
"web3": "^4.7.0"
|
||||
},
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/extension-inject": "0.48.3-3-x",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"version": "0.48.3-3-x",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "^12.0.2",
|
||||
"@polkadot/rpc-provider": "^12.0.2",
|
||||
"@polkadot/types": "^12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-global": "^12.6.2",
|
||||
"@polkadot/api": "^12.2.1",
|
||||
"@polkadot/rpc-provider": "^12.2.1",
|
||||
"@polkadot/types": "^12.2.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"@polkadot/x-global": "^13.0.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,22 +23,22 @@
|
||||
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
||||
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||
"@paraspell/xcm-analyser": "^1.3.0",
|
||||
"@polkadot/api": "^12.0.2",
|
||||
"@polkadot/api": "^12.2.1",
|
||||
"@polkadot/extension-base": "0.48.3-3-x",
|
||||
"@polkadot/extension-chains": "0.48.3-3-x",
|
||||
"@polkadot/extension-dapp": "0.48.3-3-x",
|
||||
"@polkadot/extension-inject": "0.48.3-3-x",
|
||||
"@polkadot/hw-ledger": "^12.6.2",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/react-identicon": "^3.6.6",
|
||||
"@polkadot/react-qr": "^3.6.6",
|
||||
"@polkadot/types": "^12.0.2",
|
||||
"@polkadot/types-augment": "^12.0.2",
|
||||
"@polkadot/ui-keyring": "^3.6.6",
|
||||
"@polkadot/ui-settings": "^3.6.6",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/hw-ledger": "^13.0.2",
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/networks": "^13.0.2",
|
||||
"@polkadot/react-identicon": "^3.7.1",
|
||||
"@polkadot/react-qr": "^3.7.1",
|
||||
"@polkadot/types": "^12.2.1",
|
||||
"@polkadot/types-augment": "^12.2.1",
|
||||
"@polkadot/ui-keyring": "^3.7.1",
|
||||
"@polkadot/ui-settings": "^3.7.1",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^23.7.11",
|
||||
"react": "^18.2.0",
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
// Copyright 2019-2024 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// This is to ensure the legacy `class Ledger` doesn't throw linting errors.
|
||||
//
|
||||
/* eslint-disable deprecation/deprecation */
|
||||
|
||||
import type { Network } from '@polkadot/networks/types';
|
||||
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"type": "module",
|
||||
"version": "0.48.3-3-x",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "^12.0.2",
|
||||
"@polkadot/api": "^12.2.1",
|
||||
"@polkadot/extension-base": "0.48.3-3-x",
|
||||
"@polkadot/extension-inject": "0.48.3-3-x",
|
||||
"@polkadot/extension-ui": "0.48.3-3-x",
|
||||
|
||||
Reference in New Issue
Block a user