@funkit/connect 6.15.5 → 6.15.7
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 +24 -0
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +2 -1
- package/dist/consts/bluvo.d.ts +1 -0
- package/dist/consts/meld.d.ts +1 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +14 -0
- package/dist/hooks/useMinDeposit.d.ts +5 -0
- package/dist/index.css +8 -0
- package/dist/index.js +415 -132
- package/dist/locales/index.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/sourceChange.css.d.ts +2 -0
- package/dist/providers/FunkitBrokerageProvider.d.ts +1 -1
- package/dist/utils/address.d.ts +2 -1
- package/dist/utils/bluvo.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +17 -17
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 6.15.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d0ab683: fix(connect): fix copy animation in buy_eng mode
|
|
8
|
+
- 0c3f602: fix(connect): fix "Buy with" label on confirmation screen
|
|
9
|
+
- 940011e: fix(connect): hide "you receive" on brokerage processing screen and redirect to destination instead of source for same assets checkouts
|
|
10
|
+
- 62753c3: fix(connect): fix MON token symbol
|
|
11
|
+
|
|
12
|
+
## 6.15.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 2090fa9: feat(connect): add meld min buffer if getMinDepositUSD is present
|
|
17
|
+
- 644a170: feat(connect): add min deposit for bluvo
|
|
18
|
+
- e1d9272: feat(connect,chains): update block explorer and enable custom paths to support lighter
|
|
19
|
+
- ffd6da0: fix(connect): prioritize dynamic target for EOA creation
|
|
20
|
+
- 29d82ce: feat(connect): add `buy_en` language with buy-centered copy
|
|
21
|
+
- aa9b43f: fix(connect): added an empty wallet state for Source Change screen
|
|
22
|
+
- Updated dependencies [e1d9272]
|
|
23
|
+
- @funkit/chains@0.4.7
|
|
24
|
+
- @funkit/core@2.3.64
|
|
25
|
+
- @funkit/wagmi-tools@3.0.87
|
|
26
|
+
|
|
3
27
|
## 6.15.5
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import type { MergedMultiStepDirectExecution } from '~/hooks/queries/useRecentDirectExecutions';
|
|
4
4
|
import type { TextConfigStatus, TextConfigSteps } from '../TransactionStatus/TransactionStatus';
|
|
5
5
|
import type { FunDirectExecutionStatusProps } from './FunDirectExecutionStatus';
|
|
6
|
-
export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExecution, isActiveCheckout, onClose, onAnimationComplete, showCheckoutStatus, customTextConfigStatus, customTextConfigSteps, dangerousCustomDelayedAutoTriggerCutoff, disableAutoUpdate, }: {
|
|
6
|
+
export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExecution, isActiveCheckout, onClose, onAnimationComplete, showCheckoutStatus, customTextConfigStatus, customTextConfigSteps, dangerousCustomDelayedAutoTriggerCutoff, disableAutoUpdate, hideYouReceive, }: {
|
|
7
7
|
bottomBarId: string;
|
|
8
8
|
directExecution: DirectExecution;
|
|
9
9
|
isActiveCheckout: boolean;
|
|
@@ -25,6 +25,7 @@ export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExe
|
|
|
25
25
|
* If you want to disable this, set this to true.
|
|
26
26
|
*/
|
|
27
27
|
disableAutoUpdate?: boolean;
|
|
28
|
+
hideYouReceive?: boolean;
|
|
28
29
|
}): React.JSX.Element;
|
|
29
30
|
export declare function DirectExecutionOrderDetailSection({ directExecution, disabled, }: {
|
|
30
31
|
directExecution: MergedMultiStepDirectExecution;
|
package/dist/consts/bluvo.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare enum BluvoExchangeStatus {
|
|
|
22
22
|
Maintenance = "maintenance",
|
|
23
23
|
ComingSoon = "coming_soon"
|
|
24
24
|
}
|
|
25
|
+
export declare const BLUVO_MIN_DEPOSIT_BY_CUSTOMER: Record<string, number>;
|
|
25
26
|
export declare const SUPPORTED_EXCHANGES: readonly [{
|
|
26
27
|
readonly exchange: BluvoExchangeType.Coinbase;
|
|
27
28
|
readonly status: BluvoExchangeStatus.Live;
|
package/dist/consts/meld.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const MELD_MIN_LIMIT_BUFFER = 5;
|
|
1
2
|
export declare const getMeldProviderIconUrl: (provider: string) => string;
|
|
2
3
|
/** Utilizes locale formatting to get currency symbol out of a currency code */
|
|
3
4
|
export declare const getCurrencySymbol: (currencyCode: string) => string;
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import { type CheckoutInitTokenTransferAddressParams, type CheckoutInitTokenTransferResponse, type FunAddress } from '@funkit/api-base';
|
|
2
|
+
import { type FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
|
|
2
3
|
interface UseCheckoutTransferInitResponse {
|
|
3
4
|
transferInit: CheckoutInitTokenTransferResponse | undefined;
|
|
4
5
|
recipientAddr: FunAddress;
|
|
5
6
|
}
|
|
6
7
|
type CheckoutTokenTransferParams = Omit<CheckoutInitTokenTransferAddressParams, 'logger' | 'clientMetadata'>;
|
|
7
8
|
export declare function checkoutTransferFetch(params: CheckoutTokenTransferParams): Promise<CheckoutInitTokenTransferResponse>;
|
|
9
|
+
export declare function getCheckoutTokenTransferParams({ checkoutConfig, userId, recipientAddr, apiKey, }: {
|
|
10
|
+
checkoutConfig: FunkitCheckoutConfig | undefined;
|
|
11
|
+
userId: string;
|
|
12
|
+
recipientAddr: FunAddress;
|
|
13
|
+
apiKey: string;
|
|
14
|
+
}): {
|
|
15
|
+
toChainId: string;
|
|
16
|
+
toTokenAddress: `0x${string}`;
|
|
17
|
+
userId: string;
|
|
18
|
+
apiKey: string;
|
|
19
|
+
recipientAddr: FunAddress;
|
|
20
|
+
actionType: string | undefined;
|
|
21
|
+
} | undefined;
|
|
8
22
|
/**
|
|
9
23
|
* creates QR code transfer EOA
|
|
10
24
|
*/
|
package/dist/index.css
CHANGED
|
@@ -10114,6 +10114,14 @@
|
|
|
10114
10114
|
var(--rk-colors-offBackground) 91.45%);
|
|
10115
10115
|
}
|
|
10116
10116
|
|
|
10117
|
+
/* vanilla-extract-css-ns:src/modals/CheckoutModal/SourceChange/sourceChange.css.ts.vanilla.css?source=Ll8xNGtmNnJiMCB7CiAgZGlzcGxheTogbm9uZTsKfQpbZGF0YS13aXRoLWVtcHR5LXN0YXRlXTplbXB0eSB+IC5fMTRrZjZyYjAgewogIGRpc3BsYXk6IGJsb2NrOwp9 */
|
|
10118
|
+
[data-rk] ._14kf6rb0 {
|
|
10119
|
+
display: none;
|
|
10120
|
+
}
|
|
10121
|
+
[data-rk] [data-with-empty-state]:empty ~ ._14kf6rb0 {
|
|
10122
|
+
display: block;
|
|
10123
|
+
}
|
|
10124
|
+
|
|
10117
10125
|
/* vanilla-extract-css-ns:src/components/CopyAddress/CopyInputDisplayedAddress.css.ts.vanilla.css?source=#H4sIAAAAAAAAA81WXavbOBB9v79iKFxIwDJyUqe97ktp90e0+7LI8jgRkSUjKfcmXe5/L5LtxLLTNN2FUgKx9TEzZ2aOj/Rxj6fasAYt/JPty28onhD+fQCgj+EB4AxTttamIdqIrVAF5PQR6OOHeLXoXiVz+HVBl2C0Yw6/LGiF2yVYziQusmVnpFvGhTsVkPnx6wNAlg/h5msbOluj6dvOUy2kQ1NAKQ9msWqPy7ND+r8S2NDHSwpkPU4i3UyzoFewbM5YXh8+zmtc9zVORplfx+kTuYWURFDvQerL835e0+zu0v0M0i92//UhHcqyDnH1wUmhkHAttSngmZkFIWbfjS1h3AmtPvvBX8KyUmIVPJfaVGhIqZ3TDZFYO2JYJQ525MJPCMK1Usjdp4NzWl2xNWK7+w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