@funkit/connect 6.14.17 → 6.14.19

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 (60) hide show
  1. package/CHANGELOG.md +36 -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/fees.d.ts +2 -2
  10. package/dist/domains/paymentMethods.d.ts +0 -3
  11. package/dist/domains/quote.d.ts +3 -3
  12. package/dist/hooks/queries/useRecentDirectExecutions.d.ts +4 -2
  13. package/dist/hooks/statsig/useDynamicConfig.d.ts +1 -1
  14. package/dist/hooks/track/CheckoutModalEvent.d.ts +2 -2
  15. package/dist/hooks/useBluvo.d.ts +4 -1
  16. package/dist/hooks/useCheckoutDirectExecution.d.ts +3 -4
  17. package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +3 -2
  18. package/dist/hooks/useDirectExecutionInfoPolling.d.ts +2 -1
  19. package/dist/index.css +14 -28
  20. package/dist/index.js +23319 -23211
  21. package/dist/modals/CheckoutModal/Brokerage/BrokerageSuccessModal.d.ts +10 -0
  22. package/dist/modals/CheckoutModal/{MeshVerification.d.ts → Brokerage/BrokerageTwoFA.d.ts} +12 -13
  23. package/dist/modals/CheckoutModal/{ConnectExchange.d.ts → Brokerage/ConnectExchange.d.ts} +2 -2
  24. package/dist/modals/CheckoutModal/Brokerage/components/BrokerageSuccess.d.ts +8 -0
  25. package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +0 -1
  26. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +0 -1
  27. package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +2 -2
  28. package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +1 -2
  29. package/dist/modals/CheckoutModal/SelectAsset.d.ts +0 -4
  30. package/dist/modals/CheckoutModal/stepTransition.d.ts +7 -7
  31. package/dist/providers/FunkitBrokerageProvider.d.ts +5 -1
  32. package/dist/providers/FunkitMoonpayProvider.d.ts +0 -5
  33. package/dist/utils/bluvo.d.ts +29 -3
  34. package/dist/utils/checkout.d.ts +1 -2
  35. package/dist/utils/flags/config.d.ts +2 -9
  36. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  37. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  41. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  44. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/index.js +76 -76
  46. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  49. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  53. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  54. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  55. package/package.json +6 -7
  56. package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +0 -2
  57. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +0 -12
  58. package/dist/consts/moonpay.d.ts +0 -10
  59. package/dist/modals/CheckoutModal/MoonpaySetup.d.ts +0 -17
  60. package/dist/utils/moonpay.d.ts +0 -10
@@ -1,153 +1,153 @@
1
1
  "use client";
2
2
  import {
3
- zealWallet
4
- } from "./chunk-RNBEDQHF.js";
3
+ zerionWallet
4
+ } from "./chunk-Q3H3TRBS.js";
5
5
  import {
6
- xdefiWallet
7
- } from "./chunk-BOU4WKRZ.js";
6
+ walletConnectWallet
7
+ } from "./chunk-NP5QGWNL.js";
8
8
  import {
9
- zerionWallet
10
- } from "./chunk-SULRQO27.js";
9
+ zealWallet
10
+ } from "./chunk-RNBEDQHF.js";
11
11
  import {
12
12
  talismanWallet
13
13
  } from "./chunk-DRO6WYMM.js";
14
14
  import {
15
- tokenPocketWallet
16
- } from "./chunk-2L43XSW3.js";
17
- import {
18
- tahoWallet
19
- } from "./chunk-ZZZRUXZE.js";
20
- import {
21
- subWallet
22
- } from "./chunk-JWFF4AAL.js";
15
+ ledgerWallet
16
+ } from "./chunk-BRBKM4PW.js";
23
17
  import {
24
18
  tokenaryWallet
25
19
  } from "./chunk-D6AOOO5F.js";
