@reown/appkit-core 1.0.5 → 1.0.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.
@@ -24,7 +24,7 @@ type TransactionAction = {
24
24
  onCancel?: () => void;
25
25
  };
26
26
  export interface RouterControllerState {
27
- view: 'Account' | 'AccountSettings' | 'SelectAddresses' | 'AllWallets' | 'ApproveTransaction' | 'BuyInProgress' | 'WalletCompatibleNetworks' | 'ChooseAccountName' | 'Connect' | 'ConnectingExternal' | 'ConnectingFarcaster' | 'ConnectingWalletConnect' | 'ConnectingSiwe' | 'ConnectingSocial' | 'ConnectSocials' | 'ConnectWallets' | 'Downloads' | 'EmailVerifyOtp' | 'EmailVerifyDevice' | 'GetWallet' | 'Networks' | 'OnRampActivity' | 'OnRampFiatSelect' | 'OnRampProviders' | 'OnRampTokenSelect' | 'Profile' | 'RegisterAccountName' | 'RegisterAccountNameSuccess' | 'SwitchNetwork' | 'SwitchAddress' | 'Transactions' | 'UnsupportedChain' | 'UpdateEmailWallet' | 'UpdateEmailPrimaryOtp' | 'UpdateEmailSecondaryOtp' | 'UpgradeEmailWallet' | 'UpgradeToSmartAccount' | 'WalletReceive' | 'WalletSend' | 'WalletSendPreview' | 'WalletSendSelectToken' | 'WhatIsANetwork' | 'WhatIsAWallet' | 'WhatIsABuy' | 'Swap' | 'SwapSelectToken' | 'SwapPreview' | 'ConnectingMultiChain' | 'SwitchActiveChain';
27
+ view: 'Account' | 'AccountSettings' | 'SelectAddresses' | 'AllWallets' | 'ApproveTransaction' | 'BuyInProgress' | 'WalletCompatibleNetworks' | 'ChooseAccountName' | 'Connect' | 'Create' | 'ConnectingExternal' | 'ConnectingFarcaster' | 'ConnectingWalletConnect' | 'ConnectingSiwe' | 'ConnectingSocial' | 'ConnectSocials' | 'ConnectWallets' | 'Downloads' | 'EmailVerifyOtp' | 'EmailVerifyDevice' | 'GetWallet' | 'Networks' | 'OnRampActivity' | 'OnRampFiatSelect' | 'OnRampProviders' | 'OnRampTokenSelect' | 'Profile' | 'RegisterAccountName' | 'RegisterAccountNameSuccess' | 'SwitchNetwork' | 'SwitchAddress' | 'Transactions' | 'UnsupportedChain' | 'UpdateEmailWallet' | 'UpdateEmailPrimaryOtp' | 'UpdateEmailSecondaryOtp' | 'UpgradeEmailWallet' | 'UpgradeToSmartAccount' | 'WalletReceive' | 'WalletSend' | 'WalletSendPreview' | 'WalletSendSelectToken' | 'WhatIsANetwork' | 'WhatIsAWallet' | 'WhatIsABuy' | 'Swap' | 'SwapSelectToken' | 'SwapPreview' | 'ConnectingMultiChain' | 'SwitchActiveChain';
28
28
  history: RouterControllerState['view'][];
29
29
  data?: {
30
30
  connector?: Connector;
@@ -19,8 +19,10 @@ export declare const CoreHelperUtil: {
19
19
  isHttpUrl(url: string): boolean;
20
20
  formatNativeUrl(appUrl: string, wcUri: string): LinkingRecord;
21
21
  formatUniversalUrl(appUrl: string, wcUri: string): LinkingRecord;
22
+ getOpenTargetForPlatform(target: string): string;
22
23
  openHref(href: string, target: '_blank' | '_self' | 'popupWindow', features?: string): void;
23
24
  returnOpenHref(href: string, target: '_blank' | '_self' | 'popupWindow', features?: string): Window | null;
25
+ isTelegram(): boolean;
24
26
  preloadImage(src: string): Promise<unknown>;
25
27
  formatBalance(balance: string | undefined, symbol: string | undefined): string;
26
28
  formatBalance2(balance: string | undefined, symbol: string | undefined): {
@@ -752,4 +752,5 @@ export type Features = {
752
752
  allWallets?: boolean;
753
753
  };
754
754
  export type FeaturesKeys = keyof Features;
755
+ export type WalletGuideType = 'get-started' | 'explore';
755
756
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-core",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/exports/index.js",
6
6
  "types": "./dist/types/exports/index.d.ts",
@@ -21,10 +21,10 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@walletconnect/universal-provider": "2.16.1",
24
+ "@walletconnect/universal-provider": "2.17.0",
25
25
  "valtio": "1.11.2",
26
- "@reown/appkit-common": "1.0.5",
27
- "@reown/appkit-wallet": "1.0.5"
26
+ "@reown/appkit-common": "1.0.6",
27
+ "@reown/appkit-wallet": "1.0.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "vitest": "2.0.5",