@funkit/connect 7.1.0-next.2 → 7.1.0-next.5

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,4 +1,6 @@
1
+ import { CheckoutModalEvent } from '~/hooks/track/CheckoutModalEvent';
1
2
  import type { TrackEventData } from '~/hooks/track/useTrack';
2
3
  import { FunCheckoutStep } from './FunCheckoutStep';
3
4
  import type { CheckoutModalState } from './stepTransition';
5
+ export declare const CHECKOUT_STEP_TO_READY_EVENT: Partial<Record<FunCheckoutStep, CheckoutModalEvent>>;
4
6
  export declare const trackEventFromNextState: (nextState: CheckoutModalState<FunCheckoutStep>) => TrackEventData;
@@ -20,4 +20,5 @@ export declare function useFunkitUserIp(): {
20
20
  isLoadingGeoCheck: boolean;
21
21
  isUserGeoblocked: boolean;
22
22
  userIpInfo: FunkitUserIpInfo | undefined;
23
+ isUserLoggedIn: boolean;
23
24
  };
@@ -3,4 +3,5 @@ import type { WithdrawModalEvent } from '~/hooks/track/WithdrawModalEvent';
3
3
  import type { TrackEventData } from '~/hooks/track/useTrack';
4
4
  import type { FunkitActiveCheckoutItem } from './FunkitCheckoutContext';
5
5
  import type { FunkitCheckoutQuoteResult } from './FunkitHistoryContext';
6
+ export declare const trackEventFromBaseQuote: (checkoutItem: FunkitActiveCheckoutItem, eventName: CheckoutModalEvent | WithdrawModalEvent) => TrackEventData;
6
7
  export declare const trackEventFromFinalQuote: (finalEstimation: FunkitCheckoutQuoteResult, checkoutItem: FunkitActiveCheckoutItem, eventName: CheckoutModalEvent | WithdrawModalEvent) => TrackEventData;
@@ -13,13 +13,6 @@ export interface FunkitThemeProps {
13
13
  theme?: Theme;
14
14
  }
15
15
  export declare const ThemeIdContext: React.Context<string | undefined>;
16
- export declare const createThemeRootProps: (id: string | undefined) => {
17
- "data-rk": string;
18
- };
19
- export declare const createThemeRootSelector: (id: string | undefined) => string;
20
- export declare const useThemeRootProps: () => {
21
- "data-rk": string;
22
- };
23
16
  export declare const useActiveTheme: () => {
24
17
  activeTheme: {
25
18
  colors: {
@@ -80,7 +80,14 @@ export declare const flagConfig: {
80
80
  readonly if_any: [{
81
81
  readonly key: "apiKey";
82
82
  readonly type: "isAnyOf";
83
- readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW"];
83
+ readonly values: ["pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW"];
84
+ }];
85
+ readonly value: string;
86
+ }, {
87
+ readonly if_any: [{
88
+ readonly key: "apiKey";
89
+ readonly type: "isAnyOf";
90
+ readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e"];
84
91
  }];
85
92
  readonly value: string;
86
93
  }];
@@ -116,7 +123,7 @@ export declare const flagConfig: {
116
123
  readonly if_any: [{
117
124
  readonly key: "apiKey";
118
125
  readonly type: "isAnyOf";
119
- readonly values: ["SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2"];
126
+ readonly values: ["SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um"];
120
127
  }];
121
128
  readonly value: string;
122
129
  }, {
@@ -14,6 +14,9 @@ import {
14
14
  import {
15
15
  tokenPocketWallet
16
16
  } from "./chunk-2L43XSW3.js";
17
+ import {
18
+ tokenaryWallet
19
+ } from "./chunk-D6AOOO5F.js";
17
20
  import {
18
21
  trustWallet
19
22
  } from "./chunk-VYBAYMP3.js";
@@ -21,14 +24,11 @@ import {
21
24
  uniswapWallet
22
25
  } from "./chunk-LH7BMNFZ.js";
23
26
  import {
24
- tokenaryWallet
25
- } from "./chunk-D6AOOO5F.js";
27
+ xdefiWallet
28
+ } from "./chunk-BOU4WKRZ.js";
26
29
  import {
27
30
  walletConnectWallet
28
31
  } from "./chunk-NP5QGWNL.js";
29
- import {
30
- xdefiWallet
31
- } from "./chunk-BOU4WKRZ.js";
32
32
  import {
33
33
  rabbyWallet
34
34
  } from "./chunk-BBOM42DL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "7.1.0-next.2",
3
+ "version": "7.1.0-next.5",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -102,8 +102,8 @@
102
102
  "uuid": "^9.0.1",
103
103
  "@funkit/api-base": "1.12.22-next.1",
104
104
  "@funkit/chains": "0.5.2-next.0",
105
- "@funkit/fun-relay": "2.1.16-next.2",
106
- "@funkit/utils": "1.1.22-next.0"
105
+ "@funkit/utils": "1.1.22-next.0",
106
+ "@funkit/fun-relay": "2.1.16-next.2"
107
107
  },
108
108
  "repository": {
109
109
  "type": "git",