@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.
- package/CHANGELOG.md +49 -0
- package/dist/clients/{chunk-KSSSSWR6.js → chunk-2LMREKV6.js} +1 -1
- package/dist/clients/{chunk-NCCAYPLO.js → chunk-4M57JDJK.js} +1 -1
- package/dist/clients/{chunk-ZMVXBMON.js → chunk-GCIUIPM7.js} +1 -1
- package/dist/clients/{chunk-OWXKWC7I.js → chunk-H3CKQIYI.js} +10 -10
- package/dist/clients/{chunk-4752IYY6.js → chunk-KWIR3HO4.js} +1 -1
- package/dist/clients/fanatics.css +2 -2
- package/dist/clients/fanatics.js +3 -3
- package/dist/clients/lighter.css +2 -2
- package/dist/clients/lighter.js +5 -3
- package/dist/clients/mallard.d.ts +49 -0
- package/dist/clients/mallard.js +86 -0
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +91 -91
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +6 -6
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +2 -2
- package/dist/clients/polymarket/index.css +91 -91
- package/dist/clients/polymarket/index.js +6 -6
- package/dist/clients/polymarket/polymarket.js +1 -1
- package/dist/clients/rolly.js +1 -14
- package/dist/components/Box/Box.d.ts +21 -21
- package/dist/components/Icons/New/ArrowCircleUpRightIcon.d.ts +4 -0
- package/dist/consts/customers.d.ts +2 -0
- package/dist/css/sprinkles.css.d.ts +21 -21
- package/dist/domains/asset.d.ts +2 -2
- package/dist/domains/clientMetadata.d.ts +6 -1
- package/dist/domains/swapped.d.ts +10 -1
- package/dist/hooks/queries/useRecentCheckouts.d.ts +4 -2
- package/dist/hooks/queries/useRecentDeposits.d.ts +4 -9
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/useEffectEvent.d.ts +1 -3
- package/dist/hooks/usePaymentMethodTabs.d.ts +5 -0
- package/dist/hooks/usePaymentSources.d.ts +1 -1
- package/dist/hooks/useTokenTransferConfig.d.ts +7 -0
- package/dist/index.css +32 -32
- package/dist/index.js +1412 -1465
- package/dist/interfaces/identity.d.ts +7 -0
- package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +3 -1
- package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +2 -2
- package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +14 -0
- package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +15 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +6 -0
- package/dist/modals/CheckoutModal/stepTransition.track.d.ts +1 -1
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +31 -0
- package/dist/providers/FunkitCheckoutContext/types.d.ts +2 -28
- package/dist/providers/FunkitConfigContext.d.ts +2 -0
- package/dist/providers/SwappedProvider.d.ts +2 -2
- package/dist/utils/checkout.d.ts +2 -20
- package/dist/utils/customer.d.ts +13 -1
- package/dist/utils/tokenTransfer/disabledList.d.ts +1 -14
- package/dist/utils/tokenTransfer/types.d.ts +5 -30
- package/dist/wallets/walletConnectors/index.js +12 -12
- package/package.json +4 -4
- package/dist/clients/nado.d.ts +0 -78
- package/dist/clients/nado.js +0 -107
- /package/dist/clients/{chunk-52NKHZS2.js → chunk-OG254LB3.js} +0 -0
- /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-
|
|
4
|
+
} from "../chunk-H3CKQIYI.js";
|
|
5
5
|
import "../chunk-MRBN4XCA.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
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-
|
|
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-
|
|
25
|
+
} from "../chunk-S7FRYR55.js";
|
|
26
26
|
import "../chunk-UUHGOBKZ.js";
|
|
27
27
|
export {
|
|
28
28
|
AMOUNT_PLACEHOLDER,
|
package/dist/clients/rolly.js
CHANGED
|
@@ -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,
|