@funkit/connect 6.14.23-next.2 → 6.15.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 CHANGED
@@ -1,46 +1,61 @@
1
1
  # @funkit/connect
2
2
 
3
- ## 6.14.23-next.2
3
+ ## 6.15.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies
8
- - @funkit/core@2.3.60-next.2
9
- - @funkit/wagmi-tools@3.0.83-next.2
10
-
11
- ## 6.14.23-next.1
7
+ - fbb43ae: feat(connect): update preferred network logic for brokerage assets
8
+ - d296585: fix(connect): fix UI bug in SEPA flow
12
9
 
13
- ### Patch Changes
10
+ ## 6.15.0
14
11
 
15
- - chore: bumping version to test
16
- - Updated dependencies
17
- - @funkit/api-base@1.12.15-next.1
18
- - @funkit/chains@0.4.4-next.1
19
- - @funkit/core@2.3.60-next.1
20
- - @funkit/wagmi-tools@3.0.83-next.1
12
+ ### Minor Changes
21
13
 
22
- ## 6.14.23-next.0
14
+ - 21fd780: refactor: remove test for specific customer for title alignment
23
15
 
24
16
  ### Patch Changes
25
17
 
18
+ - dc0899c: feat(connect): add hbhype token icon
19
+ - 2e88a52: feat: support swapped and kryptonim via meld
20
+ - d9c2d11: fix(connect): fix padding bottom when source change screen overflows
21
+ - d8801d5: chore(connect,utils): deprecate flag EnableFrogProxyServer
22
+ - 876cf20: feat: lighter chain registration
26
23
  - 3824315: support solana as target asset
27
- - ba6634c: chore: no changes, just triggering release
24
+ - 7077903: feat: add monad chain support
25
+ - dbe04ee: refactor several files for server client config
26
+ - fc213a3: feat(connect): hide chain icon for brokerage flow
27
+ - b74e323: feat(connect): update in-progress text for layerZero checkouts
28
28
  - 6420fcb: feat(connect): add hyperbeat yeild token icons
29
29
  - 54fdecc: feat(connect): only fetch checkout history as needed
30
+ - 7e7867d: add hyperedge
31
+ - 73325c8: feat(connect): migrate showinfobanner flag to statsig
30
32
  - 002ac44: feat(connect): add behype icon
33
+ - 8212f09: Refactor useTextMeasurer to use DOM element measurement instead of canvas for improved accuracy and better style support
31
34
  - 3250234: only fetch user ip info when logged in
35
+ - 6783087: chore(connect): removed bech32 dependency
36
+ - 05edce9: chore(connect): deprecate fetchSponsorInitialTransferGasLimit
37
+ - c25f91f: fix(connect): fix fallback for alignTitle config
32
38
  - af1b322: feat(connect): add fallback for wallet asset logo
39
+ - c4d12e1: feat(connect): update bluvo dependency to latest
33
40
  - c76619e: Migrate from Lerna to Turborepo for improved build performance and developer experience. This change removes automatic builds during package installation (`prepare` scripts) and introduces intelligent caching. No changes to public APIs or package functionality.
41
+ - Updated dependencies [cfe62b9]
42
+ - Updated dependencies [2e88a52]
43
+ - Updated dependencies [d8801d5]
44
+ - Updated dependencies [876cf20]
34
45
  - Updated dependencies [3824315]
35
- - Updated dependencies [ba6634c]
46
+ - Updated dependencies [7077903]
47
+ - Updated dependencies [98196b4]
48
+ - Updated dependencies [7e7867d]
49
+ - Updated dependencies [5ba2828]
36
50
  - Updated dependencies [af1b322]
51
+ - Updated dependencies [a925603]
37
52
  - Updated dependencies [c76619e]
38
- - @funkit/fun-relay@2.1.10-next.0
39
- - @funkit/api-base@1.12.15-next.0
40
- - @funkit/core@2.3.60-next.0
41
- - @funkit/chains@0.4.4-next.0
42
- - @funkit/utils@1.1.17-next.0
43
- - @funkit/wagmi-tools@3.0.83-next.0
53
+ - @funkit/api-base@1.12.15
54
+ - @funkit/utils@1.1.17
55
+ - @funkit/chains@0.4.4
56
+ - @funkit/fun-relay@2.1.10
57
+ - @funkit/core@2.3.60
58
+ - @funkit/wagmi-tools@3.0.83
44
59
 
