@hashgraphonline/hashinal-wc 1.0.7-3.canary-6 → 1.0.7-3.canary-8

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.
@@ -18,6 +18,7 @@ declare class HashinalsWalletConnectSDK {
18
18
  init(projectId: string, metadata: SignClientTypes.Metadata, network?: LedgerId): Promise<DAppConnector>;
19
19
  connect(): Promise<SessionTypes.Struct>;
20
20
  disconnect(): Promise<boolean>;
21
+ disconnectAll(): Promise<boolean>;
21
22
  executeTransaction(tx: Transaction, disableSigner?: boolean): Promise<TransactionReceipt>;
22
23
  executeTransactionWithErrorHandling(tx: Transaction, disableSigner: boolean): Promise<{
23
24
  result?: TransactionReceipt;
@@ -145,6 +145,7 @@ export type HashinalsWalletConnectSDK = {
145
145
  session: SessionTypes.Struct;
146
146
  }>;
147
147
  disconnect: () => Promise<boolean>;
148
+ disconnectAll: () => Promise<boolean>;
148
149
  disconnectWallet: () => Promise<boolean>;
149
150
  loadConnectionInfo: () => string | null;
150
151
  saveConnectionInfo: (accountId: string) => void;
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ declare class HashinalsWalletConnectSDK {
18
18
  init(projectId: string, metadata: SignClientTypes.Metadata, network?: LedgerId): Promise<DAppConnector>;
19
19
  connect(): Promise<SessionTypes.Struct>;
20
20
  disconnect(): Promise<boolean>;
21
+ disconnectAll(): Promise<boolean>;
21
22
  executeTransaction(tx: Transaction, disableSigner?: boolean): Promise<TransactionReceipt>;
22
23
  executeTransactionWithErrorHandling(tx: Transaction, disableSigner: boolean): Promise<{
23
24
  result?: TransactionReceipt;
package/dist/types.d.ts CHANGED
@@ -145,6 +145,7 @@ export type HashinalsWalletConnectSDK = {
145
145
  session: SessionTypes.Struct;
146
146
  }>;
147
147
  disconnect: () => Promise<boolean>;
148
+ disconnectAll: () => Promise<boolean>;
148
149
  disconnectWallet: () => Promise<boolean>;
149
150
  loadConnectionInfo: () => string | null;
150
151
  saveConnectionInfo: (accountId: string) => void;