@getpara/wagmi-v2-connector 2.0.0-fc.2 → 2.0.0
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.
|
@@ -74,7 +74,8 @@ class ParaEIP1193Provider extends EventEmitter {
|
|
|
74
74
|
// @ts-ignore
|
|
75
75
|
},
|
|
76
76
|
{ noAccount: true }
|
|
77
|
-
)
|
|
77
|
+
);
|
|
78
|
+
this.walletClient.extend(publicActions);
|
|
78
79
|
this.emit("chainChanged", this.currentHexChainId);
|
|
79
80
|
};
|
|
80
81
|
this.closeModal = () => {
|
|
@@ -105,7 +106,7 @@ class ParaEIP1193Provider extends EventEmitter {
|
|
|
105
106
|
const accounts = yield this.waitForAccounts();
|
|
106
107
|
this.emit("accountsChanged", accounts);
|
|
107
108
|
return accounts;
|
|
108
|
-
} catch (
|
|
109
|
+
} catch (e) {
|
|
109
110
|
throw new ProviderRpcError(new Error("accounts not available after login"), {
|
|
110
111
|
code: 4001,
|
|
111
112
|
shortMessage: "accounts not available after login"
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/wagmi-v2-connector",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@getpara/viem-v2-integration": "2.0.0
|
|
6
|
-
"@getpara/web-sdk": "2.0.0
|
|
5
|
+
"@getpara/viem-v2-integration": "2.0.0",
|
|
6
|
+
"@getpara/web-sdk": "2.0.0"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"typescript": "^5.8.3",
|
|
10
|
-
"viem": "^2.
|
|
10
|
+
"viem": "^2.38.5",
|
|
11
11
|
"wagmi": "^2.14.16"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
15
|
"package.json"
|
|
16
16
|
],
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "a64b6aa9b3c481a2d955022f621e495fb55e549e",
|
|
18
18
|
"main": "dist/index.js",
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": "*",
|