@funkit/connect 6.14.15 → 6.14.18

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.
Files changed (61) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/__generated__/default_configs.d.ts +3 -1
  3. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryDetail.d.ts +2 -1
  4. package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +19 -2
  5. package/dist/components/FunCheckoutHistory/FunDirectExecutionStatus.d.ts +23 -3
  6. package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +2 -1
  7. package/dist/components/TransactionStatus/TransactionStatus.d.ts +16 -2
  8. package/dist/consts/bluvo.d.ts +4 -4
  9. package/dist/domains/feeEstimate.d.ts +2 -4
  10. package/dist/domains/fees.d.ts +2 -2
  11. package/dist/domains/paymentMethods.d.ts +0 -3
  12. package/dist/domains/quote.d.ts +3 -3
  13. package/dist/hooks/queries/useRecentDirectExecutions.d.ts +4 -2
  14. package/dist/hooks/statsig/useDynamicConfig.d.ts +1 -1
  15. package/dist/hooks/track/CheckoutModalEvent.d.ts +2 -1
  16. package/dist/hooks/useBluvo.d.ts +4 -1
  17. package/dist/hooks/useCheckoutDirectExecution.d.ts +3 -4
  18. package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +3 -2
  19. package/dist/hooks/useCheckoutTransferInit.d.ts +1 -1
  20. package/dist/hooks/useDirectExecutionInfoPolling.d.ts +2 -1
  21. package/dist/index.css +14 -28
  22. package/dist/index.js +23869 -23577
  23. package/dist/modals/CheckoutModal/Brokerage/BrokerageSuccessModal.d.ts +10 -0
  24. package/dist/modals/CheckoutModal/{MeshVerification.d.ts → Brokerage/BrokerageTwoFA.d.ts} +12 -13
  25. package/dist/modals/CheckoutModal/{ConnectExchange.d.ts → Brokerage/ConnectExchange.d.ts} +2 -2
  26. package/dist/modals/CheckoutModal/Brokerage/components/BrokerageSuccess.d.ts +8 -0
  27. package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +0 -1
  28. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +0 -1
  29. package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +2 -2
  30. package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +1 -2
  31. package/dist/modals/CheckoutModal/SelectAsset.d.ts +0 -4
  32. package/dist/modals/CheckoutModal/stepTransition.d.ts +7 -7
  33. package/dist/providers/FunkitBrokerageProvider.d.ts +5 -1
  34. package/dist/providers/FunkitMoonpayProvider.d.ts +1 -1
  35. package/dist/providers/GeneralWalletProvider.d.ts +1 -1
  36. package/dist/utils/bluvo.d.ts +29 -3
  37. package/dist/utils/checkout.d.ts +1 -1
  38. package/dist/utils/flags/config.d.ts +2 -9
  39. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  44. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/index.js +70 -70
  49. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  53. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  54. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  55. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  56. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  57. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  58. package/package.json +6 -7
  59. package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +0 -2
  60. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +0 -12
  61. package/dist/modals/CheckoutModal/MoonpaySetup.d.ts +0 -17
@@ -1,142 +1,146 @@
1
1
  "use client";
2
- import {
3
- xdefiWallet
4
- } from "./chunk-BOU4WKRZ.js";
5
- import {
6
- zerionWallet
7
- } from "./chunk-SULRQO27.js";
8
2
  import {
9
3
  zealWallet
10
4
  } from "./chunk-RNBEDQHF.js";
11
5
  import {
12
- subWallet
13
- } from "./chunk-JWFF4AAL.js";
14
- import {
15
- safepalWallet
16
- } from "./chunk-NT2HYJKW.js";
6
+ zerionWallet
7
+ } from "./chunk-Q3H3TRBS.js";
17
8
  import {
18
- talismanWallet
19
- } from "./chunk-DRO6WYMM.js";
9
+ trustWallet
10
+ } from "./chunk-RKPCWHXL.js";
20
11
  import {
21
12
  tokenPocketWallet
22
- } from "./chunk-2L43XSW3.js";
13
+ } from "./chunk-J3LI3FYZ.js";
14
+ import {
15
+ injectedWallet
16
+ } from "./chunk-XWUJE7MW.js";
17
+ import {
18
+ subWallet
19
+ } from "./chunk-ZSI5N4VV.js";
23
20
  import {
24
21
  tokenaryWallet
25
22
  } from "./chunk-D6AOOO5F.js";
26
- import {
27
- trustWallet
28
- } from "./chunk-VYBAYMP3.js";
29
23
  import {
30
24
  uniswapWallet
31
25
  } from "./chunk-LH7BMNFZ.js";
26
+ import {
27
+ talismanWallet
28
+ } from "./chunk-DRO6WYMM.js";
32
29
  import {
33
30
  walletConnectWallet
34
31
  } from "./chunk-NP5QGWNL.js";
