@swype-org/react-sdk 0.2.303 → 0.2.311

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.cts CHANGED
@@ -30,6 +30,8 @@ interface TokenBalance {
30
30
  interface WalletToken {
31
31
  symbol: string;
32
32
  status: string;
33
+ /** Server-provided token logo URI from the catalog. Preferred over the local `TOKEN_LOGOS` map. */
34
+ logoURI?: string | null;
33
35
  }
34
36
  /** A token source within a wallet (e.g. USDC on a specific chain) */
35
37
  interface WalletSource {
@@ -242,6 +244,8 @@ interface SourceOption {
242
244
  status?: string;
243
245
  walletName?: string;
244
246
  walletLogoUrl?: string;
247
+ /** Server-provided token logo URI from the catalog. Preferred over the local `TOKEN_LOGOS` map. */
248
+ logoURI?: string | null;
245
249
  }
246
250
  /** User's chain+token selection for the SELECT_SOURCE action. */
247
251
  interface SourceSelection {
@@ -662,6 +666,7 @@ interface CreateManualTransferParams {
662
666
  }
663
667
  declare function createManualTransfer(apiBaseUrl: string, params: CreateManualTransferParams): Promise<ManualTransferSession>;
664
668
  declare function fetchManualTransferSession(apiBaseUrl: string, sessionId: string): Promise<ManualTransferSession>;
669
+ declare function updateManualTransferDepositTargetChain(apiBaseUrl: string, sessionId: string, selectedChainId: number): Promise<ManualTransferSession>;
665
670
  interface RefreshManualTransferQuoteResult {
666
671
  quoteValidUntil: string;
667
672
  minAmountUsd: string;
@@ -750,11 +755,12 @@ declare const api_reportPasskeyActivity: typeof reportPasskeyActivity;
750
755
  declare const api_setAuthorizationSessionPaymentIntentAmount: typeof setAuthorizationSessionPaymentIntentAmount;
751
756
  declare const api_setAuthorizationSessionProvider: typeof setAuthorizationSessionProvider;
752
757
  declare const api_signTransfer: typeof signTransfer;
758
+ declare const api_updateManualTransferDepositTargetChain: typeof updateManualTransferDepositTargetChain;
753
759
  declare const api_updateUserConfig: typeof updateUserConfig;
754
760
  declare const api_updateUserConfigBySession: typeof updateUserConfigBySession;
755
761
  declare const api_waitForActionTransactionReceipt: typeof waitForActionTransactionReceipt;
756
762
  declare namespace api {
757
- export { type api_ActionTransactionReceiptWaitResult as ActionTransactionReceiptWaitResult, type api_BridgeCall as BridgeCall, type api_CreateAccountAuthorizationSessionOptions as CreateAccountAuthorizationSessionOptions, type api_CreateAccountParams as CreateAccountParams, type api_CreateManualTransferParams as CreateManualTransferParams, type api_CreateTransferParams as CreateTransferParams, type api_FetchManualTransferSourcesParams as FetchManualTransferSourcesParams, type api_ProbeActionCompletionResult as ProbeActionCompletionResult, type api_RefreshManualTransferQuoteResult as RefreshManualTransferQuoteResult, type api_TransferQuote as TransferQuote, api_createAccount as createAccount, api_createAccountAuthorizationSession as createAccountAuthorizationSession, api_createManualTransfer as createManualTransfer, api_createTransfer as createTransfer, api_fetchAccount as fetchAccount, api_fetchAccounts as fetchAccounts, api_fetchAuthorizationSession as fetchAuthorizationSession, api_fetchAuthorizationSessionByToken as fetchAuthorizationSessionByToken, api_fetchChains as fetchChains, api_fetchManualTransferSession as fetchManualTransferSession, api_fetchManualTransferSources as fetchManualTransferSources, api_fetchMerchantPublicKey as fetchMerchantPublicKey, api_fetchProviders as fetchProviders, api_fetchTransfer as fetchTransfer, api_fetchUserConfig as fetchUserConfig, api_postTransferQuote as postTransferQuote, api_probeActionCompletion as probeActionCompletion, api_refreshManualTransferQuote as refreshManualTransferQuote, api_registerPasskey as registerPasskey, api_reportActionCompletion as reportActionCompletion, api_reportPasskeyActivity as reportPasskeyActivity, api_setAuthorizationSessionPaymentIntentAmount as setAuthorizationSessionPaymentIntentAmount, api_setAuthorizationSessionProvider as setAuthorizationSessionProvider, api_signTransfer as signTransfer, api_updateUserConfig as updateUserConfig, api_updateUserConfigBySession as updateUserConfigBySession, api_waitForActionTransactionReceipt as waitForActionTransactionReceipt };
763
+ export { type api_ActionTransactionReceiptWaitResult as ActionTransactionReceiptWaitResult, type api_BridgeCall as BridgeCall, type api_CreateAccountAuthorizationSessionOptions as CreateAccountAuthorizationSessionOptions, type api_CreateAccountParams as CreateAccountParams, type api_CreateManualTransferParams as CreateManualTransferParams, type api_CreateTransferParams as CreateTransferParams, type api_FetchManualTransferSourcesParams as FetchManualTransferSourcesParams, type api_ProbeActionCompletionResult as ProbeActionCompletionResult, type api_RefreshManualTransferQuoteResult as RefreshManualTransferQuoteResult, type api_TransferQuote as TransferQuote, api_createAccount as createAccount, api_createAccountAuthorizationSession as createAccountAuthorizationSession, api_createManualTransfer as createManualTransfer, api_createTransfer as createTransfer, api_fetchAccount as fetchAccount, api_fetchAccounts as fetchAccounts, api_fetchAuthorizationSession as fetchAuthorizationSession, api_fetchAuthorizationSessionByToken as fetchAuthorizationSessionByToken, api_fetchChains as fetchChains, api_fetchManualTransferSession as fetchManualTransferSession, api_fetchManualTransferSources as fetchManualTransferSources, api_fetchMerchantPublicKey as fetchMerchantPublicKey, api_fetchProviders as fetchProviders, api_fetchTransfer as fetchTransfer, api_fetchUserConfig as fetchUserConfig, api_postTransferQuote as postTransferQuote, api_probeActionCompletion as probeActionCompletion, api_refreshManualTransferQuote as refreshManualTransferQuote, api_registerPasskey as registerPasskey, api_reportActionCompletion as reportActionCompletion, api_reportPasskeyActivity as reportPasskeyActivity, api_setAuthorizationSessionPaymentIntentAmount as setAuthorizationSessionPaymentIntentAmount, api_setAuthorizationSessionProvider as setAuthorizationSessionProvider, api_signTransfer as signTransfer, api_updateManualTransferDepositTargetChain as updateManualTransferDepositTargetChain, api_updateUserConfig as updateUserConfig, api_updateUserConfigBySession as updateUserConfigBySession, api_waitForActionTransactionReceipt as waitForActionTransactionReceipt };
758
764
  }
759
765
 
760
766
  interface BlinkPaymentProps {
@@ -782,6 +788,7 @@ interface SelectSourceChainChoice {
782
788
  balance: number;
783
789
  walletName?: string;
784
790
  walletLogoUrl?: string;
791
+ logoURI?: string | null;
785
792
  }[];
786
793
  }
787
794
 
@@ -1965,6 +1972,8 @@ interface SetupTokenOption {
1965
1972
  chainId?: number;
1966
1973
  /** Account this token belongs to; used by multi-account pickers to group rows. */
1967
1974
  accountId?: string;
1975
+ /** Server-provided token logo URI from the catalog. Preferred over the local `TOKEN_LOGOS` map. */
1976
+ logoURI?: string | null;
1968
1977
  }
1969
1978
 
1970
1979
  interface LinkTokenEntry {
@@ -2122,6 +2131,7 @@ interface ChainChoice$1 {
2122
2131
  balance: number;
2123
2132
  walletName?: string;
2124
2133
  walletLogoUrl?: string;
2134
+ logoURI?: string | null;
2125
2135
  }[];
2126
2136
  }
2127
2137
  interface SelectSourceScreenProps {
package/dist/index.d.ts CHANGED
@@ -30,6 +30,8 @@ interface TokenBalance {
30
30
  interface WalletToken {
31
31
  symbol: string;
32
32
  status: string;
33
+ /** Server-provided token logo URI from the catalog. Preferred over the local `TOKEN_LOGOS` map. */
34
+ logoURI?: string | null;
33
35
  }
34
36
  /** A token source within a wallet (e.g. USDC on a specific chain) */
35
37
  interface WalletSource {
@@ -242,6 +244,8 @@ interface SourceOption {
242
244
  status?: string;
243
245
  walletName?: string;
244
246
  walletLogoUrl?: string;
247
+ /** Server-provided token logo URI from the catalog. Preferred over the local `TOKEN_LOGOS` map. */
248
+ logoURI?: string | null;
245
249
  }
246
250
  /** User's chain+token selection for the SELECT_SOURCE action. */
247
251
  interface SourceSelection {
@@ -662,6 +666,7 @@ interface CreateManualTransferParams {
662
666
  }
663
667
  declare function createManualTransfer(apiBaseUrl: string, params: CreateManualTransferParams): Promise<ManualTransferSession>;
664
668
  declare function fetchManualTransferSession(apiBaseUrl: string, sessionId: string): Promise<ManualTransferSession>;
669
+ declare function updateManualTransferDepositTargetChain(apiBaseUrl: string, sessionId: string, selectedChainId: number): Promise<ManualTransferSession>;
665
670
  interface RefreshManualTransferQuoteResult {
666
671
  quoteValidUntil: string;
667
672
  minAmountUsd: string;
@@ -750,11 +755,12 @@ declare const api_reportPasskeyActivity: typeof reportPasskeyActivity;
750
755
  declare const api_setAuthorizationSessionPaymentIntentAmount: typeof setAuthorizationSessionPaymentIntentAmount;
751
756
  declare const api_setAuthorizationSessionProvider: typeof setAuthorizationSessionProvider;
752
757
  declare const api_signTransfer: typeof signTransfer;
758
+ declare const api_updateManualTransferDepositTargetChain: typeof updateManualTransferDepositTargetChain;
753
759
  declare const api_updateUserConfig: typeof updateUserConfig;
754
760
  declare const api_updateUserConfigBySession: typeof updateUserConfigBySession;
755
761
  declare const api_waitForActionTransactionReceipt: typeof waitForActionTransactionReceipt;
756
762
  declare namespace api {
757
- export { type api_ActionTransactionReceiptWaitResult as ActionTransactionReceiptWaitResult, type api_BridgeCall as BridgeCall, type api_CreateAccountAuthorizationSessionOptions as CreateAccountAuthorizationSessionOptions, type api_CreateAccountParams as CreateAccountParams, type api_CreateManualTransferParams as CreateManualTransferParams, type api_CreateTransferParams as CreateTransferParams, type api_FetchManualTransferSourcesParams as FetchManualTransferSourcesParams, type api_ProbeActionCompletionResult as ProbeActionCompletionResult, type api_RefreshManualTransferQuoteResult as RefreshManualTransferQuoteResult, type api_TransferQuote as TransferQuote, api_createAccount as createAccount, api_createAccountAuthorizationSession as createAccountAuthorizationSession, api_createManualTransfer as createManualTransfer, api_createTransfer as createTransfer, api_fetchAccount as fetchAccount, api_fetchAccounts as fetchAccounts, api_fetchAuthorizationSession as fetchAuthorizationSession, api_fetchAuthorizationSessionByToken as fetchAuthorizationSessionByToken, api_fetchChains as fetchChains, api_fetchManualTransferSession as fetchManualTransferSession, api_fetchManualTransferSources as fetchManualTransferSources, api_fetchMerchantPublicKey as fetchMerchantPublicKey, api_fetchProviders as fetchProviders, api_fetchTransfer as fetchTransfer, api_fetchUserConfig as fetchUserConfig, api_postTransferQuote as postTransferQuote, api_probeActionCompletion as probeActionCompletion, api_refreshManualTransferQuote as refreshManualTransferQuote, api_registerPasskey as registerPasskey, api_reportActionCompletion as reportActionCompletion, api_reportPasskeyActivity as reportPasskeyActivity, api_setAuthorizationSessionPaymentIntentAmount as setAuthorizationSessionPaymentIntentAmount, api_setAuthorizationSessionProvider as setAuthorizationSessionProvider, api_signTransfer as signTransfer, api_updateUserConfig as updateUserConfig, api_updateUserConfigBySession as updateUserConfigBySession, api_waitForActionTransactionReceipt as waitForActionTransactionReceipt };
763
+ export { type api_ActionTransactionReceiptWaitResult as ActionTransactionReceiptWaitResult, type api_BridgeCall as BridgeCall, type api_CreateAccountAuthorizationSessionOptions as CreateAccountAuthorizationSessionOptions, type api_CreateAccountParams as CreateAccountParams, type api_CreateManualTransferParams as CreateManualTransferParams, type api_CreateTransferParams as CreateTransferParams, type api_FetchManualTransferSourcesParams as FetchManualTransferSourcesParams, type api_ProbeActionCompletionResult as ProbeActionCompletionResult, type api_RefreshManualTransferQuoteResult as RefreshManualTransferQuoteResult, type api_TransferQuote as TransferQuote, api_createAccount as createAccount, api_createAccountAuthorizationSession as createAccountAuthorizationSession, api_createManualTransfer as createManualTransfer, api_createTransfer as createTransfer, api_fetchAccount as fetchAccount, api_fetchAccounts as fetchAccounts, api_fetchAuthorizationSession as fetchAuthorizationSession, api_fetchAuthorizationSessionByToken as fetchAuthorizationSessionByToken, api_fetchChains as fetchChains, api_fetchManualTransferSession as fetchManualTransferSession, api_fetchManualTransferSources as fetchManualTransferSources, api_fetchMerchantPublicKey as fetchMerchantPublicKey, api_fetchProviders as fetchProviders, api_fetchTransfer as fetchTransfer, api_fetchUserConfig as fetchUserConfig, api_postTransferQuote as postTransferQuote, api_probeActionCompletion as probeActionCompletion, api_refreshManualTransferQuote as refreshManualTransferQuote, api_registerPasskey as registerPasskey, api_reportActionCompletion as reportActionCompletion, api_reportPasskeyActivity as reportPasskeyActivity, api_setAuthorizationSessionPaymentIntentAmount as setAuthorizationSessionPaymentIntentAmount, api_setAuthorizationSessionProvider as setAuthorizationSessionProvider, api_signTransfer as signTransfer, api_updateManualTransferDepositTargetChain as updateManualTransferDepositTargetChain, api_updateUserConfig as updateUserConfig, api_updateUserConfigBySession as updateUserConfigBySession, api_waitForActionTransactionReceipt as waitForActionTransactionReceipt };
758
764
  }
759
765
 
760
766
  interface BlinkPaymentProps {
@@ -782,6 +788,7 @@ interface SelectSourceChainChoice {
782
788
  balance: number;
783
789
  walletName?: string;
784
790
  walletLogoUrl?: string;
791
+ logoURI?: string | null;
785
792
  }[];
786
793
  }
787
794
 
@@ -1965,6 +1972,8 @@ interface SetupTokenOption {
1965
1972
  chainId?: number;
1966
1973
  /** Account this token belongs to; used by multi-account pickers to group rows. */
1967
1974
  accountId?: string;
1975
+ /** Server-provided token logo URI from the catalog. Preferred over the local `TOKEN_LOGOS` map. */
1976
+ logoURI?: string | null;
1968
1977
  }
1969
1978
 
1970
1979
  interface LinkTokenEntry {
@@ -2122,6 +2131,7 @@ interface ChainChoice$1 {
2122
2131
  balance: number;
2123
2132
  walletName?: string;
2124
2133
  walletLogoUrl?: string;
2134
+ logoURI?: string | null;
2125
2135
  }[];
2126
2136
  }
2127
2137
  interface SelectSourceScreenProps {