@funkit/connect 9.22.0 → 9.23.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/clients/{chunk-KSSSSWR6.js → chunk-2LMREKV6.js} +1 -1
  3. package/dist/clients/{chunk-NCCAYPLO.js → chunk-4M57JDJK.js} +1 -1
  4. package/dist/clients/{chunk-ZMVXBMON.js → chunk-GCIUIPM7.js} +1 -1
  5. package/dist/clients/{chunk-OWXKWC7I.js → chunk-H3CKQIYI.js} +10 -10
  6. package/dist/clients/{chunk-4752IYY6.js → chunk-KWIR3HO4.js} +1 -1
  7. package/dist/clients/fanatics.css +2 -2
  8. package/dist/clients/fanatics.js +3 -3
  9. package/dist/clients/lighter.css +2 -2
  10. package/dist/clients/lighter.js +5 -3
  11. package/dist/clients/mallard.d.ts +49 -0
  12. package/dist/clients/mallard.js +86 -0
  13. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +91 -91
  14. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +6 -6
  15. package/dist/clients/polymarket/createPolymarketDepositConfig.js +2 -2
  16. package/dist/clients/polymarket/index.css +91 -91
  17. package/dist/clients/polymarket/index.js +6 -6
  18. package/dist/clients/polymarket/polymarket.js +1 -1
  19. package/dist/clients/rolly.js +1 -14
  20. package/dist/components/Box/Box.d.ts +21 -21
  21. package/dist/components/Icons/New/ArrowCircleUpRightIcon.d.ts +4 -0
  22. package/dist/consts/customers.d.ts +2 -0
  23. package/dist/css/sprinkles.css.d.ts +21 -21
  24. package/dist/domains/asset.d.ts +2 -2
  25. package/dist/domains/clientMetadata.d.ts +6 -1
  26. package/dist/domains/swapped.d.ts +10 -1
  27. package/dist/hooks/queries/useRecentCheckouts.d.ts +4 -2
  28. package/dist/hooks/queries/useRecentDeposits.d.ts +4 -9
  29. package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
  30. package/dist/hooks/useEffectEvent.d.ts +1 -3
  31. package/dist/hooks/usePaymentMethodTabs.d.ts +5 -0
  32. package/dist/hooks/usePaymentSources.d.ts +1 -1
  33. package/dist/hooks/useTokenTransferConfig.d.ts +7 -0
  34. package/dist/index.css +32 -32
  35. package/dist/index.js +1412 -1465
  36. package/dist/interfaces/identity.d.ts +7 -0
  37. package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +3 -1
  38. package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +1 -1
  39. package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +2 -2
  40. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +14 -0
  41. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +15 -0
  42. package/dist/modals/CheckoutModal/stepTransition.d.ts +6 -0
  43. package/dist/modals/CheckoutModal/stepTransition.track.d.ts +1 -1
  44. package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +31 -0
  45. package/dist/providers/FunkitCheckoutContext/types.d.ts +2 -28
  46. package/dist/providers/FunkitConfigContext.d.ts +2 -0
  47. package/dist/providers/SwappedProvider.d.ts +2 -2
  48. package/dist/utils/checkout.d.ts +2 -20
  49. package/dist/utils/customer.d.ts +13 -1
  50. package/dist/utils/tokenTransfer/disabledList.d.ts +1 -14
  51. package/dist/utils/tokenTransfer/types.d.ts +5 -30
  52. package/dist/wallets/walletConnectors/index.js +12 -12
  53. package/package.json +4 -4
  54. package/dist/clients/nado.d.ts +0 -78
  55. package/dist/clients/nado.js +0 -107
  56. /package/dist/clients/{chunk-52NKHZS2.js → chunk-OG254LB3.js} +0 -0
  57. /package/dist/clients/{chunk-MOUTRRN3.js → chunk-S7FRYR55.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import {
3
3
  PolymarketDepositAccountDropdown
4
- } from "../chunk-OWXKWC7I.js";
4
+ } from "../chunk-H3CKQIYI.js";
5
5
  import "../chunk-MRBN4XCA.js";
6
- import "../chunk-KSSSSWR6.js";
7
- import "../chunk-ZMVXBMON.js";
8
- import "../chunk-52NKHZS2.js";
6
+ import "../chunk-2LMREKV6.js";
7
+ import "../chunk-GCIUIPM7.js";
8
+ import "../chunk-OG254LB3.js";
9
9
  import {
10
10
  POLYMARKET_PERPS_ROUTING_ID,
11
11
  POLYMARKET_PREDICTIONS_ROUTING_ID,
12
12
  createPolymarketDepositConfig,
13
13
  createPredictionsGenerateActionParams
14
- } from "../chunk-4752IYY6.js";
14
+ } from "../chunk-KWIR3HO4.js";
15
15
  import {
16
16
  AMOUNT_PLACEHOLDER,
17
17
  COLLATERAL_ONRAMP_ABI,
@@ -22,7 +22,7 @@ import {
22
22
  VAULT_DEPOSITOR_POLYGON,
23
23
  createPerpsGenerateActionParams,
24
24
  createPolymarketWithdrawalConfig
25
- } from "../chunk-MOUTRRN3.js";
25
+ } from "../chunk-S7FRYR55.js";
26
26
  import "../chunk-UUHGOBKZ.js";
27
27
  export {
28
28
  AMOUNT_PLACEHOLDER,
@@ -9,7 +9,7 @@ import {
9
9
  VAULT_DEPOSITOR_POLYGON,
10
10
  createPerpsGenerateActionParams,
11
11
  createPolymarketWithdrawalConfig
12
- } from "../chunk-MOUTRRN3.js";
12
+ } from "../chunk-S7FRYR55.js";
13
13
  import "../chunk-UUHGOBKZ.js";
14
14
  export {
15
15
  AMOUNT_PLACEHOLDER,
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  // src/clients/rolly.tsx
4
+ import { VAULT_DEPOSITOR_ABI } from "@funkit/fun-relay";
4
5
  import {
5
6
  encodeFunctionData,
6
7
  erc20Abi,
@@ -29,20 +30,6 @@ var ROLLY_VAULT_ABI = [
29
30
  outputs: []
30
31
  }
31
32
  ];
32
- var VAULT_DEPOSITOR_ABI = [
33
- {
34
- name: "deposit",
35
- type: "function",
36
- stateMutability: "nonpayable",
37
- inputs: [
38
- { name: "token", type: "address" },
39
- { name: "vault", type: "address" },
40
- { name: "callData", type: "bytes" },
41
- { name: "minAmountOut", type: "uint256" }
42
- ],
43
- outputs: [{ name: "returnData", type: "bytes" }]
44
- }
45
- ];
46
33
  function createRollyDepositActions(config) {
47
34
  const {
48
35
  recipientAddress,