35
32
  import {
36
- phantomWallet
37
- } from "./chunk-362NXNTM.js";
33
+ xdefiWallet
34
+ } from "./chunk-BOU4WKRZ.js";
35
+ import {
36
+ ramperWallet
37
+ } from "./chunk-BYXPFMI7.js";
38
+ import {
39
+ roninWallet
40
+ } from "./chunk-QLVVUKYB.js";
38
41
  import {
39
42
  rabbyWallet
40
43
  } from "./chunk-BBOM42DL.js";
41
44
  import {
42
45
  rainbowWallet
43
- } from "./chunk-2KUBG3S6.js";
44
- import {
45
- ramperWallet
46
- } from "./chunk-BYXPFMI7.js";
46
+ } from "./chunk-3CICVJUN.js";
47
47
  import {
48
48
  safeWallet
49
49
  } from "./chunk-BQQQL6UD.js";
50
- import {
51
- roninWallet
52
- } from "./chunk-NWIQNBJU.js";
53
50
  import {
54
51
  safeheronWallet
55
52
  } from "./chunk-RZIO5TFF.js";
53
+ import {
54
+ safepalWallet
55
+ } from "./chunk-EC6CHBSZ.js";
56
56
  import {
57
57
  tahoWallet
58
58
  } from "./chunk-ZZZRUXZE.js";
59
59
  import {
60
- ledgerWallet
61
- } from "./chunk-BRBKM4PW.js";
62
- import {
63
- metaMaskWallet
64
- } from "./chunk-2HYNUNAS.js";
65
- import {
66
- mewWallet
67
- } from "./chunk-OL5ZO7E4.js";
60
+ kresusWallet
61
+ } from "./chunk-MJXPRJZT.js";
68
62
  import {
69
63
  oktoWallet
70
64
  } from "./chunk-ADIXAKUL.js";
71
65
  import {
72
- okxWallet
73
- } from "./chunk-TDIEHTMB.js";
66
+ omniWallet
67
+ } from "./chunk-7CUY5G6R.js";
74
68
  import {
75
69
  oneInchWallet
76
70
  } from "./chunk-OESTDX6I.js";
71
+ import {
72
+ ledgerWallet
73
+ } from "./chunk-BRBKM4PW.js";
77
74
  import {
78
75
  oneKeyWallet
79
76
  } from "./chunk-SHBUZ7U7.js";
80
77
  import {
81
- omniWallet
82
- } from "./chunk-7CUY5G6R.js";
83
- import {
84
- enkryptWallet
85
- } from "./chunk-OLOIXTYS.js";
78
+ okxWallet
79
+ } from "./chunk-AFXHGWBH.js";
86
80
  import {
87
- foxWallet
88
- } from "./chunk-7QONTUXT.js";
81
+ phantomWallet
82
+ } from "./chunk-362NXNTM.js";
89
83
  import {
90
84
  frontierWallet
91
- } from "./chunk-TCAGNB4B.js";
85
+ } from "./chunk-VWCLFMWJ.js";
92
86
  import {
93
- gateWallet
94
- } from "./chunk-FKJJQNKX.js";
87
+ coreWallet
88
+ } from "./chunk-JCHN6A47.js";
89
+ import {
90
+ coin98Wallet
91
+ } from "./chunk-KIDC67XJ.js";
95
92
  import {
96
93
  imTokenWallet
97
94
  } from "./chunk-COZ7MIQS.js";
98
95
  import {
99
- kresusWallet
100
- } from "./chunk-MJXPRJZT.js";
101
- import {
102
- injectedWallet
103
- } from "./chunk-XWUJE7MW.js";
104
- import {
105
- clvWallet
106
- } from "./chunk-M3NZ6R2E.js";
96
+ gateWallet
97
+ } from "./chunk-CJGUM55H.js";
107
98
  import {
108
- bybitWallet
109
- } from "./chunk-2STUC6QL.js";
99
+ mewWallet
100
+ } from "./chunk-OL5ZO7E4.js";
110
101
  import {
111
- coin98Wallet
112
- } from "./chunk-OBOVHCEI.js";
102
+ metaMaskWallet
103
+ } from "./chunk-UYGJO62F.js";
113
104
  import {
114
105
  coinbaseWallet
115
106
  } from "./chunk-H4IRCEZN.js";
116
107
  import {
117
- dawnWallet
118
- } from "./chunk-HWPKCIBE.js";
108
+ bybitWallet
109
+ } from "./chunk-LNEC5RNX.js";
119
110
  import {
120
- coreWallet
121
- } from "./chunk-VR4TBQ6S.js";
111
+ enkryptWallet
112
+ } from "./chunk-OLOIXTYS.js";
113
+ import {
114
+ foxWallet
115
+ } from "./chunk-CNPKISHN.js";
116
+ import {
117
+ clvWallet
118
+ } from "./chunk-2GJQ4XZQ.js";
122
119
  import {
123
120
  desigWallet
124
121
  } from "./chunk-OPAZMNA7.js";
122
+ import {
123
+ dawnWallet
124
+ } from "./chunk-HWPKCIBE.js";
125
125
  import {
126
126
  frameWallet
127
127
  } from "./chunk-IFON7E6U.js";
