@dynamic-labs-sdk/wallet-connect 1.31.1 → 1.31.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.
- package/dist/{SessionClosedUnexpectedlyError-BoD9lTf-.cjs → SessionClosedUnexpectedlyError-CV3-7AbH.cjs} +2 -2
- package/dist/{SessionClosedUnexpectedlyError-BoD9lTf-.cjs.map → SessionClosedUnexpectedlyError-CV3-7AbH.cjs.map} +1 -1
- package/dist/{SessionClosedUnexpectedlyError-CfPOTehm.esm.js → SessionClosedUnexpectedlyError-CWKTYOXX.esm.js} +2 -2
- package/dist/{SessionClosedUnexpectedlyError-CfPOTehm.esm.js.map → SessionClosedUnexpectedlyError-CWKTYOXX.esm.js.map} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/exports/index.d.ts +1 -1
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/index.cjs +7 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +2 -36
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/getPreferredWalletDeepLink/getPreferredWalletDeepLink.d.ts +0 -33
- package/dist/getPreferredWalletDeepLink/getPreferredWalletDeepLink.d.ts.map +0 -1
- package/dist/getPreferredWalletDeepLink/index.d.ts +0 -2
- package/dist/getPreferredWalletDeepLink/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-sdk/wallet-connect",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@walletconnect/types": "2.23.10",
|
|
28
28
|
"@walletconnect/utils": "2.23.10",
|
|
29
29
|
"zod": "4.0.5",
|
|
30
|
-
"@dynamic-labs-sdk/assert-package-version": "1.31.
|
|
31
|
-
"@dynamic-labs-sdk/client": "1.31.
|
|
30
|
+
"@dynamic-labs-sdk/assert-package-version": "1.31.2",
|
|
31
|
+
"@dynamic-labs-sdk/client": "1.31.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"eventemitter3": "5.0.1",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { WalletConnectCatalogDeepLinks } from '@dynamic-labs-sdk/client';
|
|
2
|
-
type GetPreferredWalletDeepLinkParams = {
|
|
3
|
-
deeplinks: WalletConnectCatalogDeepLinks;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* Picks the most appropriate deep link variant for the current platform.
|
|
7
|
-
*
|
|
8
|
-
* Mobile (Android, iOS, tablets) prefers `native` because the OS treats
|
|
9
|
-
* custom URL schemes as first-class app links and gives the wallet a faster
|
|
10
|
-
* round-trip back to the dApp. Desktop prefers `universal` because browsers
|
|
11
|
-
* cannot resolve mobile-only custom schemes and need an `https://` link
|
|
12
|
-
* that opens the wallet's web flow.
|
|
13
|
-
*
|
|
14
|
-
* In either case, the alternative is used as a fallback when the preferred
|
|
15
|
-
* variant is missing. Returns `undefined` only when both variants are
|
|
16
|
-
* absent.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const deepLink = getPreferredWalletDeepLink({
|
|
21
|
-
* deeplinks: wallet.deeplinks,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @param params.deeplinks - The deep link variants for a wallet (typically `WalletConnectCatalogWallet.deeplinks`).
|
|
26
|
-
* @returns The preferred deep link URL, or `undefined` if neither variant is available.
|
|
27
|
-
* @see appendConnectionUriToDeeplink
|
|
28
|
-
* @see isWalletConnectWalletProvider
|
|
29
|
-
* @notInstrumented
|
|
30
|
-
*/
|
|
31
|
-
export declare const getPreferredWalletDeepLink: ({ deeplinks, }: GetPreferredWalletDeepLinkParams) => string | undefined;
|
|
32
|
-
export {};
|
|
33
|
-
//# sourceMappingURL=getPreferredWalletDeepLink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPreferredWalletDeepLink.d.ts","sourceRoot":"","sources":["../../src/getPreferredWalletDeepLink/getPreferredWalletDeepLink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAG9E,KAAK,gCAAgC,GAAG;IACtC,SAAS,EAAE,6BAA6B,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,0BAA0B,mBAEpC,gCAAgC,KAAG,MAAM,GAAG,SAQ9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getPreferredWalletDeepLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
|