superstack-wallet-sdk 0.4.9 → 0.4.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../../../../src/types.ts"],"sourcesContent":[null],"names":["isVersionedTransaction","transaction","Network","WalletType","SocialType"],"mappings":"AAkBM,SAAUA,EACdC,GAEA,MAAO,YAAaA,CACtB,KAeYC,EAKAC,EAKAC,GAVZ,SAAYF,GACVA,EAAA,OAAA,SACAA,EAAA,SAAA,UACD,CAHD,CAAYA,IAAAA,EAAO,CAAA,IAKnB,SAAYC,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,UACD,CAHD,CAAYA,IAAAA,EAAU,CAAA,IAKtB,SAAYC,GACVA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,IAAA,KACD,CAPD,CAAYA,IAAAA,EAAU,CAAA"}
1
+ {"version":3,"file":"types.js","sources":["../../../../src/types.ts"],"sourcesContent":[null],"names":["isVersionedTransaction","transaction","Network","WalletType","SocialType"],"mappings":"AAkBM,SAAUA,EACdC,GAEA,MAAO,YAAaA,CACtB,KAgBYC,EAKAC,EAKAC,GAVZ,SAAYF,GACVA,EAAA,OAAA,SACAA,EAAA,SAAA,UACD,CAHD,CAAYA,IAAAA,EAAO,CAAA,IAKnB,SAAYC,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,UACD,CAHD,CAAYA,IAAAA,EAAU,CAAA,IAKtB,SAAYC,GACVA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,IAAA,KACD,CAPD,CAAYA,IAAAA,EAAU,CAAA"}
@@ -116,7 +116,7 @@ export declare class WalletClient {
116
116
  client_id: string;
117
117
  }>;
118
118
  getSignChallenge(params: {
119
- method: "phantom" | "metamask" | "rabby" | "coinbase";
119
+ method: "phantom" | "metamask" | "rabby" | "coinbase" | "walletconnect";
120
120
  id: string;
121
121
  }): Promise<{
122
122
  challenge: string;
@@ -33,7 +33,7 @@ export declare function useLoginModal({ client, isOpen, onClose, onLogin, isLoad
33
33
  handleCodeSubmit: (code?: string, emailInput?: string) => Promise<void>;
34
34
  handlePhoneCodeSubmit: (code?: string, phoneInput?: string) => Promise<void>;
35
35
  handleSendPhoneVerificationCode: (phoneInput?: string) => Promise<void>;
36
- handleGetChallenge: (address: string, method?: "metamask" | "phantom" | "rabby" | "coinbase") => Promise<{
36
+ handleGetChallenge: (address: string, method?: "metamask" | "phantom" | "rabby" | "coinbase" | "walletconnect") => Promise<{
37
37
  challenge: string;
38
38
  nonce: string;
39
39
  expires_at: number;
@@ -3,7 +3,7 @@ import { WalletClient } from "./client";
3
3
  export type SupportedTransactionVersions = ReadonlySet<TransactionVersion> | null | undefined;
4
4
  export type TransactionOrVersionedTransaction<S extends SupportedTransactionVersions> = S extends null | undefined ? Transaction : Transaction | VersionedTransaction;
5
5
  export declare function isVersionedTransaction(transaction: Transaction | VersionedTransaction): transaction is VersionedTransaction;
6
- export type LoginType = "TwitterOAuth" | "GoogleOAuth" | "Phantom" | "Okx" | "Email" | "Phone" | "Telegram" | "TelegramOAuth" | "MetaMask" | "Rabby" | "Coinbase";
6
+ export type LoginType = "TwitterOAuth" | "GoogleOAuth" | "Phantom" | "Okx" | "Email" | "Phone" | "Telegram" | "TelegramOAuth" | "MetaMask" | "Rabby" | "Coinbase" | "WalletConnect";
7
7
  export declare enum Network {
8
8
  Solana = "Solana",
9
9
  Ethereum = "Ethereum"