@funkit/connect 6.15.4 → 6.15.6

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,5 +1,34 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 6.15.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 2090fa9: feat(connect): add meld min buffer if getMinDepositUSD is present
8
+ - 644a170: feat(connect): add min deposit for bluvo
9
+ - e1d9272: feat(connect,chains): update block explorer and enable custom paths to support lighter
10
+ - ffd6da0: fix(connect): prioritize dynamic target for EOA creation
11
+ - 29d82ce: feat(connect): add `buy_en` language with buy-centered copy
12
+ - aa9b43f: fix(connect): added an empty wallet state for Source Change screen
13
+ - Updated dependencies [e1d9272]
14
+ - @funkit/chains@0.4.7
15
+ - @funkit/core@2.3.64
16
+ - @funkit/wagmi-tools@3.0.87
17
+
18
+ ## 6.15.5
19
+
20
+ ### Patch Changes
21
+
22
+ - 9bfd41f: fix(connect): memoize textConfig to fix recursive useEffect warning
23
+ - 94069cc: feat(connect, utils, api-base): add support for subaccount index on recipient addr
24
+ - c69564c: fix(connect): fix destination tx explorer link for oft checkouts
25
+ - Updated dependencies [94069cc]
26
+ - Updated dependencies [c69564c]
27
+ - @funkit/api-base@1.12.18
28
+ - @funkit/utils@1.1.19
29
+ - @funkit/core@2.3.63
30
+ - @funkit/wagmi-tools@3.0.86
31
+
3
32
  ## 6.15.4
4
33
 
5
34
  ### Patch Changes
@@ -12,7 +12,7 @@ export declare enum BluvoExchangeType {
12
12
  Gemini = "gemini",
13
13
  Kraken = "kraken"
14
14
  }
15
- type BluvoExchangeInfo = {
15
+ export type BluvoExchangeInfo = {
16
16
  icon: (size: number) => JSX.Element | null;
17
17
  name: string;
18
18
  };
@@ -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;
@@ -38,4 +39,3 @@ export declare const SUPPORTED_EXCHANGES: readonly [{
38
39
  export declare const BLUVO_EXCHANGES: Readonly<Record<BluvoExchangeType, BluvoExchangeInfo>>;
39
40
  export declare function getExchangeIcon(brokerType: BluvoExchangeType, size: number): JSX.Element | null;
40
41
  export declare function getExchangeName(brokerType: BluvoExchangeType): string;
41
- export {};
@@ -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
  */
@@ -0,0 +1,5 @@
1
+ import { PaymentMethod } from '~/domains/paymentMethods';
2
+ export declare function useMinCheckoutDeposit({ currency, paymentMethod, }: {
3
+ currency?: string;
4
+ paymentMethod?: PaymentMethod;
5
+ }): number;
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+wXjkLrwoApgUkKW08YCP5SCkxK/CTQLmq4ToAnQlG4S8JUYZf02ZE0I3yHfE8G1IhVKdiogzXL7YbbG7I7ourboCt+L2Y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