@wagmi/connectors 5.3.0 → 5.3.2

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.
@@ -1,2 +1,2 @@
1
- export const version = '5.3.0';
1
+ export const version = '5.3.2';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "5.3.0";
1
+ export declare const version = "5.3.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wagmi/connectors",
3
3
  "description": "Collection of connectors for Wagmi",
4
- "version": "5.3.0",
4
+ "version": "5.3.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -30,7 +30,7 @@
30
30
  "peerDependencies": {
31
31
  "typescript": ">=5.0.4",
32
32
  "viem": "2.x",
33
- "@wagmi/core": "2.14.0"
33
+ "@wagmi/core": "2.14.1"
34
34
  },
35
35
  "peerDependenciesMeta": {
36
36
  "typescript": {
@@ -38,12 +38,11 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@coinbase/wallet-sdk": "4.0.4",
42
- "@metamask/sdk": "0.30.0",
41
+ "@coinbase/wallet-sdk": "4.1.0",
42
+ "@metamask/sdk": "0.30.1",
43
43
  "@safe-global/safe-apps-provider": "0.18.3",
44
44
  "@safe-global/safe-apps-sdk": "9.1.0",
45
45
  "@walletconnect/ethereum-provider": "2.17.0",
46
- "@walletconnect/modal": "2.7.0",
47
46
  "cbw-sdk": "npm:@coinbase/wallet-sdk@3.9.3"
48
47
  },
49
48
  "contributors": [
@@ -157,16 +157,16 @@ function version4(parameters: Version4Parameters) {
157
157
  async getAccounts() {
158
158
  const provider = await this.getProvider()
159
159
  return (
160
- await provider.request<string[]>({
160
+ (await provider.request({
161
161
  method: 'eth_accounts',
162
- })
162
+ })) as string[]
163
163
  ).map((x) => getAddress(x))
164
164
  },
165
165
  async getChainId() {
166
166
  const provider = await this.getProvider()
167
- const chainId = await provider.request<Hex>({
167
+ const chainId = (await provider.request({
168
168
  method: 'eth_chainId',
169
- })
169
+ })) as Hex
170
170
  return Number(chainId)
171
171
  },
172
172
  async getProvider() {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '5.3.0'
1
+ export const version = '5.3.2'