26
20
  import {
27
- uniswapWallet
28
- } from "./chunk-LH7BMNFZ.js";
21
+ tahoWallet
22
+ } from "./chunk-ZZZRUXZE.js";
29
23
  import {
30
24
  trustWallet
31
- } from "./chunk-VYBAYMP3.js";
25
+ } from "./chunk-RKPCWHXL.js";
32
26
  import {
33
- walletConnectWallet
34
- } from "./chunk-NP5QGWNL.js";
27
+ tokenPocketWallet
28
+ } from "./chunk-J3LI3FYZ.js";
35
29
  import {
36
- phantomWallet
37
- } from "./chunk-362NXNTM.js";
30
+ uniswapWallet
31
+ } from "./chunk-LH7BMNFZ.js";
38
32
  import {
39
- rainbowWallet
40
- } from "./chunk-2KUBG3S6.js";
33
+ xdefiWallet
34
+ } from "./chunk-BOU4WKRZ.js";
41
35
  import {
42
36
  rabbyWallet
43
37
  } from "./chunk-BBOM42DL.js";
38
+ import {
39
+ rainbowWallet
40
+ } from "./chunk-3CICVJUN.js";
44
41
  import {
45
42
  ramperWallet
46
43
  } from "./chunk-BYXPFMI7.js";
47
44
  import {
48
- roninWallet
49
- } from "./chunk-NWIQNBJU.js";
50
- import {
51
- safeheronWallet
52
- } from "./chunk-RZIO5TFF.js";
45
+ subWallet
46
+ } from "./chunk-ZSI5N4VV.js";
53
47
  import {
54
48
  safeWallet
55
49
  } from "./chunk-BQQQL6UD.js";
56
50
  import {
57
51
  safepalWallet
58
- } from "./chunk-NT2HYJKW.js";
52
+ } from "./chunk-EC6CHBSZ.js";
59
53
  import {
60
- ledgerWallet
61
- } from "./chunk-BRBKM4PW.js";
54
+ safeheronWallet
55
+ } from "./chunk-RZIO5TFF.js";
62
56
  import {
63
- metaMaskWallet
64
- } from "./chunk-2HYNUNAS.js";
57
+ roninWallet
58
+ } from "./chunk-QLVVUKYB.js";
65
59
  import {
66
60
  mewWallet
67
61
  } from "./chunk-OL5ZO7E4.js";
68
62
  import {
69
- oktoWallet
70
- } from "./chunk-ADIXAKUL.js";
63
+ kresusWallet
64
+ } from "./chunk-MJXPRJZT.js";
65
+ import {
66
+ imTokenWallet
67
+ } from "./chunk-COZ7MIQS.js";
71
68
  import {
72
69
  omniWallet
73
70
  } from "./chunk-7CUY5G6R.js";
74
71
  import {
75
- okxWallet
76
- } from "./chunk-TDIEHTMB.js";
77
- import {
78
- oneInchWallet
79
- } from "./chunk-OESTDX6I.js";
72
+ oktoWallet
73
+ } from "./chunk-ADIXAKUL.js";
80
74
  import {
81
75
  oneKeyWallet
82
76
  } from "./chunk-SHBUZ7U7.js";
83
77
  import {
84
- coinbaseWallet
85
- } from "./chunk-H4IRCEZN.js";
78
+ oneInchWallet
79
+ } from "./chunk-OESTDX6I.js";
86
80
  import {
87
- foxWallet
88
- } from "./chunk-7QONTUXT.js";
81
+ phantomWallet
82
+ } from "./chunk-362NXNTM.js";
89
83
  import {
90
- frontierWallet
91
- } from "./chunk-TCAGNB4B.js";
84
+ desigWallet
85
+ } from "./chunk-OPAZMNA7.js";
92
86
  import {
93
- gateWallet
94
- } from "./chunk-FKJJQNKX.js";
87
+ frameWallet
88
+ } from "./chunk-IFON7E6U.js";
95
89
  import {
96
- imTokenWallet
97
- } from "./chunk-COZ7MIQS.js";
90
+ frontierWallet
91
+ } from "./chunk-VWCLFMWJ.js";
98
92
  import {
99
93
  injectedWallet
100
94
  } from "./chunk-XWUJE7MW.js";