45
60
  ## 6.14.22
46
61
 
@@ -11,6 +11,13 @@ declare const _default: {
11
11
  readonly boolean: {
12
12
  readonly value: false;
13
13
  };
14
+ readonly showinfobanner: {
15
+ readonly value: {
16
+ readonly message: "";
17
+ readonly expireAtMs: 0;
18
+ readonly type: "announcement";
19
+ };
20
+ };
14
21
  readonly showpoweredtagline: {
15
22
  readonly value: false;
16
23
  };
@@ -25,7 +25,7 @@ interface DialogProps {
25
25
  */
26
26
  export declare function Dialog({ children, onClose, onAnimationComplete, open, titleId, isHidden, isSmartCloseable, withoutSidePadding, withoutBottomPadding, withTransition, testId, }: DialogProps): React.ReactPortal | null;
27
27
  export declare namespace Dialog {
28
- var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, helpButtonUrl, isBackDisabled, onBack, className, }: DialogTitleProps) => React.JSX.Element;
28
+ var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, className, }: DialogTitleProps) => React.JSX.Element;
29
29
  var Content: ({ children, fullHeight, paddingLeft, paddingBottom, paddingTop, className, withTopDivider, withBottomDivider, id, withoutInternalPadding, ...boxProps }: DialogContentProps) => React.JSX.Element;
30
30
  var BottomSection: ({ paddingX, children, ...boxProps }: BoxProps) => React.JSX.Element;
