@funkit/connect 7.1.0-next.2 → 7.1.0-next.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,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,15 +14,15 @@ 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";
20
23
  import {
21
24
  uniswapWallet
22
25
  } from "./chunk-LH7BMNFZ.js";
23
- import {
24
- tokenaryWallet
25
- } from "./chunk-D6AOOO5F.js";
26
26
  import {
27
27
  walletConnectWallet
28
28
  } from "./chunk-NP5QGWNL.js";
@@ -92,6 +92,9 @@ import {
92
92
  import {
93
93
  imTokenWallet
94
94
  } from "./chunk-COZ7MIQS.js";
95
+ import {
96
+ ledgerWallet
97
+ } from "./chunk-BRBKM4PW.js";
95
98
  import {
96
99
  injectedWallet
97
100
  } from "./chunk-XWUJE7MW.js";
@@ -99,11 +102,8 @@ import {
99
102
  kresusWallet
100
103
  } from "./chunk-MJXPRJZT.js";
101
104
  import {
102
- ledgerWallet
103
- } from "./chunk-BRBKM4PW.js";
104
- import {
105
- bybitWallet
106
- } from "./chunk-2STUC6QL.js";
105
+ bloomWallet
106
+ } from "./chunk-S27IADFU.js";
107
107
  import {
108
108
  clvWallet
109
109
  } from "./chunk-M3NZ6R2E.js";
@@ -125,12 +125,12 @@ import {
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-OLOIXTYS.js";
128
- import {
129
- argentWallet
130
- } from "./chunk-WSQ2YJO2.js";
131
128
  import {
132
129
  bifrostWallet
133
130
  } from "./chunk-A5N6B5UW.js";
131
+ import {
132
+ argentWallet
133
+ } from "./chunk-WSQ2YJO2.js";
134
134
  import {
135
135
  bitgetWallet
136
136
  } from "./chunk-TDAVGY5F.js";
@@ -140,13 +140,13 @@ import {
140
140
  import {
141
141
  bitverseWallet
142
142
  } from "./chunk-3HZRRP4Y.js";
143
- import {
144
- bloomWallet
145
- } from "./chunk-S27IADFU.js";
146
- import "./chunk-23WIEY36.js";
147
143
  import {
148
144
  braveWallet
149
145
  } from "./chunk-BPZ2XJO2.js";
146
+ import {
147
+ bybitWallet
148
+ } from "./chunk-2STUC6QL.js";
149
+ import "./chunk-23WIEY36.js";
150
150
  import "./chunk-DNSG5Q7V.js";
151
151
  export {
152
152
  argentWallet,
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.3",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",