@reown/appkit-core 1.6.6-rc.2.0 → 1.6.6

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.
@@ -217,8 +217,8 @@ export declare const OptionsController: {
217
217
  };
218
218
  } | undefined;
219
219
  readonly customWallets?: readonly {
220
- readonly id: string;
221
220
  readonly name: string;
221
+ readonly id: string;
222
222
  readonly homepage?: string | undefined;
223
223
  readonly image_url?: string | undefined;
224
224
  readonly mobile_link?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-core",
3
- "version": "1.6.6-rc.2.0",
3
+ "version": "1.6.6",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/exports/index.js",
6
6
  "types": "./dist/types/exports/index.d.ts",
@@ -39,8 +39,8 @@
39
39
  "@walletconnect/universal-provider": "2.18.0",
40
40
  "valtio": "1.13.2",
41
41
  "viem": "2.x",
42
- "@reown/appkit-wallet": "1.6.6-rc.2.0",
43
- "@reown/appkit-common": "1.6.6-rc.2.0"
42
+ "@reown/appkit-common": "1.6.6",
43
+ "@reown/appkit-wallet": "1.6.6"
44
44
  },
45
45
  "peerDependencies": {},
46
46
  "devDependencies": {
@@ -1,26 +0,0 @@
1
- export const ConnectorUtil = {
2
- handleSolanaDeeplinkRedirect: (wallet, connector) => {
3
- /**
4
- * Universal Links requires explicit user interaction to open the wallet app.
5
- * Previously we've been calling this with the life-cycle methods in the Solana clients by listening the SELECT_WALLET event of EventController.
6
- * But this breaks the UL functionality for some wallets like Phantom.
7
- */
8
- console.log('ConnectorUtil.handleSolanaDeeplinkRedirect', wallet, connector);
9
- const href = window.location.href;
10
- const encodedHref = encodeURIComponent(href);
11
- const name = connector?.name || wallet?.name || '';
12
- console.log('>> Name:', name, window);
13
- if (name === 'Phantom' && !('phantom' in window)) {
14
- console.log('>> Update phantom');
15
- const protocol = href.startsWith('https') ? 'https' : 'http';
16
- const host = href.split('/')[2];
17
- const encodedRef = encodeURIComponent(`${protocol}://${host}`);
18
- window.location.href = `https://phantom.app/ul/browse/${encodedHref}?ref=${encodedRef}`;
19
- }
20
- if (name === 'Coinbase Wallet' && !('coinbaseSolana' in window)) {
21
- console.log('>> Update coinbaseSolana');
22
- window.location.href = `https://go.cb-w.com/dapp?cb_url=${encodedHref}`;
23
- }
24
- }
25
- };
26
- //# sourceMappingURL=ConnectorUtil.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConnectorUtil.js","sourceRoot":"","sources":["../../../../src/utils/ConnectorUtil.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,4BAA4B,EAAE,CAAC,MAAgB,EAAE,SAAqB,EAAE,EAAE;QACxE;;;;WAIG;QACH,OAAO,CAAC,GAAG,CAAC,4CAA4C,EAAE,MAAM,EAAE,SAAS,CAAC,CAAA;QAC5E,MAAM,IAAI,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAA;QACjC,MAAM,WAAW,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAA;QAC5C,MAAM,IAAI,GAAG,SAAS,EAAE,IAAI,IAAI,MAAM,EAAE,IAAI,IAAI,EAAE,CAAA;QAClD,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,CAAA;QACrC,IAAI,IAAI,KAAK,SAAS,IAAI,CAAC,CAAC,SAAS,IAAI,MAAM,CAAC,EAAE,CAAC;YACjD,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;YAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAA;YAC5D,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;YAC/B,MAAM,UAAU,GAAG,kBAAkB,CAAC,GAAG,QAAQ,MAAM,IAAI,EAAE,CAAC,CAAA;YAE9D,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,iCAAiC,WAAW,QAAQ,UAAU,EAAE,CAAA;QACzF,CAAC;QAED,IAAI,IAAI,KAAK,iBAAiB,IAAI,CAAC,CAAC,gBAAgB,IAAI,MAAM,CAAC,EAAE,CAAC;YAChE,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;YACvC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,mCAAmC,WAAW,EAAE,CAAA;QACzE,CAAC;IACH,CAAC;CACF,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=DeeplinkUtil.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeeplinkUtil.js","sourceRoot":"","sources":["../../../../src/utils/DeeplinkUtil.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { Connector, WcWallet } from './TypeUtil.js';
2
- export declare const ConnectorUtil: {
3
- handleSolanaDeeplinkRedirect: (wallet: WcWallet, connector?: Connector) => void;
4
- };
File without changes