31
31
  var BottomBar: ({ topSection, actionButtonProps, bottomSection, onClose, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element | null;
@@ -48,7 +48,6 @@ export interface DialogTitleProps {
48
48
  isCloseDisabled?: boolean;
49
49
  onClose?: () => void;
50
50
  hasBackButton?: boolean;
51
- helpButtonUrl?: string;
52
51
  isBackDisabled?: boolean;
53
52
  onBack?: () => void;
54
53
  className?: string;
@@ -1,5 +1,6 @@
1
1
  export declare const SCROLL_BAR_WIDTH = 6;
2
2
  export declare const DIALOG_BOTTOM_PADDING = "15";
3
+ export declare const bottomPaddingVariable = "--bottom-padding-value";
3
4
  /**
4
5
  * note the border defined here is taken into account in the FunCheckoutModalHeightAnimationWrapper component in the `getPermittedHeight` function
5
6
  * adjusting the border width will require adjusting the `getPermittedHeight` function
@@ -7,7 +7,8 @@ interface FunAssetItemProps {
7
7
  badgeText: string | null;
8
8
  onClick: () => void;
9
9
  testId?: string;
10
+ isChainIconHidden?: boolean;
10
11
  }
11
- export declare const FunAssetItem: ({ asset, isActive, isDisabled, badgeText, onClick, testId, }: FunAssetItemProps) => React.JSX.Element;
12
+ export declare const FunAssetItem: ({ asset, isActive, isDisabled, isChainIconHidden, badgeText, onClick, testId, }: FunAssetItemProps) => React.JSX.Element;
12
13
  export declare function FunAssetItemSkeleton(): React.JSX.Element;
13
14
  export {};
@@ -9,6 +9,7 @@ interface FunAssetAvatarProps {
9
9
  prioritizeDefaults?: boolean;
10
10
  hideIfUnknown?: boolean;
11
11
  largeChainIcon?: boolean;
12
+ isChainIconHidden?: boolean;
12
13
  }
13
- export declare function FunAssetAvatar({ assetSrc, assetTicker, assetName, assetIconSize, chainId, prioritizeDefaults, hideIfUnknown, largeChainIcon, }: FunAssetAvatarProps): React.JSX.Element | null;
14
+ export declare function FunAssetAvatar({ assetSrc, assetTicker, assetName, assetIconSize, chainId, prioritizeDefaults, hideIfUnknown, largeChainIcon, isChainIconHidden, }: FunAssetAvatarProps): React.JSX.Element | null;
14
15
  export {};
@@ -1,28 +1,29 @@
1
1
  import React, { type ReactNode } from 'react';
2
2
  import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
3
3
  interface TransactionStatusProps {
4
+ isLayerZero: boolean;
5
+ isWithdrawal: boolean;
4
6
  textConfigStatus?: TextConfigStatus;
5
7
  textConfigSteps?: TextConfigSteps;
6
8
  onOrderDelayed?: () => void;
7
9
  startTimeMs: number;
8
10
  status: 'delayed' | 'failed' | 'progress' | 'success';
9
11
  step: CheckoutProgressStep;
10
- isWithdrawal: boolean;
11
12
  }
12
- export type TextConfigStatus = Record<Exclude<TransactionStatusProps['status'], 'progress'> | 'progress_delayed', {
13
- title: string;
13
+ export type TextConfig = {
14
14
  description: ReactNode;
15
- }>;
16
- export declare const DEPOSIT_TEXT_CONFIG_STATUS: TextConfigStatus;
17
- export declare const WITHDRAWAL_TEXT_CONFIG_STATUS: TextConfigStatus;
18
- export type TextConfigSteps = Record<CheckoutProgressStep, {
19
15
  title: string;
20
- description: ReactNode;
21
- }>;
22
- export declare const DEPOSIT_TEXT_CONFIG_STEPS: TextConfigSteps;
23
- export declare const WITHDRAWAL_TEXT_CONFIG_STEPS: TextConfigSteps;
16
+ };
17
+ export type TextConfigContext = {
18
+ durationUnits: 'minutes' | 'seconds';
19
+ isWithdrawal: boolean;
20
+ };
21
+ export type TextConfigStatus = Record<Exclude<TransactionStatusProps['status'], 'progress'> | 'progress_delayed', TextConfig | ((context: TextConfigContext) => TextConfig)>;
22
+ export declare const DEFAULT_TEXT_CONFIG_STATUS: TextConfigStatus;
23
+ export type TextConfigSteps = Record<CheckoutProgressStep, TextConfig | ((context: TextConfigContext) => TextConfig)>;
24
+ export declare const DEFAULT_TEXT_CONFIG_STEPS: TextConfigSteps;
24
25
  export declare function TransactionStatusLoading({ expectedStatus, }: {
25
26
  expectedStatus: TransactionStatusProps['status'];
26
27
  }): React.JSX.Element;
27
- export declare function TransactionStatus({ status, step, isWithdrawal, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
28
+ export declare function TransactionStatus({ isLayerZero, isWithdrawal, status, step, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
28
29
  export {};
@@ -13,8 +13,9 @@ interface YouPayYouReceiveProps {
13
13
  showYouPaySection?: boolean;
14
14
  showFiatCurrencySection?: boolean;
15
15
  prioritizeDefaults?: boolean;
16
+ isYouPayChainIconHidden?: boolean;
16
17
  }
17
- export declare const YouPayYouReceive: ({ payLabel, receiveLabel, fiatCurrencyLabel, payTokenSymbol, receiveTokenSymbol, fiatCurrencySymbol, payTokenIconSrc, receiveTokenIconSrc, payTokenChainId, receiveTokenChainId, showYouPaySection, showFiatCurrencySection, prioritizeDefaults, }: YouPayYouReceiveProps) => React.JSX.Element;
18
+ export declare const YouPayYouReceive: ({ payLabel, receiveLabel, fiatCurrencyLabel, payTokenSymbol, receiveTokenSymbol, fiatCurrencySymbol, payTokenIconSrc, receiveTokenIconSrc, payTokenChainId, receiveTokenChainId, showYouPaySection, showFiatCurrencySection, prioritizeDefaults, isYouPayChainIconHidden, }: YouPayYouReceiveProps) => React.JSX.Element;
18
19
  export declare const YouPayYouReceiveBottomBarLayoutWrapper: ({ children, }: {
19
20
  children: React.ReactNode;
20
21
  }) => React.JSX.Element;
@@ -10,3 +10,5 @@ export declare function isMonkeyTiltCustomer(apiKey: string): apiKey is "2SrxurU
10
10
  export declare function isBasedCustomer(apiKey: string): apiKey is "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e";
11
11
  export declare function isHyenaCustomer(apiKey: string): apiKey is "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW";
12
12
  export declare function isAvantisCustomer(apiKey: string): apiKey is "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2";
13
+ export declare function isPerplCustomer(apiKey: string): apiKey is "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu";
14
+ export declare function isLighterxyzCustomer(apiKey: string): apiKey is "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2";
@@ -4,33 +4,28 @@
4
4
  *
5
5
  * Make sure it is SERIALIZABLE and BACKWARD COMPATIBLE!!
6
6
  */
7
- import type { ApiCheckoutClientMetadata, ApiSelectedPaymentMethodInfo } from '@funkit/utils';
7
+ import type { ApiCheckoutClientMetadata } from '@funkit/utils';
8
8
  import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
9
- import { type PaymentMethodInfo } from './paymentMethods';
10
9
  import type { FunkitCheckoutQuoteResult } from './quote';
10
+ type Serialize<T> = T extends (...args: never[]) => unknown ? DeepSerialize<ReturnType<T>> : T extends object ? DeepSerialize<T> : T;
11
+ type DeepSerialize<T> = {
12
+ [K in keyof T]: Serialize<T[K]>;
13
+ };
11
14
  /**
12
15
  * Historical Checkout Configuration stored in the server
13
16
  * This is similar to FunkitCheckoutConfig but with some fields changed to serializable types
14
17
  * */
15
- export type ServerCheckoutConfig = Omit<FunkitCheckoutConfig, 'generateActionsParams'> & {
16
- generateActionsParams?: string;
17
- };
18
+ export type ServerCheckoutConfig = DeepSerialize<FunkitCheckoutConfig>;
19
+ type HistoricalCheckoutItemKey = 'id' | 'startTimestampMs' | 'finalDollarValue' | 'latestQuote' | 'depositAddress' | 'selectedSourceAssetInfo' | 'selectedPaymentMethodInfo';
18
20
  /**
19
21
  * HistoricalCheckoutItem stored in the server
20
22
  *
21
23
  * Make sure it is SERIALIZABLE and BACKWARD COMPATIBLE!!
22
24
  **/
23
- export interface HistoricalCheckoutItem {
24
- id: FunkitActiveCheckoutItem['id'];
25
- startTimestampMs: FunkitActiveCheckoutItem['startTimestampMs'];
26
- finalDollarValue: FunkitActiveCheckoutItem['finalDollarValue'];
27
- latestQuote: FunkitActiveCheckoutItem['latestQuote'];
28
- depositAddress: FunkitActiveCheckoutItem['depositAddress'];
25
+ export interface HistoricalCheckoutItem extends Pick<FunkitActiveCheckoutItem, HistoricalCheckoutItemKey> {
29
26
  initSettings: {
30
27
  config: ServerCheckoutConfig;
31
28
  };
32
- selectedSourceAssetInfo: FunkitActiveCheckoutItem['selectedSourceAssetInfo'];
33
- selectedPaymentMethodInfo: FunkitActiveCheckoutItem['selectedPaymentMethodInfo'];
34
29
  isWithdrawal?: boolean;
35
30
  }
36
31
  /**
@@ -44,4 +39,4 @@ export declare function generateClientMetadataForBackend({ checkoutItem, latestQ
44
39
  isWithdrawal?: boolean;
45
40
  }): ApiCheckoutClientMetadata;
46
41
  export declare function generateClientMetadataForTokenTransfer(): HistoricalCheckoutItem;
47
- export declare function toApiSelectedPaymentMethodInfo(paymentMethodInfo: PaymentMethodInfo): ApiSelectedPaymentMethodInfo;
42
+ export {};
@@ -11,7 +11,7 @@ export interface FunkitCheckoutQuoteResult extends Omit<ApiFunkitCheckoutQuoteRe
11
11
  finalSpreadUsd: string;
12
12
  finalFeesBreakdown: CheckoutFees;
13
13
  }
14
- export declare function getCheckoutBaseQuote(checkoutItem: FunkitActiveCheckoutItem, userId: string, walletAddress: Address, apiKey: string, sponsorInitialTransferGasLimit: number, wagmiConfig: Config, directExecutionInfo: FunkitDirectExecutionInfo, senderAddress?: Address, isWithdrawal?: boolean): Promise<CheckoutQuoteResponse>;
14
+ export declare function getCheckoutBaseQuote(checkoutItem: FunkitActiveCheckoutItem, userId: string, walletAddress: Address, apiKey: string, wagmiConfig: Config, directExecutionInfo: FunkitDirectExecutionInfo, senderAddress?: Address, isWithdrawal?: boolean): Promise<CheckoutQuoteResponse>;
15
15
  export declare function getQuoteFinalEstimation(baseQuote: CheckoutQuoteResponse, checkoutItem: FunkitActiveCheckoutItem, newPaymentMethodInfo: PaymentMethodInfo, wagmiConfig: Config, apiKey: string, loginType: LoginType, isWithdrawal?: boolean, brokerageQuote?: BluvoBrokerageQuote): Promise<{
16
16
  finalEstimation: FunkitCheckoutQuoteResult;
17
17
  brokerage?: BrokerageDetails;
@@ -28,7 +28,6 @@ export interface CheckoutQuoteParams {
28
28
  userId: string;
29
29
  walletAddress: Address;
30
30
  apiKey: string;
31
- sponsorInitialTransferGasLimit: number;
32
31
  newPaymentMethodInfo: PaymentMethodInfo;
33
32
  wagmiConfig: Config;
34
33
  loginType: LoginType;
@@ -39,7 +38,7 @@ export interface CheckoutQuoteParams {
39
38
  senderAddress?: Address;
40
39
  isWithdrawal?: boolean;
41
40
  }
42
- export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, sponsorInitialTransferGasLimit, newPaymentMethodInfo, wagmiConfig, loginType, directExecutionInfo, senderAddress, isWithdrawal, }: CheckoutQuoteParams): Promise<{
41
+ export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, newPaymentMethodInfo, wagmiConfig, loginType, directExecutionInfo, senderAddress, isWithdrawal, }: CheckoutQuoteParams): Promise<{
43
42
  baseQuote: CheckoutQuoteResponse;
44
43
  checkedAssetAmount: CheckedAssetAmount;
45
44
  finalEstimation: FunkitCheckoutQuoteResult;
@@ -36,12 +36,7 @@ export declare const useBluvoSupportedExchanges: ({ fullInfo, iconSize, filterBy
36
36
  export declare const useBluvo: () => {
37
37
  exchangeType: BluvoExchangeType | undefined;
38
38
  bluvoClient: {
39
- listExchanges: (status?: "live" | "offline" | "maintenance" | "coming_soon") => Promise<{
40
- id: string;
41
- name: string;
42
- logoUrl: string;
43
- status: import("@bluvo/sdk-ts").StatusEnum;
44
- }[] | null>;
39
+ listExchanges: (status?: "live" | "offline" | "maintenance" | "coming_soon") => Promise<any[] | null>;
45
40
  startWithdrawalFlow: (flowOptions: import("@bluvo/sdk-ts").WithdrawalFlowOptions) => Promise<{
46
41
  machine: import("@bluvo/sdk-ts").Machine<import("@bluvo/sdk-ts").FlowState, import("@bluvo/sdk-ts").FlowActionType>;
47
42
  closeOAuthWindow: null;
@@ -57,6 +52,20 @@ export declare const useBluvo: () => {
57
52
  machine: import("@bluvo/sdk-ts").Machine<import("@bluvo/sdk-ts").FlowState, import("@bluvo/sdk-ts").FlowActionType>;
58
53
  } | null>;
59
54
  requestQuote: (options: import("@bluvo/sdk-ts").QuoteRequestOptions) => Promise<{
55
+ success: boolean;
56
+ error: string;
57
+ type?: undefined;
58
+ rawQuote?: undefined;
59
+ quoteData?: undefined;
60
+ result?: undefined;
61
+ } | {
62
+ success: boolean;
63
+ error: string;
64
+ type: import("@bluvo/sdk-ts").TypeEnum2;
65
+ rawQuote?: undefined;
66
+ quoteData?: undefined;
67
+ result?: undefined;
68
+ } | {
60
69
  rawQuote: {
61
70
  id: string;
62
71
  asset: string;
@@ -98,25 +107,110 @@ export declare const useBluvo: () => {
98
107
  };
99
108
  expiresAt: number;
100
109
  };
101
- } | undefined>;
110
+ success: boolean;
111
+ result: {
112
+ rawQuote: {
113
+ id: string;
114
+ asset: string;
115
+ amountWithFee?: number | null;
116
+ amountNoFee?: number | null;
117
+ estimatedFee?: number | null;
118
+ amountWithFeeInFiat?: number | null;
119
+ amountNoFeeInFiat?: number | null;
120
+ estimatedFeeInFiat?: number | null;
121
+ destinationAddress: string;
122
+ network?: string | null;
123
+ tag?: string | null;
124
+ estimatedTotal?: number;
125
+ feeDetails?: Array<{
126
+ category: import("@bluvo/sdk-ts").CategoryEnum;
127
+ currency: string;
128
+ amount: number;
129
+ amountInFiat: number;
130
+ fiatCurrency: string;
131
+ }>;
132
+ expiresAt: string;
133
+ additionalInfo: {
134
+ minWithdrawal: string | null;
135
+ maxWithdrawal?: string | null;
136
+ };
137
+ };
138
+ quoteData: {
139
+ id: string;
140
+ asset: string;
141
+ amount: string;
142
+ estimatedFee: string;
143
+ estimatedTotal: string;
144
+ amountWithFeeInFiat: string;
145
+ amountNoFeeInFiat: string;
146
+ estimatedFeeInFiat: string;
147
+ additionalInfo: {
148
+ minWithdrawal: string | null;
149
+ maxWithdrawal?: string | null;
150
+ };
151
+ expiresAt: number;
152
+ };
153
+ };
154
+ error?: undefined;
155
+ type?: undefined;
156
+ }>;
102
157
  executeWithdrawal: (quoteId: string) => Promise<{
103
158
  success: boolean;
159
+ error: string;
160
+ type?: undefined;
161
+ } | {
162
+ success: boolean;
163
+ error: any;
164
+ type: import("@bluvo/sdk-ts").TypeEnum2;
165
+ } | {
166
+ success: boolean;
167
+ result: {
168
+ success: boolean;
169
+ error?: string;
170
+ type?: import("@bluvo/sdk-ts").TypeEnum2;
171
+ result?: unknown;
172
+ } | null | undefined;
104
173
  error?: string;
105
174
  type?: import("@bluvo/sdk-ts").TypeEnum2;
106
- result?: unknown;
107
- } | null | undefined>;
175
+ }>;
108
176
  submit2FA: (code: string) => Promise<{
109
177
  success: boolean;
178
+ error: string;
179
+ type?: undefined;
180
+ } | {
181
+ success: boolean;
182
+ error: any;
183
+ type: import("@bluvo/sdk-ts").TypeEnum2;
184
+ } | {
185
+ success: boolean;
186
+ result: {
187
+ success: boolean;
188
+ error?: string;
189
+ type?: import("@bluvo/sdk-ts").TypeEnum2;
190
+ result?: unknown;
191
+ } | null | undefined;
110
192
  error?: string;
111
193
  type?: import("@bluvo/sdk-ts").TypeEnum2;
112
- result?: unknown;
113
- } | null | undefined>;
194
+ }>;
114
195
  retryWithdrawal: () => Promise<{
115
196
  success: boolean;
197
+ error: string;
198
+ type?: undefined;
199
+ } | {
200
+ success: boolean;
201
+ error: any;
202
+ type: import("@bluvo/sdk-ts").TypeEnum2;
203
+ } | {
204
+ success: boolean;
205
+ result: {
206
+ success: boolean;
207
+ error?: string;
208
+ type?: import("@bluvo/sdk-ts").TypeEnum2;
209
+ result?: unknown;
210
+ } | null | undefined;
116
211
  error?: string;
117
212
  type?: import("@bluvo/sdk-ts").TypeEnum2;
118
- result?: unknown;
119
- } | null | undefined>;
213
+ } | undefined>;
120
214
  cancel: () => void;
121
215
  testWithdrawalComplete: (transactionId?: string) => void;
122
216
  isIdle: boolean;
@@ -8,6 +8,7 @@ export declare function useCheckoutDirectExecutionHistory({ initDirectExecution,
8
8
  }): {
9
9
  state: CheckoutState;
10
10
  refundState: CheckoutRefundState | undefined;
11
+ isLayerZero: boolean | undefined;
11
12
  isRefunded: boolean;
12
13
  isCompleted: boolean;
13
14
  isFailed: boolean;
package/dist/index.css CHANGED
@@ -9184,8 +9184,9 @@
9184
9184
  }
9185
9185
  }
9186
9186
 
9187
- /* vanilla-extract-css-ns:src/components/Dialog/DialogContent.css.ts.vanilla.css?source=#H4sIAAAAAAAAA7WVzY6bMBDH7/sUlnpJDo4IgTQll6rP0Hs12ANYMTYyJpBWefeKj7AYstqgqifkYX7/GcYzw+7XvvhtA/+wJ3/eCMmhoRmKNLMRCf2waM6DsRbcZhHZe961bm3DOQi91uf+tht1ogzKzRerL6ioNaDKBA0tIMXtIsKpj7CkEwGWcrQg5FqUaZUIk4MVWq1n80KixbVcLWzGDdQgaSJ1/Qrp9z5CPSp7OHl9td3zBDmsR4L1SNghBXAuVEpNn793ntgkJr1pQh0dKtbW6nzuc5onI5SwAuQkHQaSbboeI5QcvKLZnueV9Mpr5squaTivhV3bt/ADxRea8CU56Dh9RdM2B20ikgnOUZ2n1ltEoLK6tZXMaCljMDStrEUTkdJCLNF9N1SsUiVaN1wU0Rrji7BtNdilix4Du6RGV4pTpqU2EbmC2VBqLv25pLnmIH+MbtuPNMcMOl0uykLCbcxjvMlj32b/IS61WZXH/Vdpw9FQA1xU5US6NYheeftaFhaNFWBuP7GxbgrxJyn82wd+rB5lbW+8GKNEphV/mj9z7ymR2F1M+6RcGGTtoowI07LKu5Z8NHI7hm4jc2fIxzXwbFtMKOyobjBFH0sXwIS9EW/nlwShRCoU1ZXbxskCAymJtwtniDt9fjjst8dgvQ/bRDtdTPJALcMFQ7gh1jPZ7zlyAe1oIioCipPNZMl9PZ6Kpl8dO/dfO/+JEnKfOvmD07PtPd/fM/SwRAN/jo4WBw2eoOECfU/4/hdIZgG6QQgAAA== */
9187
+ /* vanilla-extract-css-ns:src/components/Dialog/DialogContent.css.ts.vanilla.css?source=#H4sIAAAAAAAAA7WVQdOaMBCG7/6KzPSihziIYi1eOt+5hx567yxkkYwhYZIg2I7/vRNAPiL6VafTk8O6z+5LeHez/Lkqf9lNuF6R3zNCKE2UtaqgJTDG5YGeQFQYkxPoOaX6SE0JqYsXioH43iW9tcg3VaNe7GeEFNDQHPkhtzGJwqhsrsGaM5vHZBUEp9rF+udNFLicy2w5iIlzMPNPVh1RUqtBmgw1LeGAi1bmuMOu6zClMw6WMrTAxatoqmTGdQGWK/k6W5QCLb7K1dzmTEMNgmZC1c+QYZfD5fVk17ugO23/eYSsX0c2ryNRi1w9pDv9wX4UE5h1oRG1/dCCfu7uVhSX3HIQI1kpiHTeeo1Qsg7KZmLOXWBOuV/2FeMFDvZjX6IHFZ8w41PloOXUCbUzCW1iknPGUO7H0XNMoLLKxUyqlRAJaHqorEUdE2MhEej/159YJQ1av10c0xqTI7fuNNJj2z2B9HjQqpKMpkooPVoP7bPptsPbkLZ4VHNQ0NZl3JQCzoOO4UtuO7v9h77U5lWRdG+lNENNNTBemVFpF+Bd5cVzKixqy0Gff2BjfQnJXyT82ws+rh7nzhtP9jCYKsnu6k/975QJbD+M+6WMa0zdwoxJqkRVtJa8GtmNoW9k5q2IYR3c2xojCluqHUze9VLuQrJnEixDQxAMUi6pqnwbZxMMhCDBMrpB/OkLo37PXQfrfdhGtQ+TSe6pabtN367vda/s1wIZBzeaiJKAZGQ+WnKft7uy6VbH0r+4by9TQi7jpLBPurfFb/f4DbqeopvwFh0iHrq5g0YT9F3w5Q+1dU6YjggAAA== */
9188
9188
  [data-rk] ._1pzt4231 {
9189
+ --bottom-padding-value: var(--rk-spacing-modalPaddingBottomLower);
9189
9190
  max-height: 525px;
9190
9191
  max-width: 100vw;
9191
9192
  width: 450px;
@@ -9222,7 +9223,7 @@
9222
9223
  padding-left: 0;
9223
9224
  }
9224
9225
  [data-rk] ._1pzt4236 {
9225
- padding-bottom: 0;
9226
+ --bottom-padding-value: 0;
9226
9227
  }
9227
9228
  [data-rk] ._1pzt4238 {
9228
9229
  min-width: initial;