@unifold/connect-react-native 0.1.48 → 0.1.49

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/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import React$1, { ReactNode } from 'react';
3
2
  export { AmountScreen, CreateSessionParams, CustomerVerification, KYCData, KYCWizardScreen, OnrampConfig, OnrampCustomer, OnrampError, OnrampErrorCode, OnrampScreen, OnrampSession, OnrampSessionTransactionDetails, OnrampStep, OnrampTransaction, StripeOnramp, StripeOnrampHook, StripeOnrampPreconfigure, StripeOnrampProps, getStripePublishableKey, setStripeOnrampApiUrl, setStripeOnrampPublishableKey, useStripeOnramp } from '@unifold/ui-react-native/stripe';
4
3
 
@@ -335,7 +334,7 @@ interface BottomSheetProps {
335
334
  * Use this for sheets that must appear on top of an already-open Modal (iOS limitation). */
336
335
  useModal?: boolean;
337
336
  }
338
- declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, marginHorizontal: marginH, marginBottom: marginBottomProp, overlay, useModal: useModalProp, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
337
+ declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, marginHorizontal: marginH, marginBottom: marginBottomProp, overlay, useModal: useModalProp, }: BottomSheetProps): React$1.JSX.Element | null;
339
338
 
340
339
  /** Controls which transfer crypto input variant is rendered */
341
340
  type TransferInputVariant = "single_input" | "double_input" | "compact";
@@ -739,7 +738,7 @@ interface UnifoldProviderProps {
739
738
  publishableKey: string;
740
739
  config?: UnifoldConnectProviderConfig["config"];
741
740
  }
742
- declare function UnifoldProvider({ children, publishableKey, config, }: UnifoldProviderProps): react_jsx_runtime.JSX.Element;
741
+ declare function UnifoldProvider({ children, publishableKey, config, }: UnifoldProviderProps): React$1.JSX.Element;
743
742
  declare function useUnifold(): ConnectContextValue;
744
743
 
745
744
  export { type AllowedCountryResult, type BorderRadiusConfig, BottomSheet, type ComponentConfig, type CustomThemeColors, type DepositConfig, type DepositError, type DepositInitialScreen, type DepositResult, type DestinationToken, type DestinationTokenChain, type FontConfig, type ThemeColors, type ThemeConfig, type ThemeMode, type ThemeProviderConfig, type TransferInputVariant, type UnifoldConnectProviderConfig, UnifoldProvider, type UnifoldProviderProps, type WithdrawConfig, type WithdrawError, type WithdrawResult, type WithdrawTransactionInfo, getPreferredIcon, getSupportedDestinationTokens, normalizeIconUrl, registerStripeOnramp, setDevApiUrl, useAllowedCountry, useTheme, useUnifold };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import React$1, { ReactNode } from 'react';
3
2
  export { AmountScreen, CreateSessionParams, CustomerVerification, KYCData, KYCWizardScreen, OnrampConfig, OnrampCustomer, OnrampError, OnrampErrorCode, OnrampScreen, OnrampSession, OnrampSessionTransactionDetails, OnrampStep, OnrampTransaction, StripeOnramp, StripeOnrampHook, StripeOnrampPreconfigure, StripeOnrampProps, getStripePublishableKey, setStripeOnrampApiUrl, setStripeOnrampPublishableKey, useStripeOnramp } from '@unifold/ui-react-native/stripe';
4
3
 
@@ -335,7 +334,7 @@ interface BottomSheetProps {
335
334
  * Use this for sheets that must appear on top of an already-open Modal (iOS limitation). */
336
335
  useModal?: boolean;
337
336
  }
338
- declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, marginHorizontal: marginH, marginBottom: marginBottomProp, overlay, useModal: useModalProp, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
337
+ declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, marginHorizontal: marginH, marginBottom: marginBottomProp, overlay, useModal: useModalProp, }: BottomSheetProps): React$1.JSX.Element | null;
339
338
 
340
339
  /** Controls which transfer crypto input variant is rendered */
341
340
  type TransferInputVariant = "single_input" | "double_input" | "compact";
@@ -739,7 +738,7 @@ interface UnifoldProviderProps {
739
738
  publishableKey: string;
740
739
  config?: UnifoldConnectProviderConfig["config"];
741
740
  }
742
- declare function UnifoldProvider({ children, publishableKey, config, }: UnifoldProviderProps): react_jsx_runtime.JSX.Element;
741
+ declare function UnifoldProvider({ children, publishableKey, config, }: UnifoldProviderProps): React$1.JSX.Element;
743
742
  declare function useUnifold(): ConnectContextValue;
744
743
 
745
744
  export { type AllowedCountryResult, type BorderRadiusConfig, BottomSheet, type ComponentConfig, type CustomThemeColors, type DepositConfig, type DepositError, type DepositInitialScreen, type DepositResult, type DestinationToken, type DestinationTokenChain, type FontConfig, type ThemeColors, type ThemeConfig, type ThemeMode, type ThemeProviderConfig, type TransferInputVariant, type UnifoldConnectProviderConfig, UnifoldProvider, type UnifoldProviderProps, type WithdrawConfig, type WithdrawError, type WithdrawResult, type WithdrawTransactionInfo, getPreferredIcon, getSupportedDestinationTokens, normalizeIconUrl, registerStripeOnramp, setDevApiUrl, useAllowedCountry, useTheme, useUnifold };