101
95
  import {
102
- kresusWallet
103
- } from "./chunk-MJXPRJZT.js";
96
+ gateWallet
97
+ } from "./chunk-CJGUM55H.js";
104
98
  import {
105
- clvWallet
106
- } from "./chunk-M3NZ6R2E.js";
99
+ metaMaskWallet
100
+ } from "./chunk-UYGJO62F.js";
107
101
  import {
108
- bybitWallet
109
- } from "./chunk-2STUC6QL.js";
102
+ okxWallet
103
+ } from "./chunk-AFXHGWBH.js";
110
104
  import {
111
- coin98Wallet
112
- } from "./chunk-OBOVHCEI.js";
105
+ braveWallet
106
+ } from "./chunk-BPZ2XJO2.js";
107
+ import {
108
+ coinbaseWallet
109
+ } from "./chunk-H4IRCEZN.js";
113
110
  import {
114
111
  dawnWallet
115
112
  } from "./chunk-HWPKCIBE.js";
116
113
  import {
117
- coreWallet
118
- } from "./chunk-VR4TBQ6S.js";
119
- import {
120
- desigWallet
121
- } from "./chunk-OPAZMNA7.js";
114
+ bloomWallet
115
+ } from "./chunk-S27IADFU.js";
122
116
  import {
123
117
  enkryptWallet
124
118
  } from "./chunk-OLOIXTYS.js";
125
119
  import {
126
- frameWallet
127
- } from "./chunk-IFON7E6U.js";
120
+ coreWallet
121
+ } from "./chunk-JCHN6A47.js";
122
+ import {
123
+ coin98Wallet
124
+ } from "./chunk-KIDC67XJ.js";
125
+ import {
126
+ foxWallet
127
+ } from "./chunk-CNPKISHN.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
+ import {
132
+ bifrostWallet
133
+ } from "./chunk-UIASLGLV.js";
131
134
  import {
132
135
  bitskiWallet
133
136
  } from "./chunk-HS3C7OQV.js";
134
- import {
135
- bifrostWallet
136
- } from "./chunk-A5N6B5UW.js";
137
137
  import {
138
138
  bitgetWallet
139
- } from "./chunk-TDAVGY5F.js";
139
+ } from "./chunk-5W7VDOCL.js";
140
+ import {
141
+ clvWallet
142
+ } from "./chunk-2GJQ4XZQ.js";
143
+ import {
144
+ bybitWallet
145
+ } from "./chunk-LNEC5RNX.js";
146
+ import "./chunk-DNSG5Q7V.js";
140
147
  import {
141
148
  bitverseWallet
142
149
  } from "./chunk-3HZRRP4Y.js";
143
- import {
144
- bloomWallet
145
- } 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.17",
3
+ "version": "6.14.19",
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",
102
+ "@funkit/api-base": "1.12.12",
104
103
  "@funkit/chains": "0.4.2",
105
- "@funkit/fun-relay": "2.1.5",
106
- "@funkit/core": "2.3.56",
107
- "@funkit/wagmi-tools": "3.0.79",
108
- "@funkit/utils": "1.1.14"
104
+ "@funkit/core": "2.3.57",
105
+ "@funkit/fun-relay": "2.1.7",
106
+ "@funkit/utils": "1.1.14",
107
+ "@funkit/wagmi-tools": "3.0.80"
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,10 +0,0 @@
1
- export declare const MOONPAY_TOKENS_SUPPORTED_REGIONS: {
2
- [token: string]: {
3
- isSupportedInUS: boolean;
4
- notAllowedUSStates: string[];
5
- notAllowedCountries: string[];
6
- minBuyAmount: number;
7
- maxBuyAmount: number;
8
- precision: number;
9
- };
10
- };
@@ -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;
@@ -1,10 +0,0 @@
1
- export declare const MINIMUM_MOONPAY_DEPOSIT_AMOUNT_USD = 35;
2
- export declare const MAXIMUM_MOONPAY_DEPOSIT_AMOUNT_USD = 10000;
3
- export declare const generateMoonpayCurrencyCode: (tokenSymbol: string, chainId: string) => string;
4
- export declare function checkAmountForMoonpay(amountUsd: number, isDefiMode?: boolean): {
5
- readonly isInvalid: true;
6
- readonly message: string;
7
- } | {
8
- readonly isInvalid: false;
9
- readonly message?: undefined;
10
- };