@swype-org/react-sdk 0.1.42 → 0.1.43
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.cjs +1 -0
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4840,6 +4840,7 @@ exports.ScreenHeader = ScreenHeader;
|
|
|
4840
4840
|
exports.ScreenLayout = ScreenLayout;
|
|
4841
4841
|
exports.SelectSourceScreen = SelectSourceScreen;
|
|
4842
4842
|
exports.SettingsMenu = SettingsMenu;
|
|
4843
|
+
exports.SetupScreen = SetupScreen;
|
|
4843
4844
|
exports.Spinner = Spinner;
|
|
4844
4845
|
exports.StepList = StepList;
|
|
4845
4846
|
exports.SwypePayment = SwypePayment;
|
package/dist/index.d.cts
CHANGED
|
@@ -559,6 +559,20 @@ interface SpinnerProps {
|
|
|
559
559
|
}
|
|
560
560
|
declare function Spinner({ size, label }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
561
561
|
|
|
562
|
+
interface SetupScreenProps {
|
|
563
|
+
availableBalance: number;
|
|
564
|
+
/** Number of tokens/chains available */
|
|
565
|
+
tokenCount: number;
|
|
566
|
+
/** Source wallet/account name */
|
|
567
|
+
sourceName?: string;
|
|
568
|
+
onSetupOneTap: (limit: number) => void;
|
|
569
|
+
onBack: () => void;
|
|
570
|
+
onLogout: () => void;
|
|
571
|
+
loading?: boolean;
|
|
572
|
+
error: string | null;
|
|
573
|
+
}
|
|
574
|
+
declare function SetupScreen({ availableBalance, tokenCount, sourceName, onSetupOneTap, onBack, onLogout, loading, error, }: SetupScreenProps): react_jsx_runtime.JSX.Element;
|
|
575
|
+
|
|
562
576
|
interface ChainChoice {
|
|
563
577
|
chainName: string;
|
|
564
578
|
balance: number;
|
|
@@ -582,4 +596,4 @@ interface SelectSourceScreenProps {
|
|
|
582
596
|
}
|
|
583
597
|
declare function SelectSourceScreen({ choices, selectedChainName, selectedTokenSymbol, recommended, onChainChange, onTokenChange, onConfirm, onLogout, }: SelectSourceScreenProps): react_jsx_runtime.JSX.Element;
|
|
584
598
|
|
|
585
|
-
export { type Account, type ActionExecutionResult, type AdvancedSettings, type Amount, type AuthorizationAction, type AuthorizationSession, type AuthorizationSessionDetail, type Chain, type Destination, type ErrorResponse, IconCircle, type ListResponse, type MerchantAuthorization, type MerchantPublicKey, OutlineButton, type PaymentStep, PoweredByFooter, PrimaryButton, type Provider, ScreenHeader, ScreenLayout, SelectSourceScreen, SettingsMenu, type SourceOption, type SourceSelection, type SourceType, Spinner, type StepItem, StepList, SwypePayment, type SwypePaymentProps, SwypeProvider, type SwypeProviderProps, type ThemeMode, type ThemeTokens, type TokenBalance, type Transfer, type TransferDestination, type UserConfig, type Wallet, type WalletSource, type WalletToken, createPasskeyCredential, darkTheme, deviceHasPasskey, findDevicePasskey, getTheme, lightTheme, api as swypeApi, useAuthorizationExecutor, useSwypeConfig, useSwypeDepositAmount, useTransferPolling, useTransferSigning };
|
|
599
|
+
export { type Account, type ActionExecutionResult, type AdvancedSettings, type Amount, type AuthorizationAction, type AuthorizationSession, type AuthorizationSessionDetail, type Chain, type Destination, type ErrorResponse, IconCircle, type ListResponse, type MerchantAuthorization, type MerchantPublicKey, OutlineButton, type PaymentStep, PoweredByFooter, PrimaryButton, type Provider, ScreenHeader, ScreenLayout, SelectSourceScreen, SettingsMenu, SetupScreen, type SourceOption, type SourceSelection, type SourceType, Spinner, type StepItem, StepList, SwypePayment, type SwypePaymentProps, SwypeProvider, type SwypeProviderProps, type ThemeMode, type ThemeTokens, type TokenBalance, type Transfer, type TransferDestination, type UserConfig, type Wallet, type WalletSource, type WalletToken, createPasskeyCredential, darkTheme, deviceHasPasskey, findDevicePasskey, getTheme, lightTheme, api as swypeApi, useAuthorizationExecutor, useSwypeConfig, useSwypeDepositAmount, useTransferPolling, useTransferSigning };
|
package/dist/index.d.ts
CHANGED
|
@@ -559,6 +559,20 @@ interface SpinnerProps {
|
|
|
559
559
|
}
|
|
560
560
|
declare function Spinner({ size, label }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
561
561
|
|
|
562
|
+
interface SetupScreenProps {
|
|
563
|
+
availableBalance: number;
|
|
564
|
+
/** Number of tokens/chains available */
|
|
565
|
+
tokenCount: number;
|
|
566
|
+
/** Source wallet/account name */
|
|
567
|
+
sourceName?: string;
|
|
568
|
+
onSetupOneTap: (limit: number) => void;
|
|
569
|
+
onBack: () => void;
|
|
570
|
+
onLogout: () => void;
|
|
571
|
+
loading?: boolean;
|
|
572
|
+
error: string | null;
|
|
573
|
+
}
|
|
574
|
+
declare function SetupScreen({ availableBalance, tokenCount, sourceName, onSetupOneTap, onBack, onLogout, loading, error, }: SetupScreenProps): react_jsx_runtime.JSX.Element;
|
|
575
|
+
|
|
562
576
|
interface ChainChoice {
|
|
563
577
|
chainName: string;
|
|
564
578
|
balance: number;
|
|
@@ -582,4 +596,4 @@ interface SelectSourceScreenProps {
|
|
|
582
596
|
}
|
|
583
597
|
declare function SelectSourceScreen({ choices, selectedChainName, selectedTokenSymbol, recommended, onChainChange, onTokenChange, onConfirm, onLogout, }: SelectSourceScreenProps): react_jsx_runtime.JSX.Element;
|
|
584
598
|
|
|
585
|
-
export { type Account, type ActionExecutionResult, type AdvancedSettings, type Amount, type AuthorizationAction, type AuthorizationSession, type AuthorizationSessionDetail, type Chain, type Destination, type ErrorResponse, IconCircle, type ListResponse, type MerchantAuthorization, type MerchantPublicKey, OutlineButton, type PaymentStep, PoweredByFooter, PrimaryButton, type Provider, ScreenHeader, ScreenLayout, SelectSourceScreen, SettingsMenu, type SourceOption, type SourceSelection, type SourceType, Spinner, type StepItem, StepList, SwypePayment, type SwypePaymentProps, SwypeProvider, type SwypeProviderProps, type ThemeMode, type ThemeTokens, type TokenBalance, type Transfer, type TransferDestination, type UserConfig, type Wallet, type WalletSource, type WalletToken, createPasskeyCredential, darkTheme, deviceHasPasskey, findDevicePasskey, getTheme, lightTheme, api as swypeApi, useAuthorizationExecutor, useSwypeConfig, useSwypeDepositAmount, useTransferPolling, useTransferSigning };
|
|
599
|
+
export { type Account, type ActionExecutionResult, type AdvancedSettings, type Amount, type AuthorizationAction, type AuthorizationSession, type AuthorizationSessionDetail, type Chain, type Destination, type ErrorResponse, IconCircle, type ListResponse, type MerchantAuthorization, type MerchantPublicKey, OutlineButton, type PaymentStep, PoweredByFooter, PrimaryButton, type Provider, ScreenHeader, ScreenLayout, SelectSourceScreen, SettingsMenu, SetupScreen, type SourceOption, type SourceSelection, type SourceType, Spinner, type StepItem, StepList, SwypePayment, type SwypePaymentProps, SwypeProvider, type SwypeProviderProps, type ThemeMode, type ThemeTokens, type TokenBalance, type Transfer, type TransferDestination, type UserConfig, type Wallet, type WalletSource, type WalletToken, createPasskeyCredential, darkTheme, deviceHasPasskey, findDevicePasskey, getTheme, lightTheme, api as swypeApi, useAuthorizationExecutor, useSwypeConfig, useSwypeDepositAmount, useTransferPolling, useTransferSigning };
|
package/dist/index.js
CHANGED
|
@@ -4829,6 +4829,6 @@ function SwypePayment({
|
|
|
4829
4829
|
return null;
|
|
4830
4830
|
}
|
|
4831
4831
|
|
|
4832
|
-
export { IconCircle, OutlineButton, PoweredByFooter, PrimaryButton, ScreenHeader, ScreenLayout, SelectSourceScreen, SettingsMenu, Spinner, StepList, SwypePayment, SwypeProvider, createPasskeyCredential, darkTheme, deviceHasPasskey, findDevicePasskey, getTheme, lightTheme, api_exports as swypeApi, useAuthorizationExecutor, useSwypeConfig, useSwypeDepositAmount, useTransferPolling, useTransferSigning };
|
|
4832
|
+
export { IconCircle, OutlineButton, PoweredByFooter, PrimaryButton, ScreenHeader, ScreenLayout, SelectSourceScreen, SettingsMenu, SetupScreen, Spinner, StepList, SwypePayment, SwypeProvider, createPasskeyCredential, darkTheme, deviceHasPasskey, findDevicePasskey, getTheme, lightTheme, api_exports as swypeApi, useAuthorizationExecutor, useSwypeConfig, useSwypeDepositAmount, useTransferPolling, useTransferSigning };
|
|
4833
4833
|
//# sourceMappingURL=index.js.map
|
|
4834
4834
|
//# sourceMappingURL=index.js.map
|