@funkit/connect 6.15.2 → 6.15.4
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 +31 -0
- package/dist/__generated__/default_configs.d.ts +1 -1
- package/dist/components/CopyAddress/CopyInputDisplayedAddress.d.ts +4 -1
- package/dist/components/FunInput/FunInput.css.d.ts +4 -0
- package/dist/components/FunInput/FunInput.d.ts +2 -0
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +2 -2
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +5 -3
- package/dist/consts/checkout.d.ts +3 -2
- package/dist/consts/quote.d.ts +47 -4
- package/dist/domains/asset.d.ts +3 -1
- package/dist/domains/bridge.d.ts +1 -2
- package/dist/hooks/useCheckoutDirectExecution.d.ts +1 -1
- package/dist/hooks/useCheckoutTimeEstimate.d.ts +7 -3
- package/dist/hooks/useFunkitTranslation.d.ts +21 -0
- package/dist/index.css +53 -13
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6914 -2687
- package/dist/locales/i18n.d.ts +4 -0
- package/dist/locales/index.d.ts +2 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +0 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +0 -1
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +5 -2
- package/dist/modals/CheckoutModal/MeldQuotes/useMeldQuotes.d.ts +1 -1
- package/dist/providers/FunkitI18nProvider.d.ts +12 -0
- package/dist/providers/FunkitProvider.d.ts +0 -1
- package/dist/utils/checkout.d.ts +2 -1
- package/dist/utils/flags/config.d.ts +2 -1
- package/dist/utils/timeFormat.d.ts +16 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +33 -33
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +10 -7
- package/dist/wallets/walletConnectors/{chunk-UYGJO62F.js → chunk-2HYNUNAS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-3CICVJUN.js → chunk-2KUBG3S6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-J3LI3FYZ.js → chunk-2L43XSW3.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-LNEC5RNX.js → chunk-2STUC6QL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CNPKISHN.js → chunk-7QONTUXT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UIASLGLV.js → chunk-A5N6B5UW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CJGUM55H.js → chunk-FKJJQNKX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZSI5N4VV.js → chunk-JWFF4AAL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2GJQ4XZQ.js → chunk-M3NZ6R2E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-EC6CHBSZ.js → chunk-NT2HYJKW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-QLVVUKYB.js → chunk-NWIQNBJU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KIDC67XJ.js → chunk-OBOVHCEI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-Q3H3TRBS.js → chunk-SULRQO27.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VWCLFMWJ.js → chunk-TCAGNB4B.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-5W7VDOCL.js → chunk-TDAVGY5F.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AFXHGWBH.js → chunk-TDIEHTMB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JCHN6A47.js → chunk-VR4TBQ6S.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RKPCWHXL.js → chunk-VYBAYMP3.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 6.15.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1d3c43c: refactor: lighter chain configs
|
|
8
|
+
- 6256f11: feat(connect): added i18n support for katana bridge alert
|
|
9
|
+
- 0e331de: fix: receive token icon url on transfer crypto
|
|
10
|
+
- ecb6423: fix ghost meld quote calls
|
|
11
|
+
- 1851c89: hyperdash theme updates
|
|
12
|
+
- b967fc0: chore(connect): deprecate Permit2Tokens flag
|
|
13
|
+
- b5d2d2f: support external logged-in users for fiat account management
|
|
14
|
+
- Updated dependencies [1d3c43c]
|
|
15
|
+
- Updated dependencies [b353a64]
|
|
16
|
+
- Updated dependencies [b967fc0]
|
|
17
|
+
- Updated dependencies [b967fc0]
|
|
18
|
+
- Updated dependencies [b5d2d2f]
|
|
19
|
+
- @funkit/chains@0.4.6
|
|
20
|
+
- @funkit/fun-relay@2.1.13
|
|
21
|
+
- @funkit/api-base@1.12.17
|
|
22
|
+
- @funkit/utils@1.1.18
|
|
23
|
+
- @funkit/core@2.3.62
|
|
24
|
+
- @funkit/wagmi-tools@3.0.85
|
|
25
|
+
|
|
26
|
+
## 6.15.3
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 7b14496: feat(connect): override time estimate for lzOFT checkouts
|
|
31
|
+
- Updated dependencies [b4c2d23]
|
|
32
|
+
- @funkit/fun-relay@2.1.12
|
|
33
|
+
|
|
3
34
|
## 6.15.2
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
@@ -3,5 +3,8 @@ interface CopyInputDisplayedAddressProps {
|
|
|
3
3
|
address: string;
|
|
4
4
|
truncateAddress?: boolean;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Main exported component that conditionally renders English or i18n version
|
|
8
|
+
*/
|
|
9
|
+
export declare function CopyInputDisplayedAddress(props: CopyInputDisplayedAddressProps): React.JSX.Element;
|
|
7
10
|
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export declare const baseWrapperStyles: string;
|
|
2
|
+
export declare const baseWrapperStylesNoTransition: string;
|
|
2
3
|
export declare const numberInputResetStyle: string;
|
|
3
4
|
export declare const inputClass: string;
|
|
5
|
+
export declare const inputClassNoTransition: string;
|
|
4
6
|
export declare const inputClassDisabled: string;
|
|
7
|
+
export declare const inputClassDisabledNoTransition: string;
|
|
5
8
|
export declare const inputClassError: string;
|
|
9
|
+
export declare const inputClassErrorNoTransition: string;
|
|
@@ -30,6 +30,8 @@ export interface FunInputProps<T = HTMLInputElement | HTMLTextAreaElement> {
|
|
|
30
30
|
isLoading?: boolean;
|
|
31
31
|
/** Allow multiline input. Defaults to false. This option replaces the internal `input` element with a `textarea` element. */
|
|
32
32
|
allowMultiline?: T extends HTMLInputElement ? false : true;
|
|
33
|
+
/** Remove default transitions from the input wrapper and base styles. Defaults to false. */
|
|
34
|
+
ignoreBaseTransitions?: boolean;
|
|
33
35
|
testId?: string;
|
|
34
36
|
}
|
|
35
37
|
export type FunInputChangeEvent = ChangeEvent<HTMLInputElement | HTMLTextAreaElement>;
|
|
@@ -5,8 +5,8 @@ interface PaymentMethodSummaryProps {
|
|
|
5
5
|
paymentMethodInfo: PaymentMethodInfo;
|
|
6
6
|
customRecipient: FunAddress | undefined;
|
|
7
7
|
isLoading: boolean;
|
|
8
|
-
|
|
8
|
+
estimatedTimeText: string;
|
|
9
9
|
isWithdrawal?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare function PaymentMethodSummary({ paymentMethodInfo, customRecipient,
|
|
11
|
+
export declare function PaymentMethodSummary({ paymentMethodInfo, customRecipient, estimatedTimeText, isLoading, isWithdrawal, }: PaymentMethodSummaryProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
1
2
|
import React, { type ReactNode } from 'react';
|
|
2
3
|
import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
|
|
3
4
|
interface TransactionStatusProps {
|
|
@@ -15,13 +16,14 @@ export type TextConfig = {
|
|
|
15
16
|
title: string;
|
|
16
17
|
};
|
|
17
18
|
export type TextConfigContext = {
|
|
18
|
-
durationUnits:
|
|
19
|
+
durationUnits: string;
|
|
19
20
|
isWithdrawal: boolean;
|
|
21
|
+
finalizeVerb: string;
|
|
20
22
|
};
|
|
21
23
|
export type TextConfigStatus = Record<Exclude<TransactionStatusProps['status'], 'progress'> | 'progress_delayed', TextConfig | ((context: TextConfigContext) => TextConfig)>;
|
|
22
|
-
export declare const
|
|
24
|
+
export declare const getDefaultTextConfigStatus: (t: TFunction) => TextConfigStatus;
|
|
23
25
|
export type TextConfigSteps = Record<CheckoutProgressStep, TextConfig | ((context: TextConfigContext) => TextConfig)>;
|
|
24
|
-
export declare const
|
|
26
|
+
export declare const getDefaultTextConfigSteps: (t: TFunction) => TextConfigSteps;
|
|
25
27
|
export declare function TransactionStatusLoading({ expectedStatus, }: {
|
|
26
28
|
expectedStatus: TransactionStatusProps['status'];
|
|
27
29
|
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
1
2
|
export declare enum CheckoutInitStepMessage {
|
|
2
3
|
CONFIRMING = 0,
|
|
3
4
|
PREPARING_DATA = 1,
|
|
@@ -5,7 +6,7 @@ export declare enum CheckoutInitStepMessage {
|
|
|
5
6
|
WAITING_FOR_SIGNATURE = 3,
|
|
6
7
|
WAITING_FOR_CONFIRMATION = 4
|
|
7
8
|
}
|
|
8
|
-
export declare const
|
|
9
|
+
export declare const getCheckoutStepMessage: (t: TFunction) => {
|
|
9
10
|
1: string;
|
|
10
11
|
0: string;
|
|
11
12
|
2: string;
|
|
@@ -17,7 +18,7 @@ export declare enum Web3AccountBalanceMessage {
|
|
|
17
18
|
SWITCH_CHAIN = 1,
|
|
18
19
|
APPROVE_TRANSFER = 2
|
|
19
20
|
}
|
|
20
|
-
export declare const
|
|
21
|
+
export declare const getWeb3AccountBalanceMessage: (t: TFunction) => {
|
|
21
22
|
0: string;
|
|
22
23
|
1: string;
|
|
23
24
|
2: (tokenSymbol: string) => string;
|
package/dist/consts/quote.d.ts
CHANGED
|
@@ -1,25 +1,68 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
1
2
|
export declare enum PendingQuoteMessage {
|
|
2
3
|
PREPARING = 0,
|
|
3
4
|
VERIFYING_PROVIDER = 1,
|
|
4
5
|
ESTIMATING_GAS = 2,
|
|
5
6
|
FINALIZING = 3
|
|
6
7
|
}
|
|
7
|
-
export declare const
|
|
8
|
+
export declare const getPendingQuoteMessageGenerator: (t: TFunction) => {
|
|
8
9
|
0: () => string;
|
|
9
10
|
1: (provider: string) => string;
|
|
10
11
|
2: () => string;
|
|
11
12
|
3: () => string;
|
|
12
13
|
};
|
|
14
|
+
export declare const getQuoteApiErrorStringInfo: (t: TFunction) => {
|
|
15
|
+
0: {
|
|
16
|
+
check: string;
|
|
17
|
+
display: string;
|
|
18
|
+
};
|
|
19
|
+
1: {
|
|
20
|
+
check: string;
|
|
21
|
+
display: string;
|
|
22
|
+
};
|
|
23
|
+
6: {
|
|
24
|
+
check: string;
|
|
25
|
+
display: string;
|
|
26
|
+
};
|
|
27
|
+
2: {
|
|
28
|
+
check: string;
|
|
29
|
+
display: string;
|
|
30
|
+
};
|
|
31
|
+
3: {
|
|
32
|
+
check: string;
|
|
33
|
+
display: string;
|
|
34
|
+
};
|
|
35
|
+
4: {
|
|
36
|
+
check: string;
|
|
37
|
+
display: string;
|
|
38
|
+
};
|
|
39
|
+
5: {
|
|
40
|
+
check: string;
|
|
41
|
+
display: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
13
44
|
export declare enum QuoteCustomErrorType {
|
|
14
45
|
INSUFFICIENT_BALANCE_PRE_CHECK = 0,
|
|
15
46
|
INSUFFICIENT_TOKEN_BALANCE_PRE_CHECK = 1,
|
|
16
47
|
INSUFFICIENT_BALANCE_POST_CHECK = 2,
|
|
17
48
|
INSUFFICIENT_AMOUNT_POST_CHECK = 3
|
|
18
49
|
}
|
|
19
|
-
export declare const
|
|
20
|
-
|
|
50
|
+
export declare const getQuoteCustomErrorStringInfo: (t: TFunction) => {
|
|
51
|
+
0: {
|
|
52
|
+
check: string;
|
|
53
|
+
display: string;
|
|
54
|
+
};
|
|
55
|
+
1: {
|
|
56
|
+
check: string;
|
|
57
|
+
display: string;
|
|
58
|
+
};
|
|
59
|
+
2: {
|
|
60
|
+
check: string;
|
|
61
|
+
display: string;
|
|
62
|
+
};
|
|
63
|
+
3: {
|
|
21
64
|
check: string;
|
|
22
65
|
display: string;
|
|
23
66
|
};
|
|
24
67
|
};
|
|
25
|
-
export declare function generateQuoteApiErrorForDisplay(err: Error): string;
|
|
68
|
+
export declare function generateQuoteApiErrorForDisplay(err: Error, t: TFunction): string;
|
package/dist/domains/asset.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
1
2
|
import type { Address } from 'viem';
|
|
2
3
|
import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
|
|
3
4
|
import { LoginType } from '~/providers/GeneralWalletProvider';
|
|
@@ -20,8 +21,9 @@ interface AssetUsableToPayParms {
|
|
|
20
21
|
loginType: LoginType;
|
|
21
22
|
isAllowedForCheckout: boolean;
|
|
22
23
|
minUsdRequired?: number;
|
|
24
|
+
t: TFunction;
|
|
23
25
|
}
|
|
24
|
-
export declare const isAssetUsableToPayForCheckout: ({ config, payerAddress, paymentMethod, targetChainId, targetTokenAddress, assetChainId, assetTokenAddress, assetUsdAmount, loginType, isAllowedForCheckout, minUsdRequired, }: AssetUsableToPayParms) => {
|
|
26
|
+
export declare const isAssetUsableToPayForCheckout: ({ config, payerAddress, paymentMethod, targetChainId, targetTokenAddress, assetChainId, assetTokenAddress, assetUsdAmount, loginType, isAllowedForCheckout, minUsdRequired, t, }: AssetUsableToPayParms) => {
|
|
25
27
|
isUsable: boolean;
|
|
26
28
|
reason: string;
|
|
27
29
|
};
|
package/dist/domains/bridge.d.ts
CHANGED
|
@@ -7,14 +7,13 @@
|
|
|
7
7
|
* https://docs.google.com/document/d/1A0GVWMIe1aLHtblMYJZfFP3C-DybMo47l4vvoxcbpcs/edit?tab=t.0
|
|
8
8
|
*/
|
|
9
9
|
import { type BaseApiRequest, type BridgeCustomer, BridgeCustomerStatus, BridgeKycStatus, type BridgeSubAccount, type BridgeVirtualBankAccount, type CreateBridgeBankAccountRequest, type FunAddress } from '@funkit/api-base';
|
|
10
|
-
import type { Address } from 'viem';
|
|
11
10
|
/** Bridge only supports a handful of chains so we need to normalize other chains to the supported chain*/
|
|
12
11
|
export declare const findBridgeSupportedChain: (chainId: string) => CreateBridgeBankAccountRequest["chainName"];
|
|
13
12
|
export interface AllFiatAccounts {
|
|
14
13
|
bridgeCustomer?: BridgeCustomer;
|
|
15
14
|
bankAccounts?: BridgeVirtualBankAccount[];
|
|
16
15
|
}
|
|
17
|
-
export declare function fetchFrogAccounts(walletAddress:
|
|
16
|
+
export declare function fetchFrogAccounts(walletAddress: string, params: BaseApiRequest): Promise<import("@funkit/api-base").SubAccount[] | null>;
|
|
18
17
|
export declare function fetchAllFiatAccounts(bridgeSubAccount: BridgeSubAccount | undefined, params: BaseApiRequest): Promise<AllFiatAccounts>;
|
|
19
18
|
export declare function getMatchingBankAccount(accounts: AllFiatAccounts, targetChain: string, targetAddress: FunAddress): BridgeVirtualBankAccount | undefined;
|
|
20
19
|
export declare const getFiatAccountLabel: (defaultLabel: string, account?: BridgeVirtualBankAccount) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DirectExecutionType } from '@funkit/api-base';
|
|
2
2
|
import type { RelayTxHash, RelayVmType } from '@funkit/fun-relay';
|
|
3
|
-
import {
|
|
3
|
+
import type { CheckoutQuoteResponse } from '@funkit/utils';
|
|
4
4
|
import type { Address, Hex } from 'viem';
|
|
5
5
|
import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
|
|
6
6
|
import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams } from '~/providers/FunkitCheckoutContext';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { PaymentMethod } from '~/domains/paymentMethods';
|
|
1
|
+
import type { PaymentMethod } from '~/domains/paymentMethods';
|
|
2
|
+
import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
|
|
3
|
+
export declare const LAYERZEO_OFT_TIME_ESTIMATE_SECONDS = 180;
|
|
2
4
|
/**
|
|
3
5
|
* https://linear.app/funxyz/issue/PE-775/sdkconnectwith-next-pm-requests
|
|
4
6
|
* @param originalTimeEstimationMs time estimation in milliseconds
|
|
@@ -6,5 +8,7 @@ import { PaymentMethod } from '~/domains/paymentMethods';
|
|
|
6
8
|
* @param bypassFlag whether to ignore flag value and return the original time estimation fallback even if flag is defined
|
|
7
9
|
* @returns time estimation in seconds
|
|
8
10
|
*/
|
|
9
|
-
export declare function useCheckoutTimeEstimate(originalTimeEstimationMs: number | undefined, paymentMethod
|
|
10
|
-
|
|
11
|
+
export declare function useCheckoutTimeEstimate(apiKey: string, checkoutItem: FunkitActiveCheckoutItem | null, originalTimeEstimationMs: number | undefined, paymentMethod: PaymentMethod, bypassFlag: boolean): {
|
|
12
|
+
estimatedTime: number;
|
|
13
|
+
estimatedTimeText: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom hook for accessing translations in Funkit components
|
|
3
|
+
* Wrapper around react-i18next's useTranslation hook
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* function MyComponent() {
|
|
8
|
+
* const { t } = useFunkitTranslation()
|
|
9
|
+
* return <button>{t('common.confirm')}</button>
|
|
10
|
+
* }
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @example With interpolation
|
|
14
|
+
* ```tsx
|
|
15
|
+
* function MyComponent() {
|
|
16
|
+
* const { t } = useFunkitTranslation()
|
|
17
|
+
* return <div>{t('checkout.minAmount', { amount: '10 USDC' })}</div>
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function useFunkitTranslation(): import("react-i18next").UseTranslationResponse<"translation", undefined>;
|
package/dist/index.css
CHANGED
|
@@ -9658,32 +9658,47 @@
|
|
|
9658
9658
|
transform: translate(calc(-100% - 18px), 100%);
|
|
9659
9659
|
}
|
|
9660
9660
|
|
|
9661
|
-
/* vanilla-extract-css-ns:src/components/FunInput/FunInput.css.ts.vanilla.css?source
|
|
9661
|
+
/* vanilla-extract-css-ns:src/components/FunInput/FunInput.css.ts.vanilla.css?source=#H4sIAAAAAAAAA82TQUsDMRCF7/sr5iJU2CxZbYukeNKf4E08TLJDDc1OltmstRX/u3Rr6UpRxFroMeHlve9NkmLdkfZTDW8ZQBLk1icf2QCGAOVE1y24znqnLK09yUgX1znoHHShpzmUl7PsPSu2HuWBB0emgeDKGLUku/BJxS6RqLbxrGyXUuQcDkWe+auoD6hR5p4N6FkGsJNi0xAKsqPD1Me0auiWu9qSPPUWqo7rn46Me5VFt5hL7LhSLoYoZtutQSFOm3AbpSLZnQaIXQqeab+x9FV6NlBqfTE7erxjY5qAjp5jqEh6wk+sF5SRUrLYYraqJRe5Qlk90GsaWkxP0WvvfjzgzRkNHiA26HxaGdDFZAj5657oNpl3m8W9b9EGqoZt8TRtv8HG/8J2Z3RJe6jjHx+d9HfQ3wE/ALoQWt+kBQAA */
|
|
9662
9662
|
[data-rk] .zue0i60 {
|
|
9663
9663
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
9664
9664
|
}
|
|
9665
|
-
[data-rk] .zue0i61
|
|
9666
|
-
|
|
9665
|
+
[data-rk] .zue0i61 {
|
|
9666
|
+
transition: none;
|
|
9667
|
+
}
|
|
9668
|
+
[data-rk] .zue0i62::-webkit-outer-spin-button,
|
|
9669
|
+
[data-rk] .zue0i62::-webkit-inner-spin-button {
|
|
9667
9670
|
margin: 0;
|
|
9668
9671
|
-webkit-appearance: none;
|
|
9669
9672
|
}
|
|
9670
|
-
[data-rk] .
|
|
9673
|
+
[data-rk] .zue0i62[type=number] {
|
|
9671
9674
|
-moz-appearance: none;
|
|
9672
9675
|
}
|
|
9673
|
-
[data-rk] .
|
|
9676
|
+
[data-rk] .zue0i64 {
|
|
9674
9677
|
background-color: transparent;
|
|
9675
9678
|
border: none;
|
|
9676
9679
|
outline: none;
|
|
9677
9680
|
width: 100%;
|
|
9678
9681
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
9679
9682
|
}
|
|
9680
|
-
[data-rk] .
|
|
9683
|
+
[data-rk] .zue0i64::-moz-placeholder {
|
|
9681
9684
|
color: var(--rk-colors-secondaryText);
|
|
9682
9685
|
}
|
|
9683
|
-
[data-rk] .
|
|
9686
|
+
[data-rk] .zue0i64::placeholder {
|
|
9684
9687
|
color: var(--rk-colors-secondaryText);
|
|
9685
9688
|
}
|
|
9686
|
-
[data-rk] .
|
|
9689
|
+
[data-rk] .zue0i66 {
|
|
9690
|
+
background-color: transparent;
|
|
9691
|
+
border: none;
|
|
9692
|
+
outline: none;
|
|
9693
|
+
width: 100%;
|
|
9694
|
+
}
|
|
9695
|
+
[data-rk] .zue0i66::-moz-placeholder {
|
|
9696
|
+
color: var(--rk-colors-secondaryText);
|
|
9697
|
+
}
|
|
9698
|
+
[data-rk] .zue0i66::placeholder {
|
|
9699
|
+
color: var(--rk-colors-secondaryText);
|
|
9700
|
+
}
|
|
9701
|
+
[data-rk] .zue0i68 {
|
|
9687
9702
|
background-color: transparent;
|
|
9688
9703
|
border: none;
|
|
9689
9704
|
outline: none;
|
|
@@ -9691,23 +9706,48 @@
|
|
|
9691
9706
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
9692
9707
|
opacity: 0.5;
|
|
9693
9708
|
}
|
|
9694
|
-
[data-rk] .
|
|
9709
|
+
[data-rk] .zue0i68::-moz-placeholder {
|
|
9695
9710
|
color: var(--rk-colors-actionColorDisabled);
|
|
9696
9711
|
}
|
|
9697
|
-
[data-rk] .
|
|
9712
|
+
[data-rk] .zue0i68::placeholder {
|
|
9698
9713
|
color: var(--rk-colors-actionColorDisabled);
|
|
9699
9714
|
}
|
|
9700
|
-
[data-rk] .
|
|
9715
|
+
[data-rk] .zue0i6a {
|
|
9716
|
+
background-color: transparent;
|
|
9717
|
+
border: none;
|
|
9718
|
+
outline: none;
|
|
9719
|
+
width: 100%;
|
|
9720
|
+
opacity: 0.5;
|
|
9721
|
+
}
|
|
9722
|
+
[data-rk] .zue0i6a::-moz-placeholder {
|
|
9723
|
+
color: var(--rk-colors-actionColorDisabled);
|
|
9724
|
+
}
|
|
9725
|
+
[data-rk] .zue0i6a::placeholder {
|
|
9726
|
+
color: var(--rk-colors-actionColorDisabled);
|
|
9727
|
+
}
|
|
9728
|
+
[data-rk] .zue0i6c {
|
|
9701
9729
|
background-color: transparent;
|
|
9702
9730
|
border: none;
|
|
9703
9731
|
outline: none;
|
|
9704
9732
|
width: 100%;
|
|
9705
9733
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
9706
9734
|
}
|
|
9707
|
-
[data-rk] .
|
|
9735
|
+
[data-rk] .zue0i6c::-moz-placeholder {
|
|
9736
|
+
color: var(--rk-colors-secondaryText);
|
|
9737
|
+
}
|
|
9738
|
+
[data-rk] .zue0i6c::placeholder {
|
|
9739
|
+
color: var(--rk-colors-secondaryText);
|
|
9740
|
+
}
|
|
9741
|
+
[data-rk] .zue0i6e {
|
|
9742
|
+
background-color: transparent;
|
|
9743
|
+
border: none;
|
|
9744
|
+
outline: none;
|
|
9745
|
+
width: 100%;
|
|
9746
|
+
}
|
|
9747
|
+
[data-rk] .zue0i6e::-moz-placeholder {
|
|
9708
9748
|
color: var(--rk-colors-secondaryText);
|
|
9709
9749
|
}
|
|
9710
|
-
[data-rk] .
|
|
9750
|
+
[data-rk] .zue0i6e::placeholder {
|
|
9711
9751
|
color: var(--rk-colors-secondaryText);
|
|
9712
9752
|
}
|
|
9713
9753
|
|
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,10 @@ export { PaymentMethod } from './domains/paymentMethods';
|
|
|
12
12
|
export { useConnectionStatus } from './hooks/useConnectionStatus';
|
|
13
13
|
export type { ConnectionStatus } from './hooks/useConnectionStatus';
|
|
14
14
|
export { useFunkitMaxCheckoutUsdInfo } from './hooks/useFunkitMaxCheckoutUsdInfo';
|
|
15
|
+
export { useFunkitTranslation } from './hooks/useFunkitTranslation';
|
|
15
16
|
export { useUpdateActiveFunkitCheckout } from './hooks/useUpdateActiveFunkitCheckout';
|
|
16
17
|
export type { Locale } from './locales/';
|
|
18
|
+
export { i18n, localeMapping } from './locales/';
|
|
17
19
|
export type { AuthenticationConfig, AuthenticationStatus, } from './providers/AuthenticationContext';
|
|
18
20
|
export { createAuthenticationAdapter, FunkitConnectAuthenticationProvider, } from './providers/AuthenticationContext';
|
|
19
21
|
export type { AuthenticationAdapter, FunkitConnectAuthenticationProviderProps, } from './providers/AuthenticationContext';
|