@getpara/wagmi-v2-connector 2.0.0-alpha.69 → 2.0.0-alpha.70

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
- ).extend(publicActions);
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 (error) {
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-alpha.69",
3
+ "version": "2.0.0-alpha.70",
4
4
  "dependencies": {
5
- "@getpara/viem-v2-integration": "2.0.0-alpha.69",
6
- "@getpara/web-sdk": "2.0.0-alpha.69"
5
+ "@getpara/viem-v2-integration": "2.0.0-alpha.70",
6
+ "@getpara/web-sdk": "2.0.0-alpha.70"
7
7
  },
8
8
  "devDependencies": {
9
9
  "typescript": "^5.8.3",
10
- "viem": "^2.24.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": "956310e0ff58cc8e2736625d221245ab68304855",
17
+ "gitHead": "99d44cff3c68c07dc1cd8c2709b6ca4cd57dca61",
18
18
  "main": "dist/index.js",
19
19
  "peerDependencies": {
20
20
  "react": "*",