@hashgraphonline/hashinal-wc 1.0.7-3.canary-7 → 1.0.7-3.canary-9

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,6 +1,6 @@
1
1
  import { SessionTypes, SignClientTypes } from '@walletconnect/types';
2
2
  import { Transaction, LedgerId, TransactionReceipt, ContractFunctionParameters, PrivateKey } from '@hashgraph/sdk';
3
- import { DAppConnector } from '@hashgraphonline/hedera-wallet-connect';
3
+ import { DAppConnector } from '@hashgraph/hedera-wallet-connect';
4
4
  import { FetchMessagesResult, TokenBalance, HederaAccountResponse } from './types';
5
5
  import { ILogger } from './logger/logger';
6
6
  import * as HashgraphSDK from '@hashgraph/sdk';
@@ -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;
@@ -1 +1 @@
1
- export { base64StringToSignatureMap, prefixMessageToSign, verifyMessageSignature, } from '@hashgraphonline/hedera-wallet-connect';
1
+ export { base64StringToSignatureMap, prefixMessageToSign, verifyMessageSignature, } from '@hashgraph/hedera-wallet-connect';
@@ -1,4 +1,4 @@
1
- import { DAppConnector } from '@hashgraphonline/hedera-wallet-connect';
1
+ import { DAppConnector } from '@hashgraph/hedera-wallet-connect';
2
2
  import { ContractFunctionParameters, TransactionReceipt, PrivateKey, Transaction } from '@hashgraph/sdk';
3
3
  import { SessionTypes, SignClientTypes } from '@walletconnect/types';
4
4
  import * as hashgraph from '@hashgraph/sdk';
@@ -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
@@ -1,7 +1,7 @@
1
1
  import { SessionTypes, SignClientTypes } from '@walletconnect/types';
2
2
  import { Transaction, LedgerId, TransactionReceipt, ContractFunctionParameters, PrivateKey } from '@hashgraph/sdk';
3
3
  import * as HashgraphSDK from '@hashgraph/sdk';
4
- import { DAppConnector } from '@hashgraphonline/hedera-wallet-connect';
4
+ import { DAppConnector } from '@hashgraph/hedera-wallet-connect';
5
5
  import { FetchMessagesResult, TokenBalance, HederaAccountResponse } from './types';
6
6
  import { ILogger } from './logger/logger';
7
7
  declare class HashinalsWalletConnectSDK {
@@ -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;
@@ -1 +1 @@
1
- export { base64StringToSignatureMap, prefixMessageToSign, verifyMessageSignature, } from '@hashgraphonline/hedera-wallet-connect';
1
+ export { base64StringToSignatureMap, prefixMessageToSign, verifyMessageSignature, } from '@hashgraph/hedera-wallet-connect';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DAppConnector } from '@hashgraphonline/hedera-wallet-connect';
1
+ import { DAppConnector } from '@hashgraph/hedera-wallet-connect';
2
2
  import * as hashgraph from '@hashgraph/sdk';
3
3
  import { ContractFunctionParameters, TransactionReceipt, PrivateKey, Transaction } from '@hashgraph/sdk';
4
4
  import { SessionTypes, SignClientTypes } from '@walletconnect/types';
@@ -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;