@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs-sdk/wallet-connect",
3
- "version": "1.31.1",
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.1",
31
- "@dynamic-labs-sdk/client": "1.31.1"
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,2 +0,0 @@
1
- export { getPreferredWalletDeepLink } from './getPreferredWalletDeepLink';
2
- //# sourceMappingURL=index.d.ts.map
@@ -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"}