superstack-wallet-sdk 0.4.2 → 0.4.5
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/esm/src/hooks.js +1 -1
- package/dist/esm/src/hooks.js.map +1 -1
- package/dist/esm/src/storage.js +1 -1
- package/dist/esm/src/storage.js.map +1 -1
- package/dist/esm/src/types.js.map +1 -1
- package/dist/esm/types/client.d.ts +1 -1
- package/dist/esm/types/hooks.d.ts +1 -1
- package/dist/esm/types/types.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
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";
|
|
10
|
+
type LoginType = "TwitterOAuth" | "GoogleOAuth" | "Phantom" | "Okx" | "Email" | "Phone" | "Telegram" | "TelegramOAuth" | "MetaMask" | "Rabby" | "Coinbase";
|
|
11
11
|
declare enum Network {
|
|
12
12
|
Solana = "Solana",
|
|
13
13
|
Ethereum = "Ethereum"
|
|
@@ -275,7 +275,7 @@ declare class WalletClient {
|
|
|
275
275
|
client_id: string;
|
|
276
276
|
}>;
|
|
277
277
|
getSignChallenge(params: {
|
|
278
|
-
method: "phantom" | "metamask";
|
|
278
|
+
method: "phantom" | "metamask" | "rabby" | "coinbase";
|
|
279
279
|
id: string;
|
|
280
280
|
}): Promise<{
|
|
281
281
|
challenge: string;
|
|
@@ -386,7 +386,7 @@ declare function useLoginModal({ client, isOpen, onClose, onLogin, isLoading, }:
|
|
|
386
386
|
handleCodeSubmit: (code?: string, emailInput?: string) => Promise<void>;
|
|
387
387
|
handlePhoneCodeSubmit: (code?: string, phoneInput?: string) => Promise<void>;
|
|
388
388
|
handleSendPhoneVerificationCode: (phoneInput?: string) => Promise<void>;
|
|
389
|
-
handleGetChallenge: (address: string) => Promise<{
|
|
389
|
+
handleGetChallenge: (address: string, method?: "metamask" | "phantom" | "rabby" | "coinbase") => Promise<{
|
|
390
390
|
challenge: string;
|
|
391
391
|
nonce: string;
|
|
392
392
|
expires_at: number;
|