128
- import {
129
- bifrostWallet
130
- } from "./chunk-A5N6B5UW.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-WSQ2YJO2.js";
134
131
  import {
135
132
  bitgetWallet
136
- } from "./chunk-TDAVGY5F.js";
133
+ } from "./chunk-5W7VDOCL.js";
137
134
  import {
138
135
  bitskiWallet
139
136
  } from "./chunk-HS3C7OQV.js";
137
+ import {
138
+ bifrostWallet
139
+ } from "./chunk-UIASLGLV.js";
140
+ import {
141
+ braveWallet
142
+ } from "./chunk-BPZ2XJO2.js";
143
+ import "./chunk-DNSG5Q7V.js";
140
144
  import {
141
145
  bitverseWallet
142
146
  } from "./chunk-3HZRRP4Y.js";
@@ -144,10 +148,6 @@ import {
144
148
  bloomWallet
145
149
  } from "./chunk-S27IADFU.js";
146
150
  import "./chunk-23WIEY36.js";
147
- import {
148
- braveWallet
149
- } from "./chunk-BPZ2XJO2.js";
150
- import "./chunk-DNSG5Q7V.js";
151
151
  export {
152
152
  argentWallet,
153
153
  bifrostWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-2HYNUNAS.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-UYGJO62F.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  metaMaskWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-TDIEHTMB.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-AFXHGWBH.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  okxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-2KUBG3S6.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-3CICVJUN.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  rainbowWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-NWIQNBJU.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-QLVVUKYB.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  roninWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-NT2HYJKW.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-EC6CHBSZ.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  safepalWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-JWFF4AAL.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-ZSI5N4VV.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  subWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-2L43XSW3.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-J3LI3FYZ.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  tokenPocketWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-VYBAYMP3.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-RKPCWHXL.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  trustWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-SULRQO27.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-Q3H3TRBS.js";
6
5
  import "../chunk-DNSG5Q7V.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  zerionWallet
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.14.15",
3
+ "version": "6.14.18",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -81,7 +81,6 @@
81
81
  "@bluvo/react": "2.0.7",
82
82
  "@bluvo/sdk-ts": "2.0.7",
83
83
  "@datadog/browser-logs": "5.22.0",
84
- "@moonpay/moonpay-react": "^1.6.1",
85
84
  "@number-flow/react": "^0.5.5",
86
85
  "@privy-io/js-sdk-core": "^0.21.0",
87
86
  "@solana/addresses": "^2.1.0",
@@ -100,12 +99,12 @@
100
99
  "ua-parser-js": "^1.0.37",
101
100
  "use-debounce": "^10.0.5",
102
101
  "uuid": "^9.0.1",
103
- "@funkit/api-base": "1.12.11",
104
- "@funkit/utils": "1.1.14",
102
+ "@funkit/api-base": "1.12.12",
105
103
  "@funkit/chains": "0.4.2",
106
- "@funkit/core": "2.3.56",
107
- "@funkit/wagmi-tools": "3.0.79",
108
- "@funkit/fun-relay": "2.1.4"
104
+ "@funkit/core": "2.3.57",
105
+ "@funkit/wagmi-tools": "3.0.80",
106
+ "@funkit/utils": "1.1.14",
107
+ "@funkit/fun-relay": "2.1.6"
109
108
  },
110
109
  "repository": {
111
110
  "type": "git",
@@ -1,2 +0,0 @@
1
- export declare const mpClass: string;
2
- export declare const stretchStyle: string;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { Address } from 'viem';
3
- export interface FunPaymentMoonpayProps {
4
- paymentAddress: Address;
5
- depositToken: string;
6
- depositTokenChainId: string;
7
- depositTokenAmount: number;
8
- onUnsupportedRegion: () => void;
9
- onTransactionCreated: () => void;
10
- onTransactionCompleted: () => void;
11
- }
12
- export declare function FunPaymentMoonpayType({ paymentAddress, depositToken, depositTokenChainId, depositTokenAmount, onTransactionCompleted, onUnsupportedRegion, onTransactionCreated, }: FunPaymentMoonpayProps): React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import type { Address } from 'viem';
3
- import type { PaymentMethodCardInfo } from '~/domains/paymentMethods';
4
- import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from './stepTransition';
5
- export type MoonpaySetupState = CheckoutModalCommonState & {
6
- paymentAddress: Address;
7
- token: string;
8
- tokenChainId: string;
9
- depositAmount: number;
10
- isSendingToQr: boolean;
11
- paymentMethodInfo: PaymentMethodCardInfo;
12
- };
13
- export type MoonpaySetupNext = {
14
- depositAddress: Address;
15
- };
16
- export declare const MoonpaySetupInfo: ModalStepInfo<FunCheckoutStep.MOONPAY_SETUP>;
17
- export declare function MoonpaySetup({ modalState, onNext, }: ModalStepComponentProps<FunCheckoutStep.MOONPAY_SETUP>): React.JSX.Element;