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.
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import react__default, { ReactNode } from 'react';
7
7
  type SupportedTransactionVersions = ReadonlySet<TransactionVersion> | null | undefined;
8
8
  type TransactionOrVersionedTransaction<S extends SupportedTransactionVersions> = S extends null | undefined ? Transaction : Transaction | VersionedTransaction;
9
9
  declare function isVersionedTransaction(transaction: Transaction | VersionedTransaction): transaction is VersionedTransaction;
10
- type LoginType = "TwitterOAuth" | "GoogleOAuth" | "Phantom" | "Okx" | "Email" | "Phone" | "Telegram" | "TelegramOAuth" | "MetaMask" | "Rabby" | "Coinbase";
10
+ type LoginType = "TwitterOAuth" | "GoogleOAuth" | "Phantom" | "Okx" | "Email" | "Phone" | "Telegram" | "TelegramOAuth" | "MetaMask" | "Rabby" | "Coinbase" | "WalletConnect";
11
11
  declare enum Network {
12
12
  Solana = "Solana",
13
13
  Ethereum = "Ethereum"
@@ -289,7 +289,7 @@ declare class WalletClient {
289
289
  client_id: string;
290
290
  }>;
291
291
  getSignChallenge(params: {
292
- method: "phantom" | "metamask" | "rabby" | "coinbase";
292
+ method: "phantom" | "metamask" | "rabby" | "coinbase" | "walletconnect";
293
293
  id: string;
294
294
  }): Promise<{
295
295
  challenge: string;
@@ -426,7 +426,7 @@ declare function useLoginModal({ client, isOpen, onClose, onLogin, isLoading, }:
426
426
  handleCodeSubmit: (code?: string, emailInput?: string) => Promise<void>;
427
427
  handlePhoneCodeSubmit: (code?: string, phoneInput?: string) => Promise<void>;
428
428
  handleSendPhoneVerificationCode: (phoneInput?: string) => Promise<void>;
429
- handleGetChallenge: (address: string, method?: "metamask" | "phantom" | "rabby" | "coinbase") => Promise<{
429
+ handleGetChallenge: (address: string, method?: "metamask" | "phantom" | "rabby" | "coinbase" | "walletconnect") => Promise<{
430
430
  challenge: string;
431
431
  nonce: string;
432
432
  expires_at: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superstack-wallet-sdk",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "A wallet SDK for superstack",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",