@wagmi/connectors 5.0.3 → 5.0.4
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/LICENSE +1 -1
- package/dist/esm/coinbaseWallet.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/coinbaseWallet.d.ts +2 -3
- package/dist/types/coinbaseWallet.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/coinbaseWallet.ts +6 -3
- 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.4';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CoinbaseWalletSDK, ProviderInterface } from '@coinbase/wallet-sdk';
|
|
1
|
+
import type { CoinbaseWalletSDK, Preference, ProviderInterface } from '@coinbase/wallet-sdk';
|
|
2
2
|
import type { Evaluate, Mutable, Omit } from '@wagmi/core/internal';
|
|
3
3
|
import type { CoinbaseWalletProvider as CBW_Provider, CoinbaseWalletSDK as CBW_SDK } from 'cbw-sdk';
|
|
4
4
|
type Version = '3' | '4';
|
|
@@ -27,8 +27,7 @@ type Version4Parameters = Mutable<Omit<ConstructorParameters<typeof CoinbaseWall
|
|
|
27
27
|
* Preference for the type of wallet to display.
|
|
28
28
|
* @default 'all'
|
|
29
29
|
*/
|
|
30
|
-
preference?: '
|
|
31
|
-
keysUrl?: string | undefined;
|
|
30
|
+
preference?: Preference['options'] | undefined;
|
|
32
31
|
}>;
|
|
33
32
|
declare function version4(parameters: Version4Parameters): import("@wagmi/core").CreateConnectorFn<ProviderInterface & {
|
|
34
33
|
close?(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbaseWallet.d.ts","sourceRoot":"","sources":["../../src/coinbaseWallet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AAU,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;CAC/C,CACF,CAAA;AAED,iBAAS,QAAQ,CAAC,UAAU,EAAE,kBAAkB;cAGlC,IAAI;WAmNjB;AAED,KAAK,kBAAkB,GAAG,OAAO,CAC/B,IAAI,CACF,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,EACxC,oBAAoB,CACrB,CACF,GAAG;IACF;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,iBAAS,QAAQ,CAAC,UAAU,EAAE,kBAAkB,iEAuN/C"}
|
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.4";
|
|
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.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@coinbase/wallet-sdk": "4.0.
|
|
41
|
+
"@coinbase/wallet-sdk": "4.0.2",
|
|
42
42
|
"@metamask/sdk": "0.20.3",
|
|
43
43
|
"@safe-global/safe-apps-provider": "0.18.1",
|
|
44
44
|
"@safe-global/safe-apps-sdk": "8.1.0",
|
package/src/coinbaseWallet.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
CoinbaseWalletSDK,
|
|
3
|
+
Preference,
|
|
4
|
+
ProviderInterface,
|
|
5
|
+
} from '@coinbase/wallet-sdk'
|
|
2
6
|
import {
|
|
3
7
|
ChainNotConfiguredError,
|
|
4
8
|
type Connector,
|
|
@@ -64,8 +68,7 @@ type Version4Parameters = Mutable<
|
|
|
64
68
|
* Preference for the type of wallet to display.
|
|
65
69
|
* @default 'all'
|
|
66
70
|
*/
|
|
67
|
-
preference?: '
|
|
68
|
-
keysUrl?: string | undefined
|
|
71
|
+
preference?: Preference['options'] | undefined
|
|
69
72
|
}
|
|
70
73
|
>
|
|
71
74
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.0.
|
|
1
|
+
export const version = '5.0.4'
|