@funkit/connect 5.4.0 → 5.4.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 +18 -0
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +4 -0
- package/dist/hooks/queries/useClientId.d.ts +3 -0
- package/dist/hooks/queries/useRecentCheckouts.d.ts +1 -0
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +4 -4
- package/dist/hooks/useDirectExecutionInfoPolling.d.ts +4 -4
- package/dist/hooks/usePaymentSources.d.ts +2 -2
- package/dist/index.js +445 -154
- package/dist/modals/CheckoutModal/TransferToken/DirectExecutionNotification.d.ts +10 -0
- package/dist/providers/FunkitConfigContext.d.ts +2 -0
- package/dist/utils/customer.d.ts +6 -0
- package/dist/utils/directExecution.d.ts +4 -0
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +3 -1
- 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/chunk-25VW5TZP.js +92 -0
- package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +92 -0
- package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +94 -0
- package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +103 -0
- package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +69 -0
- package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +110 -0
- package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +99 -0
- package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +100 -0
- package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +93 -0
- package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +96 -0
- package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +106 -0
- package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +95 -0
- package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +96 -0
- package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +87 -0
- package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +70 -0
- package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +146 -0
- package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +98 -0
- package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +66 -0
- 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 +62 -62
- 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 +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 5.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e38e65b: feat(connect): katana - add FunPoweredTagline to every screen and Receive Token info to Transfer Token screen
|
|
8
|
+
- 7395597: refactor: better de loading state
|
|
9
|
+
- 8292deb: feat: fetching organization / client id
|
|
10
|
+
- c816681: feat: expose additionActions and updatedTimeMs to PurifiedCheckoutHistoryItem
|
|
11
|
+
- 3bb9542: feat(connect): add the option to show the total receive amount in USD below the token amount to FunkitUiCustomizationsConfig
|
|
12
|
+
- 1cf728e: feat(connect): add direct execution notifications to Transfer Crypto page
|
|
13
|
+
- Updated dependencies [0557854]
|
|
14
|
+
- Updated dependencies [8292deb]
|
|
15
|
+
- Updated dependencies [cbea7ca]
|
|
16
|
+
- @funkit/fun-relay@0.1.4
|
|
17
|
+
- @funkit/api-base@1.8.4
|
|
18
|
+
- @funkit/core@2.3.21
|
|
19
|
+
- @funkit/wagmi-tools@3.0.43
|
|
20
|
+
|
|
3
21
|
## 5.4.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -8,3 +8,7 @@ export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExe
|
|
|
8
8
|
isNewDeposit?: boolean;
|
|
9
9
|
}) => void;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
|
+
export declare function DirectExecutionOrderDetailSection({ directExecution, showRelayLink, }: {
|
|
12
|
+
directExecution: DirectExecution;
|
|
13
|
+
showRelayLink: boolean;
|
|
14
|
+
}): React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { CheckoutRefundState, CheckoutState, RelayExecutionStatus } from '@funkit/api-base';
|
|
2
|
-
import type { Hex } from 'viem';
|
|
1
|
+
import { CheckoutRefundState, CheckoutState, type DirectExecution, RelayExecutionStatus } from '@funkit/api-base';
|
|
3
2
|
export declare function mapRelayExecutionStatusToCheckoutState(status: RelayExecutionStatus): CheckoutState;
|
|
4
|
-
export declare function useCheckoutDirectExecutionHistory({
|
|
5
|
-
|
|
3
|
+
export declare function useCheckoutDirectExecutionHistory({ initDirectExecution, }: {
|
|
4
|
+
initDirectExecution?: DirectExecution;
|
|
6
5
|
}): {
|
|
7
6
|
state: CheckoutState;
|
|
8
7
|
refundState: CheckoutRefundState | undefined;
|
|
@@ -10,4 +9,5 @@ export declare function useCheckoutDirectExecutionHistory({ txHash, }: {
|
|
|
10
9
|
isCompleted: boolean;
|
|
11
10
|
isFailed: boolean;
|
|
12
11
|
isDelayed: boolean;
|
|
12
|
+
isProcessing: boolean;
|
|
13
13
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare function useDirectExecutionInfoPolling({
|
|
3
|
-
|
|
1
|
+
import { type DirectExecution } from '@funkit/api-base';
|
|
2
|
+
export declare function useDirectExecutionInfoPolling({ initDirectExecution, }: {
|
|
3
|
+
initDirectExecution: DirectExecution | undefined;
|
|
4
4
|
}): {
|
|
5
|
-
directExecution:
|
|
5
|
+
directExecution: DirectExecution | undefined;
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ConnectablePaymentMethodInfo, PaymentMethod } from '~/domains/paymentMethods';
|
|
2
|
-
|
|
2
|
+
import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
|
|
3
|
+
export declare const usePaymentSources: (paymentMethodInfo: ConnectablePaymentMethodInfo | null, targetChainId: string, checkoutConfig?: FunkitCheckoutConfig) => {
|
|
3
4
|
preferred: (import("~/domains/paymentMethods").PaymentMethodBrokerageInfo | import("~/domains/paymentMethods").PaymentMethodAccountInfo | import("~/domains/paymentMethods").PaymentMethodVirtualBankInfo)[] | PaymentMethod[];
|
|
4
5
|
moreSources: PaymentMethod[];
|
|
5
6
|
};
|
|
6
|
-
export declare const useRemainingPaymentSourcesCount: (targetChainId: string) => number;
|