diff --git a/package-lock.json b/package-lock.json index 76910034e0..fc32374210 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "animejs": "^3.2.1", "autoprefixer": "^9.8.6", "axios": "0.21.1", - "bnc-sdk": "^3.4.1", + "bnc-sdk": "^3.5.0", "date-fns": "^2.21.1", "echarts": "^5.1.0", "ethereumjs-util": "^7.0.7", @@ -11006,9 +11006,10 @@ "license": "MIT" }, "node_modules/bnc-sdk": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/bnc-sdk/-/bnc-sdk-3.4.1.tgz", - "integrity": "sha512-GrZzN3zyqVOmtk++tvq/X1zchO+Bt9TIzw39xv7UkMLEUcs43pwj6XWphLRbqkrrILNSrLwOI0S8opyjffDFAA==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bnc-sdk/-/bnc-sdk-3.5.0.tgz", + "integrity": "sha512-4CSon8xRTjtD7YOUDJcyqZ/bKCNNwDc4sOPq6O19AlolYTsbbVvh+p5EOmYqL4Re30hI3lKQxN4sh12A6VnAPQ==", + "license": "MIT", "dependencies": { "crypto-es": "^1.2.2", "rxjs": "^6.6.3", @@ -39192,9 +39193,9 @@ "version": "4.12.0" }, "bnc-sdk": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/bnc-sdk/-/bnc-sdk-3.4.1.tgz", - "integrity": "sha512-GrZzN3zyqVOmtk++tvq/X1zchO+Bt9TIzw39xv7UkMLEUcs43pwj6XWphLRbqkrrILNSrLwOI0S8opyjffDFAA==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bnc-sdk/-/bnc-sdk-3.5.0.tgz", + "integrity": "sha512-4CSon8xRTjtD7YOUDJcyqZ/bKCNNwDc4sOPq6O19AlolYTsbbVvh+p5EOmYqL4Re30hI3lKQxN4sh12A6VnAPQ==", "requires": { "crypto-es": "^1.2.2", "rxjs": "^6.6.3", diff --git a/package.json b/package.json index beba223afe..8d7138b61d 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "animejs": "^3.2.1", "autoprefixer": "^9.8.6", "axios": "0.21.1", - "bnc-sdk": "^3.4.1", + "bnc-sdk": "^3.5.0", "date-fns": "^2.21.1", "echarts": "^5.1.0", "ethereumjs-util": "^7.0.7", diff --git a/src/composables/useBlocknative.ts b/src/composables/useBlocknative.ts index 674f6d8be8..96f3ba1d6c 100644 --- a/src/composables/useBlocknative.ts +++ b/src/composables/useBlocknative.ts @@ -5,7 +5,14 @@ import { bnSdkSymbol } from '@/plugins/blocknative'; import { Network } from '@/constants/network'; import useWeb3 from '@/services/web3/useWeb3'; -const SUPPORTED_NETWORKS = [Network.MAINNET, Network.KOVAN]; +const SUPPORTED_NETWORKS = [ + Network.MAINNET, + Network.KOVAN, + Network.RINKEBY, + Network.ROPSTEN, + Network.GĂ–RLI, + Network.POLYGON +]; export default function useBlocknative() { const { appNetworkConfig } = useWeb3();