@btc-vision/walletconnect 1.9.7 → 1.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,7 +53,7 @@ class OPWallet {
|
|
|
53
53
|
const chain = await this.walletBase.getChain();
|
|
54
54
|
switch (chain.enum) {
|
|
55
55
|
case UnisatChainType.BITCOIN_MAINNET:
|
|
56
|
-
return new JSONRpcProvider('https://
|
|
56
|
+
return new JSONRpcProvider('https://mainnet.opnet.org', networks.bitcoin);
|
|
57
57
|
case UnisatChainType.BITCOIN_TESTNET:
|
|
58
58
|
return new JSONRpcProvider('https://testnet.opnet.org', networks.testnet);
|
|
59
59
|
case UnisatChainType.BITCOIN_REGTEST:
|
|
@@ -31,7 +31,7 @@ class UnisatWallet {
|
|
|
31
31
|
const chain = await this.walletBase.getChain();
|
|
32
32
|
switch (chain.enum) {
|
|
33
33
|
case UnisatChainType.BITCOIN_MAINNET:
|
|
34
|
-
return new JSONRpcProvider('https://
|
|
34
|
+
return new JSONRpcProvider('https://mainnet.opnet.org', networks.bitcoin);
|
|
35
35
|
case UnisatChainType.BITCOIN_TESTNET:
|
|
36
36
|
return new JSONRpcProvider('https://testnet.opnet.org', networks.testnet);
|
|
37
37
|
case UnisatChainType.BITCOIN_REGTEST:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btc-vision/walletconnect",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.9",
|
|
5
5
|
"author": "impredmet",
|
|
6
6
|
"description": "The OP_NET Wallet Connect library helps your dApp connect to any compatible wallet.",
|
|
7
7
|
"engines": {
|
|
@@ -86,15 +86,15 @@
|
|
|
86
86
|
"webpack-cli": "^6.0.1"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@btc-vision/bitcoin": "^6.4.
|
|
90
|
-
"@btc-vision/transaction": "^1.6.
|
|
91
|
-
"@eslint/js": "^9.
|
|
89
|
+
"@btc-vision/bitcoin": "^6.4.10",
|
|
90
|
+
"@btc-vision/transaction": "^1.6.18",
|
|
91
|
+
"@eslint/js": "^9.38.0",
|
|
92
92
|
"css-loader": "^7.1.2",
|
|
93
93
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
94
94
|
"gulp-clean": "^0.4.0",
|
|
95
95
|
"gulp-eslint-new": "^2.5.0",
|
|
96
96
|
"gulp-logger-new": "^1.0.1",
|
|
97
|
-
"opnet": "^1.6.
|
|
97
|
+
"opnet": "^1.6.41",
|
|
98
98
|
"style-loader": "^4.0.0",
|
|
99
99
|
"webpack": "^5.102.1"
|
|
100
100
|
}
|
|
@@ -69,7 +69,7 @@ class OPWallet implements WalletBase {
|
|
|
69
69
|
const chain = await this.walletBase.getChain();
|
|
70
70
|
switch (chain.enum) {
|
|
71
71
|
case UnisatChainType.BITCOIN_MAINNET:
|
|
72
|
-
return new JSONRpcProvider('https://
|
|
72
|
+
return new JSONRpcProvider('https://mainnet.opnet.org', networks.bitcoin);
|
|
73
73
|
case UnisatChainType.BITCOIN_TESTNET:
|
|
74
74
|
return new JSONRpcProvider('https://testnet.opnet.org', networks.testnet);
|
|
75
75
|
case UnisatChainType.BITCOIN_REGTEST:
|
|
@@ -49,7 +49,7 @@ class UnisatWallet implements WalletBase {
|
|
|
49
49
|
const chain = await this.walletBase.getChain();
|
|
50
50
|
switch (chain.enum) {
|
|
51
51
|
case UnisatChainType.BITCOIN_MAINNET:
|
|
52
|
-
return new JSONRpcProvider('https://
|
|
52
|
+
return new JSONRpcProvider('https://mainnet.opnet.org', networks.bitcoin);
|
|
53
53
|
case UnisatChainType.BITCOIN_TESTNET:
|
|
54
54
|
return new JSONRpcProvider('https://testnet.opnet.org', networks.testnet);
|
|
55
55
|
case UnisatChainType.BITCOIN_REGTEST:
|