@txnlab/use-wallet 3.7.1 → 3.8.0
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 +520 -489
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +520 -489
- package/dist/index.js.map +1 -1
- package/package.json +14 -14
package/dist/index.d.cts
CHANGED
|
@@ -339,6 +339,7 @@ declare class MnemonicWallet extends BaseWallet {
|
|
|
339
339
|
};
|
|
340
340
|
private loadMnemonicFromStorage;
|
|
341
341
|
private saveMnemonicToStorage;
|
|
342
|
+
private removeMnemonicFromStorage;
|
|
342
343
|
private checkMainnet;
|
|
343
344
|
private initializeAccount;
|
|
344
345
|
connect: () => Promise<WalletAccount[]>;
|
|
@@ -416,7 +417,6 @@ declare class WalletConnect extends BaseWallet {
|
|
|
416
417
|
private modal;
|
|
417
418
|
private modalOptions;
|
|
418
419
|
private session;
|
|
419
|
-
private chains;
|
|
420
420
|
protected store: Store<State>;
|
|
421
421
|
constructor({ id, store, subscribe, getAlgodClient, options, metadata }: WalletConstructor<WalletId.WALLETCONNECT>);
|
|
422
422
|
static defaultMetadata: {
|
|
@@ -432,6 +432,7 @@ declare class WalletConnect extends BaseWallet {
|
|
|
432
432
|
private initializeClient;
|
|
433
433
|
private initializeModal;
|
|
434
434
|
private onSessionConnected;
|
|
435
|
+
get activeChainId(): string;
|
|
435
436
|
connect: () => Promise<WalletAccount[]>;
|
|
436
437
|
disconnect: () => Promise<void>;
|
|
437
438
|
resumeSession: () => Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -339,6 +339,7 @@ declare class MnemonicWallet extends BaseWallet {
|
|
|
339
339
|
};
|
|
340
340
|
private loadMnemonicFromStorage;
|
|
341
341
|
private saveMnemonicToStorage;
|
|
342
|
+
private removeMnemonicFromStorage;
|
|
342
343
|
private checkMainnet;
|
|
343
344
|
private initializeAccount;
|
|
344
345
|
connect: () => Promise<WalletAccount[]>;
|
|
@@ -416,7 +417,6 @@ declare class WalletConnect extends BaseWallet {
|
|
|
416
417
|
private modal;
|
|
417
418
|
private modalOptions;
|
|
418
419
|
private session;
|
|
419
|
-
private chains;
|
|
420
420
|
protected store: Store<State>;
|
|
421
421
|
constructor({ id, store, subscribe, getAlgodClient, options, metadata }: WalletConstructor<WalletId.WALLETCONNECT>);
|
|
422
422
|
static defaultMetadata: {
|
|
@@ -432,6 +432,7 @@ declare class WalletConnect extends BaseWallet {
|
|
|
432
432
|
private initializeClient;
|
|
433
433
|
private initializeModal;
|
|
434
434
|
private onSessionConnected;
|
|
435
|
+
get activeChainId(): string;
|
|
435
436
|
connect: () => Promise<WalletAccount[]>;
|
|
436
437
|
disconnect: () => Promise<void>;
|
|
437
438
|
resumeSession: () => Promise<void>;
|