@funkit/connect 12.7.0 → 12.9.0
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 +34 -0
- package/dist/__private__/index.d.ts +3 -0
- package/dist/clients/internal/nado/withdrawalForm.css +81 -81
- package/dist/clients/internal/nado/withdrawalForm.js +1 -1
- package/dist/clients/lighter.css +81 -81
- package/dist/clients/mallard.d.ts +1 -1
- package/dist/clients/mallard.js +58 -54
- package/dist/components/ModalHeightAnimationLayer/FunCheckoutModalHeightAnimationWrapper.d.ts +1 -1
- package/dist/index.css +159 -159
- package/dist/index.d.ts +1 -0
- package/dist/index.js +20184 -20084
- package/dist/modals/CheckoutModal/Brokerage/BrokerageTwoFA.d.ts +2 -1
- package/dist/modals/CheckoutModal/Brokerage/ConnectExchange.d.ts +2 -1
- package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +2 -1
- package/dist/modals/CheckoutModal/CheckoutComplete/CheckoutComplete.d.ts +2 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +2 -1
- package/dist/modals/CheckoutModal/LightningInvoice/LightningInvoice.d.ts +2 -1
- package/dist/modals/CheckoutModal/LoadingAccount.d.ts +2 -1
- package/dist/modals/CheckoutModal/MeldCurrencySelect/MeldCurrencySelect.d.ts +2 -1
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +2 -1
- package/dist/modals/CheckoutModal/MeldRedirect/MeldRedirect.d.ts +2 -1
- package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +2 -1
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +2 -1
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeController.d.ts +2 -1
- package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +2 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeCustomer.d.ts +2 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeKyc.d.ts +2 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/ErrorScreen.d.ts +2 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +2 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/KycIframe.d.ts +2 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/VirtualFiatAccount.d.ts +2 -1
- package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +2 -1
- package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +2 -1
- package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -13
- package/dist/modals/CheckoutModal/stepTransition.shared.d.ts +16 -0
- package/dist/shadow/loadShadowCss.d.ts +4 -6
- package/dist/shadow-css.js +1 -1
- package/dist/wallets/createConnectedWithdrawalClient.d.ts +13 -0
- package/dist/wallets/walletConnectors/index.js +51 -51
- package/package.json +3 -3
- package/dist/clients/chunk-DNVDK7JQ.js +0 -335
- package/dist/wallets/walletConnectors/chunk-53MYTA42.js +0 -94
- package/dist/wallets/walletConnectors/chunk-65ULY6OC.js +0 -70
- package/dist/wallets/walletConnectors/chunk-A5POD5SV.js +0 -103
- package/dist/wallets/walletConnectors/chunk-ANODOMIN.js +0 -218
- package/dist/wallets/walletConnectors/chunk-ASTCNVJC.js +0 -96
- package/dist/wallets/walletConnectors/chunk-F45CUFRR.js +0 -66
- package/dist/wallets/walletConnectors/chunk-FYPQ3HP4.js +0 -92
- package/dist/wallets/walletConnectors/chunk-IWPW26AL.js +0 -98
- package/dist/wallets/walletConnectors/chunk-JJBLW4IU.js +0 -87
- package/dist/wallets/walletConnectors/chunk-KE4CWI3A.js +0 -93
- package/dist/wallets/walletConnectors/chunk-MWB6LFSG.js +0 -110
- package/dist/wallets/walletConnectors/chunk-OVDCDVFX.js +0 -100
- package/dist/wallets/walletConnectors/chunk-PPQ6L4K2.js +0 -106
- package/dist/wallets/walletConnectors/chunk-RJF2YEZ5.js +0 -92
- package/dist/wallets/walletConnectors/chunk-RQYEGJKL.js +0 -96
- package/dist/wallets/walletConnectors/chunk-TIHTQ3OB.js +0 -95
- package/dist/wallets/walletConnectors/chunk-TM7UBV3Q.js +0 -69
- package/dist/wallets/walletConnectors/chunk-USLZMUJ3.js +0 -99
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Address } from 'viem';
|
|
2
|
+
import type { Config } from '../wagmi/hooks';
|
|
3
|
+
import type { WithdrawalClient } from './Wallet';
|
|
4
|
+
/**
|
|
5
|
+
* Adapts the user's connected (wagmi) wallet into the {@link WithdrawalClient}
|
|
6
|
+
* shape the SDK's relay execution drives.
|
|
7
|
+
*
|
|
8
|
+
* Everything is routed through wagmi-core actions bound to the live `config`
|
|
9
|
+
* (not a captured viem client) so chain switches and account changes are always
|
|
10
|
+
* read from current state — `sendTransaction` ensures the wallet is on
|
|
11
|
+
* `chainId` first, so the relay flow never broadcasts on the wrong chain.
|
|
12
|
+
*/
|
|
13
|
+
export declare function createConnectedWithdrawalClient(config: Config, ownerAddress: Address, sourceChainId: number): WithdrawalClient;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
xdefiWallet
|
|
4
|
+
} from "./chunk-HXX4PRE2.js";
|
|
5
5
|
import {
|
|
6
6
|
zerionWallet
|
|
7
7
|
} from "./chunk-34B7OJNT.js";
|
|
8
8
|
import {
|
|
9
9
|
zealWallet
|
|
10
10
|
} from "./chunk-GLX5FULK.js";
|
|
11
|
+
import {
|
|
12
|
+
subWallet
|
|
13
|
+
} from "./chunk-XODA5ESL.js";
|
|
11
14
|
import {
|
|
12
15
|
tahoWallet
|
|
13
16
|
} from "./chunk-U74RFZOL.js";
|
|
14
|
-
import {
|
|
15
|
-
tokenPocketWallet
|
|
16
|
-
} from "./chunk-NXWG6FG2.js";
|
|
17
|
-
import {
|
|
18
|
-
safepalWallet
|
|
19
|
-
} from "./chunk-BBB2J3US.js";
|
|
20
17
|
import {
|
|
21
18
|
talismanWallet
|
|
22
19
|
} from "./chunk-IAYYWCVB.js";
|
|
20
|
+
import {
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-NXWG6FG2.js";
|
|
23
23
|
import {
|
|
24
24
|
tokenaryWallet
|
|
25
25
|
} from "./chunk-TPM5PUJD.js";
|
|
@@ -30,35 +30,35 @@ import {
|
|
|
30
30
|
trustWallet
|
|
31
31
|
} from "./chunk-SR5CZR3L.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
walletConnectWallet
|
|
34
|
+
} from "./chunk-DUX4XCDV.js";
|
|
35
|
+
import {
|
|
36
|
+
oneKeyWallet
|
|
37
|
+
} from "./chunk-KN32ITJ7.js";
|
|
38
|
+
import {
|
|
39
|
+
rabbyWallet
|
|
40
|
+
} from "./chunk-RQ2GXOJL.js";
|
|
35
41
|
import {
|
|
36
42
|
rainbowWallet
|
|
37
43
|
} from "./chunk-ZSSSLFQF.js";
|
|
38
|
-
import {
|
|
39
|
-
phantomWallet
|
|
40
|
-
} from "./chunk-Q27YVDDH.js";
|
|
41
44
|
import {
|
|
42
45
|
ramperWallet
|
|
43
46
|
} from "./chunk-GPXIBTWN.js";
|
|
47
|
+
import {
|
|
48
|
+
safeWallet
|
|
49
|
+
} from "./chunk-IR3PJMVM.js";
|
|
44
50
|
import {
|
|
45
51
|
roninWallet
|
|
46
52
|
} from "./chunk-IA5432IR.js";
|
|
47
|
-
import {
|
|
48
|
-
rabbyWallet
|
|
49
|
-
} from "./chunk-RQ2GXOJL.js";
|
|
50
53
|
import {
|
|
51
54
|
safeheronWallet
|
|
52
55
|
} from "./chunk-UN3ONVNC.js";
|
|
53
56
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
subWallet
|
|
58
|
-
} from "./chunk-XODA5ESL.js";
|
|
57
|
+
safepalWallet
|
|
58
|
+
} from "./chunk-BBB2J3US.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-BL4OC2EJ.js";
|
|
62
62
|
import {
|
|
63
63
|
metaMaskWallet
|
|
64
64
|
} from "./chunk-RXRYHMRI.js";
|
|
@@ -66,50 +66,47 @@ import {
|
|
|
66
66
|
mewWallet
|
|
67
67
|
} from "./chunk-DSPQXAB2.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
69
|
+
oktoWallet
|
|
70
|
+
} from "./chunk-V4M3SNPS.js";
|
|
71
71
|
import {
|
|
72
72
|
omniWallet
|
|
73
73
|
} from "./chunk-2TAUCVX7.js";
|
|
74
|
-
import {
|
|
75
|
-
oktoWallet
|
|
76
|
-
} from "./chunk-V4M3SNPS.js";
|
|
77
74
|
import {
|
|
78
75
|
oneInchWallet
|
|
79
76
|
} from "./chunk-GFS2AVAH.js";
|
|
80
77
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
78
|
+
okxWallet
|
|
79
|
+
} from "./chunk-CU5J53XR.js";
|
|
80
|
+
import {
|
|
81
|
+
phantomWallet
|
|
82
|
+
} from "./chunk-Q27YVDDH.js";
|
|
83
83
|
import {
|
|
84
84
|
foxWallet
|
|
85
85
|
} from "./chunk-U52QO5HF.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
87
|
+
clvWallet
|
|
88
|
+
} from "./chunk-4FHNLTR3.js";
|
|
89
89
|
import {
|
|
90
90
|
frontierWallet
|
|
91
91
|
} from "./chunk-IWOMSW64.js";
|
|
92
|
+
import {
|
|
93
|
+
frameWallet
|
|
94
|
+
} from "./chunk-B572YIAQ.js";
|
|
92
95
|
import {
|
|
93
96
|
gateWallet
|
|
94
97
|
} from "./chunk-YRMBR6NA.js";
|
|
95
98
|
import {
|
|
96
99
|
imTokenWallet
|
|
97
100
|
} from "./chunk-YY2JA23M.js";
|
|
98
|
-
import {
|
|
99
|
-
frameWallet
|
|
100
|
-
} from "./chunk-B572YIAQ.js";
|
|
101
|
-
import {
|
|
102
|
-
ledgerWallet
|
|
103
|
-
} from "./chunk-BL4OC2EJ.js";
|
|
104
101
|
import {
|
|
105
102
|
injectedWallet
|
|
106
103
|
} from "./chunk-M75V7OL3.js";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
kresusWallet
|
|
106
|
+
} from "./chunk-V77ATGZT.js";
|
|
110
107
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
108
|
+
braveWallet
|
|
109
|
+
} from "./chunk-U2XXV45G.js";
|
|
113
110
|
import {
|
|
114
111
|
coin98Wallet
|
|
115
112
|
} from "./chunk-RFCZYLNR.js";
|
|
@@ -123,17 +120,20 @@ import {
|
|
|
123
120
|
customWallet
|
|
124
121
|
} from "./chunk-VKM5M5UK.js";
|
|
125
122
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
123
|
+
dawnWallet
|
|
124
|
+
} from "./chunk-LV6YV3DE.js";
|
|
128
125
|
import {
|
|
129
126
|
enkryptWallet
|
|
130
127
|
} from "./chunk-Z6LDN2AN.js";
|
|
128
|
+
import {
|
|
129
|
+
desigWallet
|
|
130
|
+
} from "./chunk-DFHP75HV.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
133
|
} from "./chunk-ALGPGI6V.js";
|
|
134
134
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-HOCKAU5H.js";
|
|
137
137
|
import {
|
|
138
138
|
argentWallet
|
|
139
139
|
} from "./chunk-XSDTNMQY.js";
|
|
@@ -144,12 +144,12 @@ import {
|
|
|
144
144
|
bitverseWallet
|
|
145
145
|
} from "./chunk-5AEWIKRA.js";
|
|
146
146
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-AALSJCUR.js";
|
|
147
|
+
bitskiWallet
|
|
148
|
+
} from "./chunk-NPITCCJE.js";
|
|
150
149
|
import {
|
|
151
|
-
|
|
152
|
-
} from "./chunk-
|
|
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.9.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"uuid": "^11.1.1",
|
|
122
122
|
"@funkit/api-base": "8.4.0",
|
|
123
123
|
"@funkit/chains": "2.4.0",
|
|
124
|
-
"@funkit/connect-core": "8.
|
|
124
|
+
"@funkit/connect-core": "8.2.0",
|
|
125
125
|
"@funkit/fun-relay": "3.0.1",
|
|
126
126
|
"@funkit/utils": "5.0.0"
|
|
127
127
|
},
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"build": "node build.js && pnpm typecheck",
|
|
137
137
|
"build:watch": "node build.js --watch",
|
|
138
138
|
"dev": "pnpm build:watch & pnpm typegen:watch",
|
|
139
|
-
"prebuild": "pnpm typegen",
|
|
139
|
+
"prebuild": "rm -rf dist && pnpm typegen",
|
|
140
140
|
"typecheck": "pnpm tsc --noEmit",
|
|
141
141
|
"typegen": "tsc --project tsconfig.build.json --emitDeclarationOnly && tsc-alias",
|
|
142
142
|
"typegen:watch": "tsc --project tsconfig.build.json --emitDeclarationOnly --watch & tsc-alias --project tsconfig.build.json --watch",
|