@reown/appkit-core 1.5.3-d55ad02.0 → 1.5.3

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.
@@ -1,5 +1,5 @@
1
1
  import { type ChainNamespace } from '@reown/appkit-common';
2
- import type { WcWallet, ConnectorType, SocialProvider } from './TypeUtil.js';
2
+ import type { WcWallet, ConnectorType, SocialProvider, ConnectionStatus } from './TypeUtil.js';
3
3
  export declare const StorageUtil: {
4
4
  setWalletConnectDeepLink({ name, href }: {
5
5
  href: string;
@@ -16,4 +16,6 @@ export declare const StorageUtil: {
16
16
  getConnectedSocialProvider(): string | undefined;
17
17
  getConnectedSocialUsername(): string | undefined;
18
18
  getStoredActiveCaipNetwork(): import("@reown/appkit-common").CaipNetwork | undefined;
19
+ setConnectionStatus(status: ConnectionStatus): void;
20
+ getConnectionStatus(): ConnectionStatus | undefined;
19
21
  };
@@ -512,6 +512,18 @@ export type Event = {
512
512
  properties: {
513
513
  provider: SocialProvider;
514
514
  };
515
+ } | {
516
+ type: 'track';
517
+ event: 'SOCIAL_LOGIN_REQUEST_USER_DATA';
518
+ properties: {
519
+ provider: SocialProvider;
520
+ };
521
+ } | {
522
+ type: 'track';
523
+ event: 'SOCIAL_LOGIN_CANCELED';
524
+ properties: {
525
+ provider: SocialProvider;
526
+ };
515
527
  } | {
516
528
  type: 'track';
517
529
  event: 'OPEN_ENS_FLOW';
@@ -820,3 +832,4 @@ export type UseAppKitNetworkReturn = {
820
832
  switchNetwork: (network: AppKitNetwork) => void;
821
833
  };
822
834
  export type BadgeType = 'none' | 'certified';
835
+ export type ConnectionStatus = 'connected' | 'disconnected' | 'connecting' | 'reconnecting';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-core",
3
- "version": "1.5.3-d55ad02.0",
3
+ "version": "1.5.3",
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.17.0",
40
40
  "valtio": "1.11.2",
41
41
  "viem": "2.x",
42
- "@reown/appkit-wallet": "1.5.3-d55ad02.0",
43
- "@reown/appkit-common": "1.5.3-d55ad02.0"
42
+ "@reown/appkit-common": "1.5.3",
43
+ "@reown/appkit-wallet": "1.5.3"
44
44
  },
45
45
  "peerDependencies": {},
46
46
  "devDependencies": {