@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgraphonline/hashinal-wc",
3
- "version": "1.0.73.canary-7",
3
+ "version": "1.0.73.canary-9",
4
4
  "description": "The official Hashinal Wallet Connect SDK. A set of easy-to-use functions to interact with Hedera through Wallet Connect.",
5
5
  "type": "module",
6
6
  "files": [
@@ -31,7 +31,7 @@
31
31
  "pub-canary": "npm publish --access public --tag canary"
32
32
  },
33
33
  "dependencies": {
34
- "@hashgraphonline/hedera-wallet-connect": "1.3.6-5ba384b",
34
+ "@hashgraph/hedera-wallet-connect": "1.3.7-canary.813a6d2.0",
35
35
  "@hashgraph/proto": "^2.15.0",
36
36
  "@hashgraph/sdk": "^2.52.0",
37
37
  "@walletconnect/core": "^2.17.1",