@wagmi/connectors 5.0.24 → 5.0.25
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.
- package/dist/esm/safe.js +1 -7
- package/dist/esm/safe.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/safe.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
- package/src/safe.ts +1 -10
- package/src/version.ts +1 -1
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '5.0.
|
|
1
|
+
export const version = '5.0.25';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/dist/types/safe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"safe.d.ts","sourceRoot":"","sources":["../../src/safe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAA;AAMtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,IAAI,GAAG;IACL;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACpC;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7C,CACF,CAAA;AAGD,wBAAgB,IAAI,CAAC,UAAU,GAAE,cAAmB;yBAKR,IAAI;
|
|
1
|
+
{"version":3,"file":"safe.d.ts","sourceRoot":"","sources":["../../src/safe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAA;AAMtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,IAAI,GAAG;IACL;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACpC;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7C,CACF,CAAA;AAGD,wBAAgB,IAAI,CAAC,UAAU,GAAE,cAAmB;yBAKR,IAAI;GAmG/C;yBAxGe,IAAI"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "5.0.
|
|
1
|
+
export declare const version = "5.0.25";
|
|
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.0.
|
|
4
|
+
"version": "5.0.25",
|
|
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.12.
|
|
33
|
+
"@wagmi/core": "2.12.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"typescript": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@coinbase/wallet-sdk": "4.0.4",
|
|
42
42
|
"@metamask/sdk": "0.26.4",
|
|
43
|
-
"@safe-global/safe-apps-provider": "0.18.
|
|
44
|
-
"@safe-global/safe-apps-sdk": "
|
|
43
|
+
"@safe-global/safe-apps-provider": "0.18.3",
|
|
44
|
+
"@safe-global/safe-apps-sdk": "9.1.0",
|
|
45
45
|
"@walletconnect/ethereum-provider": "2.13.0",
|
|
46
46
|
"@walletconnect/modal": "2.6.2",
|
|
47
47
|
"cbw-sdk": "npm:@coinbase/wallet-sdk@3.9.3"
|
package/src/safe.ts
CHANGED
|
@@ -89,16 +89,7 @@ export function safe(parameters: SafeParameters = {}) {
|
|
|
89
89
|
if (!isIframe) return
|
|
90
90
|
|
|
91
91
|
if (!provider_) {
|
|
92
|
-
const { default:
|
|
93
|
-
'@safe-global/safe-apps-sdk'
|
|
94
|
-
)
|
|
95
|
-
let SDK: typeof SafeAppsSDK.default
|
|
96
|
-
if (
|
|
97
|
-
typeof SafeAppsSDK !== 'function' &&
|
|
98
|
-
typeof SafeAppsSDK.default === 'function'
|
|
99
|
-
)
|
|
100
|
-
SDK = SafeAppsSDK.default
|
|
101
|
-
else SDK = SafeAppsSDK as unknown as typeof SafeAppsSDK.default
|
|
92
|
+
const { default: SDK } = await import('@safe-global/safe-apps-sdk')
|
|
102
93
|
const sdk = new SDK(parameters)
|
|
103
94
|
|
|
104
95
|
// `getInfo` hangs when not used in Safe App iFrame
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.0.
|
|
1
|
+
export const version = '5.0.25'
|