@dynamic-labs-sdk/wallet-connect 1.2.1 → 1.3.0
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/{SessionClosedUnexpectedlyError-BCco-RjL.esm.js → SessionClosedUnexpectedlyError-DDXkRqpf.esm.js} +2 -2
- package/dist/{SessionClosedUnexpectedlyError-BCco-RjL.esm.js.map → SessionClosedUnexpectedlyError-DDXkRqpf.esm.js.map} +1 -1
- package/dist/{SessionClosedUnexpectedlyError-YymQSdNb.cjs → SessionClosedUnexpectedlyError-DjQAheIL.cjs} +2 -2
- package/dist/{SessionClosedUnexpectedlyError-YymQSdNb.cjs.map → SessionClosedUnexpectedlyError-DjQAheIL.cjs.map} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/walletConnectWalletProvider.types.d.ts +6 -16
- package/dist/walletConnectWalletProvider.types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DynamicClient,
|
|
1
|
+
import type { DynamicClient, WalletProviderUriConnectionResult } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import type { WalletProvider } from '@dynamic-labs-sdk/client/core';
|
|
3
3
|
import type { SessionTypes } from '@walletconnect/types';
|
|
4
4
|
export type WalletConnectWalletProvider = WalletProvider & {
|
|
@@ -30,20 +30,10 @@ export type WalletProviderBuilder = (args: {
|
|
|
30
30
|
sessionTopic: string;
|
|
31
31
|
}, client: DynamicClient) => Promise<WalletConnectWalletProvider>;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* Return shape for Dynamic's WalletConnect URI-based connect helpers.
|
|
34
|
+
* Aliased to the shared `WalletProviderUriConnectionResult` so the QR /
|
|
35
|
+
* deep-link pane can be reused across WalletConnect and the MetaMask SDK
|
|
36
|
+
* URI flow.
|
|
36
37
|
*/
|
|
37
|
-
export type WalletConnectConnectionResult =
|
|
38
|
-
/**
|
|
39
|
-
* A promise that resolves to the wallet accounts that were created when the connection was approved.
|
|
40
|
-
*/
|
|
41
|
-
approval: () => Promise<{
|
|
42
|
-
walletAccounts: WalletAccount[];
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* The URI that must be provided to the wallet application to establish the connection.
|
|
46
|
-
*/
|
|
47
|
-
uri: string;
|
|
48
|
-
};
|
|
38
|
+
export type WalletConnectConnectionResult = WalletProviderUriConnectionResult;
|
|
49
39
|
//# sourceMappingURL=walletConnectWalletProvider.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"walletConnectWalletProvider.types.d.ts","sourceRoot":"","sources":["../src/walletConnectWalletProvider.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"walletConnectWalletProvider.types.d.ts","sourceRoot":"","sources":["../src/walletConnectWalletProvider.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,iCAAiC,EAClC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,2BAA2B,GAAG,cAAc,GAAG;IACzD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IAE5D;;OAEG;IACH,UAAU,EAAE,MAAM,YAAY,CAAC,MAAM,CAAC;IAEtC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAClC,IAAI,EAAE;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,EAC9B,MAAM,EAAE,aAAa,KAClB,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,6BAA6B,GAAG,iCAAiC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-sdk/wallet-connect",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
25
|
+
"@dynamic-labs/sdk-api-core": "0.0.1015",
|
|
26
26
|
"@walletconnect/sign-client": "2.21.8",
|
|
27
27
|
"@walletconnect/types": "2.21.8",
|
|
28
28
|
"@walletconnect/utils": "2.21.8",
|
|
29
29
|
"zod": "4.0.5",
|
|
30
|
-
"@dynamic-labs-sdk/assert-package-version": "1.
|
|
31
|
-
"@dynamic-labs-sdk/client": "1.
|
|
30
|
+
"@dynamic-labs-sdk/assert-package-version": "1.3.0",
|
|
31
|
+
"@dynamic-labs-sdk/client": "1.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"eventemitter3": "5.0.1",
|