@wagmi/connectors 5.1.8 → 5.1.10

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.1.8';
1
+ export const version = '5.1.10';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"metaMask.d.ts","sourceRoot":"","sources":["../../src/metaMask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,WAAW,EACZ,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EAEb,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAGL,KAAK,mBAAmB,EAUzB,MAAM,MAAM,CAAA;AAEb,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,YAAY,CAAC,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,gBAAgB,CAAC,CAAC,CACrE,CAAA;AAGD,wBAAgB,QAAQ,CAAC,UAAU,GAAE,kBAAuB;2BAGjC,mBAAmB,GAAG,IAAI;sBAC/B,MAAM,GAAG,IAAI;4BA6VlC;yBAjWe,QAAQ"}
1
+ {"version":3,"file":"metaMask.d.ts","sourceRoot":"","sources":["../../src/metaMask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,WAAW,EACZ,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,EACV,OAAO,EACP,YAAY,EAEb,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAGL,KAAK,mBAAmB,EAUzB,MAAM,MAAM,CAAA;AAEb,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,YAAY,CAAC,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,gBAAgB,CAAC,CAAC,CACrE,CAAA;AAGD,wBAAgB,QAAQ,CAAC,UAAU,GAAE,kBAAuB;2BAGjC,mBAAmB,GAAG,IAAI;sBAC/B,MAAM,GAAG,IAAI;4BAuVlC;yBA3Ve,QAAQ"}
@@ -1,2 +1,2 @@
1
- export declare const version = "5.1.8";
1
+ export declare const version = "5.1.10";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAA"}
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.1.8",
4
+ "version": "5.1.10",
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.13.4"
33
+ "@wagmi/core": "2.13.5"
34
34
  },
35
35
  "peerDependenciesMeta": {
36
36
  "typescript": {
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@coinbase/wallet-sdk": "4.0.4",
42
- "@metamask/sdk": "0.27.0",
42
+ "@metamask/sdk": "0.28.2",
43
43
  "@safe-global/safe-apps-provider": "0.18.3",
44
44
  "@safe-global/safe-apps-sdk": "9.1.0",
45
- "@walletconnect/ethereum-provider": "2.15.2",
45
+ "@walletconnect/ethereum-provider": "2.16.1",
46
46
  "@walletconnect/modal": "2.6.2",
47
47
  "cbw-sdk": "npm:@coinbase/wallet-sdk@3.9.3"
48
48
  },
package/src/metaMask.ts CHANGED
@@ -357,12 +357,6 @@ export function metaMask(parameters: MetaMaskParameters = {}) {
357
357
  if (provider && !!(await this.getAccounts()).length) return
358
358
  }
359
359
 
360
- // Remove cached SDK properties.
361
- if (typeof localStorage !== 'undefined') {
362
- localStorage.removeItem('MMSDK_cached_address')
363
- localStorage.removeItem('MMSDK_cached_chainId')
364
- }
365
-
366
360
  config.emitter.emit('disconnect')
367
361
 
368
362
  // Manage EIP-1193 event listeners
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '5.1.8'
1
+ export const version = '5.1.10'