@funkit/connect 12.14.0 → 12.15.1
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.
- package/CHANGELOG.md +39 -0
- package/dist/clients/axiom.d.ts +12 -0
- package/dist/clients/axiom.js +27 -0
- package/dist/clients/{chunk-YMBIRJQF.js → chunk-6IH7AWFA.js} +1 -1
- package/dist/clients/{chunk-P6UM36G5.js → chunk-7JYLS7IF.js} +32 -0
- package/dist/clients/{chunk-ZOQQL2QX.js → chunk-BKK2BFIP.js} +1 -1
- package/dist/clients/{chunk-R6E3NH5A.js → chunk-FLREOB24.js} +1 -1
- package/dist/clients/{chunk-U33QNTIA.js → chunk-IUVVGGP4.js} +66 -5
- package/dist/clients/{chunk-5GX6G7JR.js → chunk-OB5GKTP2.js} +1 -1
- package/dist/clients/{chunk-I5GSXPFE.js → chunk-TKEBGMVW.js} +1 -7
- package/dist/clients/{chunk-I75AI3N7.js → chunk-UZ3NA7HN.js} +3 -3
- package/dist/clients/fanatics.js +2 -2
- package/dist/clients/internal/nado/withdrawalCallback.js +4 -4
- package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
- package/dist/clients/internal/nado/withdrawalForm.js +3 -3
- package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
- package/dist/clients/lighter.css +46 -0
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/mallard.js +2 -2
- package/dist/clients/nado.js +4 -4
- package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +5 -5
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -3
- package/dist/clients/polymarket/index.js +3 -3
- package/dist/clients/polymarket/polymarket.js +2 -2
- package/dist/components/TokenSwapWidget/AmountUnitToggle/AmountUnitToggle.d.ts +2 -1
- package/dist/components/TokenSwapWidget/TokenSwapCard/TokenSwapCard.d.ts +17 -6
- package/dist/components/TokenSwapWidget/TokenSwapWidget.d.ts +9 -7
- package/dist/consts/customers.d.ts +2 -2
- package/dist/domains/clientMetadata.d.ts +4 -3
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/track/analytics/events.d.ts +1 -1
- package/dist/hooks/track/analytics/useTrackExecutionProgressEvents.d.ts +17 -2
- package/dist/index.css +46 -0
- package/dist/index.js +1905 -1418
- package/dist/modals/CheckoutModal/Convert/ConvertStep.d.ts +6 -0
- package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +1 -0
- package/dist/modals/CheckoutModal/HeaderTabs/CheckoutHeaderTabs.d.ts +12 -0
- package/dist/modals/CheckoutModal/HeaderTabs/headerTabs.d.ts +8 -0
- package/dist/modals/CheckoutModal/HeaderTabs/useCheckoutHeaderTabsState.d.ts +4 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +3 -0
- package/dist/modals/PolymarketPerpsTransfer/usePerpsHeaderTabsState.d.ts +1 -21
- package/dist/providers/FunkitCheckoutContext/types.d.ts +40 -0
- package/dist/shadow-css.js +1 -1
- package/dist/wallets/walletConnectors/index.js +45 -45
- package/package.json +4 -4
- package/dist/modals/PolymarketPerpsTransfer/PerpsHeaderTabs.d.ts +0 -29
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zealWallet
|
|
4
|
-
} from "./chunk-GLX5FULK.js";
|
|
5
2
|
import {
|
|
6
3
|
xdefiWallet
|
|
7
4
|
} from "./chunk-HXX4PRE2.js";
|
|
5
|
+
import {
|
|
6
|
+
zealWallet
|
|
7
|
+
} from "./chunk-GLX5FULK.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
10
|
} from "./chunk-34B7OJNT.js";
|
|
11
|
-
import {
|
|
12
|
-
tahoWallet
|
|
13
|
-
} from "./chunk-U74RFZOL.js";
|
|
14
11
|
import {
|
|
15
12
|
subWallet
|
|
16
13
|
} from "./chunk-XODA5ESL.js";
|
|
14
|
+
import {
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-U74RFZOL.js";
|
|
17
17
|
import {
|
|
18
18
|
talismanWallet
|
|
19
19
|
} from "./chunk-IAYYWCVB.js";
|
|
20
|
-
import {
|
|
21
|
-
tokenPocketWallet
|
|
22
|
-
} from "./chunk-NXWG6FG2.js";
|
|
23
20
|
import {
|
|
24
21
|
tokenaryWallet
|
|
25
22
|
} from "./chunk-TPM5PUJD.js";
|
|
26
23
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
tokenPocketWallet
|
|
25
|
+
} from "./chunk-NXWG6FG2.js";
|
|
29
26
|
import {
|
|
30
27
|
trustWallet
|
|
31
28
|
} from "./chunk-SR5CZR3L.js";
|
|
29
|
+
import {
|
|
30
|
+
uniswapWallet
|
|
31
|
+
} from "./chunk-UNDWHCDH.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-DUX4XCDV.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
oneKeyWallet
|
|
37
|
+
} from "./chunk-KN32ITJ7.js";
|
|
38
38
|
import {
|
|
39
39
|
rabbyWallet
|
|
40
40
|
} from "./chunk-RQ2GXOJL.js";
|
|
@@ -47,24 +47,24 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
49
|
} from "./chunk-IA5432IR.js";
|
|
50
|
-
import {
|
|
51
|
-
safeheronWallet
|
|
52
|
-
} from "./chunk-UN3ONVNC.js";
|
|
53
50
|
import {
|
|
54
51
|
safeWallet
|
|
55
52
|
} from "./chunk-IR3PJMVM.js";
|
|
53
|
+
import {
|
|
54
|
+
safeheronWallet
|
|
55
|
+
} from "./chunk-UN3ONVNC.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
58
|
} from "./chunk-BBB2J3US.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import {
|
|
63
|
-
mewWallet
|
|
64
|
-
} from "./chunk-DSPQXAB2.js";
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-BL4OC2EJ.js";
|
|
65
62
|
import {
|
|
66
63
|
metaMaskWallet
|
|
67
64
|
} from "./chunk-RXRYHMRI.js";
|
|
65
|
+
import {
|
|
66
|
+
mewWallet
|
|
67
|
+
} from "./chunk-DSPQXAB2.js";
|
|
68
68
|
import {
|
|
69
69
|
oktoWallet
|
|
70
70
|
} from "./chunk-V4M3SNPS.js";
|
|
@@ -78,11 +78,11 @@ import {
|
|
|
78
78
|
oneInchWallet
|
|
79
79
|
} from "./chunk-GFS2AVAH.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
phantomWallet
|
|
82
|
+
} from "./chunk-Q27YVDDH.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
desigWallet
|
|
85
|
+
} from "./chunk-DFHP75HV.js";
|
|
86
86
|
import {
|
|
87
87
|
foxWallet
|
|
88
88
|
} from "./chunk-U52QO5HF.js";
|
|
@@ -98,12 +98,12 @@ import {
|
|
|
98
98
|
import {
|
|
99
99
|
imTokenWallet
|
|
100
100
|
} from "./chunk-YY2JA23M.js";
|
|
101
|
+
import {
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-M75V7OL3.js";
|
|
101
104
|
import {
|
|
102
105
|
kresusWallet
|
|
103
106
|
} from "./chunk-V77ATGZT.js";
|
|
104
|
-
import {
|
|
105
|
-
ledgerWallet
|
|
106
|
-
} from "./chunk-BL4OC2EJ.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
109
|
} from "./chunk-4FHNLTR3.js";
|
|
@@ -114,42 +114,42 @@ import {
|
|
|
114
114
|
coinbaseWallet
|
|
115
115
|
} from "./chunk-SM2A3OSG.js";
|
|
116
116
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
117
|
+
bybitWallet
|
|
118
|
+
} from "./chunk-BBDNB5TQ.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
customWallet
|
|
121
|
+
} from "./chunk-VKM5M5UK.js";
|
|
122
122
|
import {
|
|
123
123
|
dawnWallet
|
|
124
124
|
} from "./chunk-LV6YV3DE.js";
|
|
125
125
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
126
|
+
coreWallet
|
|
127
|
+
} from "./chunk-TRZDAXCQ.js";
|
|
128
128
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
129
|
+
enkryptWallet
|
|
130
|
+
} from "./chunk-Z6LDN2AN.js";
|
|
131
|
+
import {
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-ALGPGI6V.js";
|
|
131
134
|
import {
|
|
132
135
|
argentWallet
|
|
133
136
|
} from "./chunk-XSDTNMQY.js";
|
|
134
|
-
import {
|
|
135
|
-
bitgetWallet
|
|
136
|
-
} from "./chunk-HOCKAU5H.js";
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-NPITCCJE.js";
|
|
140
140
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
141
|
+
bitgetWallet
|
|
142
|
+
} from "./chunk-HOCKAU5H.js";
|
|
143
|
+
import {
|
|
144
|
+
bitverseWallet
|
|
145
|
+
} from "./chunk-5AEWIKRA.js";
|
|
143
146
|
import {
|
|
144
147
|
bloomWallet
|
|
145
148
|
} from "./chunk-PNHDOC77.js";
|
|
149
|
+
import "./chunk-AALSJCUR.js";
|
|
146
150
|
import {
|
|
147
151
|
braveWallet
|
|
148
152
|
} from "./chunk-U2XXV45G.js";
|
|
149
|
-
import {
|
|
150
|
-
bybitWallet
|
|
151
|
-
} from "./chunk-BBDNB5TQ.js";
|
|
152
|
-
import "./chunk-AALSJCUR.js";
|
|
153
153
|
import "./chunk-EYWGX5LT.js";
|
|
154
154
|
import "./chunk-B454LLKJ.js";
|
|
155
155
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.15.1",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
"ua-parser-js": "^1.0.37",
|
|
120
120
|
"use-debounce": "^10.0.5",
|
|
121
121
|
"uuid": "^11.1.1",
|
|
122
|
-
"@funkit/api-base": "
|
|
123
|
-
"@funkit/connect-core": "8.7.0",
|
|
124
|
-
"@funkit/utils": "5.0.2",
|
|
122
|
+
"@funkit/api-base": "9.0.0",
|
|
125
123
|
"@funkit/fun-relay": "3.1.3",
|
|
124
|
+
"@funkit/connect-core": "9.1.0",
|
|
125
|
+
"@funkit/utils": "5.0.2",
|
|
126
126
|
"@funkit/chains": "2.5.0"
|
|
127
127
|
},
|
|
128
128
|
"repository": {
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { CheckoutModalState } from '../../modals/CheckoutModal/stepTransition';
|
|
3
|
-
import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
|
|
4
|
-
import { type PerpsHeaderTabId, type PerpsHeaderTabsState, usePerpsTitleMeta } from './usePerpsHeaderTabsState';
|
|
5
|
-
export { usePerpsTitleMeta, type PerpsHeaderTabId };
|
|
6
|
-
/**
|
|
7
|
-
* Whether the modal is in its perps header-tabs state: a perps-enabled
|
|
8
|
-
* Polymarket checkout on the deposit screen (incl. its loading skeleton) or
|
|
9
|
-
* the transfer step.
|
|
10
|
-
*/
|
|
11
|
-
export declare function shouldShowPmPerpsHeaderTabs(config: FunkitCheckoutConfig | undefined, modalState: Pick<CheckoutModalState, 'step' | 'startingStep'>): boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Whether the tabs sit on the offBackground band. Deposit steps get the band;
|
|
14
|
-
* the transfer step renders the tabs on the plain modal background with no
|
|
15
|
-
* band or meta.
|
|
16
|
-
*/
|
|
17
|
-
export declare function shouldShowPmPerpsHeaderTabsBand(config: FunkitCheckoutConfig | undefined, modalState: Pick<CheckoutModalState, 'step' | 'startingStep'>): boolean;
|
|
18
|
-
export interface PerpsHeaderTabsProps {
|
|
19
|
-
modalState: CheckoutModalState;
|
|
20
|
-
onStepChange: (state: CheckoutModalState) => void;
|
|
21
|
-
}
|
|
22
|
-
export type PerpsHeaderTabsViewProps = PerpsHeaderTabsState;
|
|
23
|
-
export declare function PerpsHeaderTabsView({ activeTabId, onTabChange, meta, isTransferStep, access, }: PerpsHeaderTabsViewProps): React.JSX.Element;
|
|
24
|
-
/**
|
|
25
|
-
* Predictions | Perps | Transfer tabs in the title slot. Rendered by
|
|
26
|
-
* `FunCheckoutModal` when {@link shouldShowPmPerpsHeaderTabs} holds; the
|
|
27
|
-
* selection behavior lives in {@link usePerpsHeaderTabsState}.
|
|
28
|
-
*/
|
|
29
|
-
export declare function PerpsHeaderTabs({ modalState, onStepChange, }: PerpsHeaderTabsProps): React.JSX.Element | null;
|