@hashgraph/hedera-wallet-connect 1.0.6 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,9 @@ export declare class DAppSigner implements Signer {
6
6
  readonly topic: string;
7
7
  private readonly ledgerId;
8
8
  constructor(accountId: AccountId, signClient: ISignClient, topic: string, ledgerId?: LedgerId);
9
+ private _getHederaClient;
10
+ private get _signerAccountId();
11
+ private _getRandomNodes;
9
12
  request<T>(request: {
10
13
  method: string;
11
14
  params: any;
@@ -24,6 +27,9 @@ export declare class DAppSigner implements Signer {
24
27
  checkTransaction<T extends Transaction>(transaction: T): Promise<T>;
25
28
  populateTransaction<T extends Transaction>(transaction: T): Promise<T>;
26
29
  signTransaction<T extends Transaction>(transaction: T): Promise<T>;
30
+ private _tryExecuteTransactionRequest;
31
+ private _parseQueryResponse;
32
+ private _tryExecuteQueryRequest;
27
33
  call<RequestT, ResponseT, OutputT>(request: Executable<RequestT, ResponseT, OutputT>): Promise<OutputT>;
28
34
  }
29
35
  //# sourceMappingURL=DAppSigner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DAppSigner.d.ts","sourceRoot":"","sources":["../../../../../src/lib/dapp/DAppSigner.ts"],"names":[],"mappings":"AAoBA,OAAO,EACL,MAAM,EACN,cAAc,EACd,SAAS,EACT,WAAW,EACX,UAAU,EACV,GAAG,EACH,QAAQ,EACR,eAAe,EACf,WAAW,EACX,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAIvD,qBAAa,UAAW,YAAW,MAAM;IAErC,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,UAAU;aACX,KAAK,EAAE,MAAM;IAC7B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAHR,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,WAAW,EACxB,KAAK,EAAE,MAAM,EACZ,QAAQ,GAAE,QAA2B;IAGxD,OA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AAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAMtE,eAAe,CAAC,CAAC,SAAS,WAAW,EAAE,WAAW,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;YAqB1D,6BAA6B;YAsB7B,mBAAmB;YAsBnB,uBAAuB;IAuB/B,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EACrC,OAAO,EAAE,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,GAChD,OAAO,CAAC,OAAO,CAAC;CAgCpB"}
@@ -1,5 +1,6 @@
1
- import { LedgerId } from '@hashgraph/sdk';
2
- import { SignClientTypes } from '@walletconnect/types';
1
+ import { AccountId, LedgerId } from '@hashgraph/sdk';
2
+ import { SessionTypes, SignClientTypes } from '@walletconnect/types';
3
+ import { WalletConnectModal } from '@walletconnect/modal';
3
4
  import SignClient from '@walletconnect/sign-client';
4
5
  import { GetNodeAddressesResult, ExecuteTransactionParams, ExecuteTransactionResult, SignMessageParams, SignMessageResult, SignAndExecuteQueryResult, SignAndExecuteQueryParams, SignAndExecuteTransactionParams, SignAndExecuteTransactionResult, SignTransactionParams, SignTransactionResult } from '../shared';
5
6
  import { DAppSigner } from './DAppSigner';
@@ -13,6 +14,7 @@ export declare class DAppConnector {
13
14
  supportedEvents: string[];
14
15
  supportedChains: string[];
15
16
  walletConnectClient: SignClient | undefined;
17
+ walletConnectModal: WalletConnectModal;
16
18
  signers: DAppSigner[];
17
19
  isInitializing: boolean;
18
20
  /**
@@ -32,6 +34,7 @@ export declare class DAppConnector {
32
34
  init({ logger }?: {
33
35
  logger?: BaseLogger;
34
36
  }): Promise<void>;
37
+ getSigner(accountId: AccountId): DAppSigner;
35
38
  /**
36
39
  * Initiates the WalletConnect connection flow using a QR code.
37
40
  * @param pairingTopic - The pairing topic for the connection (optional).
@@ -41,9 +44,9 @@ export declare class DAppConnector {
41
44
  /**
42
45
  * Initiates the WalletConnect connection flow using a QR code.
43
46
  * @param pairingTopic - The pairing topic for the connection (optional).
44
- * @returns A Promise that resolves when the connection process is complete.
47
+ * @returns {Promise<SessionTypes.Struct>} - A Promise that resolves when the connection process is complete.
45
48
  */
46
- openModal(pairingTopic?: string): Promise<void>;
49
+ openModal(pairingTopic?: string): Promise<SessionTypes.Struct>;
47
50
  /**
48
51
  * Initiates the WallecConnect connection flow using URI.
49
52
  * @param pairingTopic - The pairing topic for the connection (optional).
@@ -66,9 +69,6 @@ export declare class DAppConnector {
66
69
  disconnectAll(): Promise<void>;
67
70
  private createSigners;
68
71
  private onSessionConnected;
69
- private pingWithTimeout;
70
- private pingWithRetry;
71
- private checkPersistedState;
72
72
  private connectURI;
73
73
  private request;
74
74
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/dapp/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAa,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAA6B,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAIjF,OAAO,UAAU,MAAM,4BAA4B,CAAA;AAEnD,OAAO,EAKL,sBAAsB,EACtB,wBAAwB,EAExB,wBAAwB,EACxB,iBAAiB,EAEjB,iBAAiB,EAEjB,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAE/B,+BAA+B,EAC/B,qBAAqB,EAErB,qBAAqB,EACtB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,cAAc,cAAc,CAAA;AAE5B,KAAK,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;AAEzE,qBAAa,aAAa;IACxB,YAAY,EAAE,eAAe,CAAC,QAAQ,CAAA;IACtC,OAAO,EAAE,QAAQ,CAAmB;IACpC,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,EAAE,MAAM,EAAE,CAAK;IAC/B,eAAe,EAAE,MAAM,EAAE,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ACU,mBAAmB,CAAC,MAAM,EAAE,yBAAyB;IAOlE;;;;;;;;;;;;;;;;;OAiBG;IACU,yBAAyB,CAAC,MAAM,EAAE,+BAA+B;IAU9E;;;;;;;;;;;;;;;;;;;OAmBG;IACU,eAAe,CAAC,MAAM,EAAE,qBAAqB;CAM3D;AAED,eAAe,aAAa,CAAA"}
@@ -132,9 +132,21 @@ export declare function stringToSignerMessage(message: string): Uint8Array[];
132
132
  *
133
133
  * @param message - A plain text string
134
134
  * @param base64SignatureMap - A base64 encoded proto.SignatureMap object
135
+ * @param publicKey - A PublicKey object use to verify the signature
135
136
  * @returns boolean - whether or not the first signature in the sigPair is valid for the message and public key
136
137
  */
137
138
  export declare function verifyMessageSignature(message: string, base64SignatureMap: string, publicKey: PublicKey): boolean;
139
+ /**
140
+ * This implementation expects a plain text string, which is prefixed and then signed by a wallet.
141
+ * Because the spec calls for 1 message to be signed and 1 signer, this function expects a single
142
+ * signature and used the first item in the sigPair array.
143
+ *
144
+ * @param message - A plain text string
145
+ * @param signerSignature - A SignerSignature object
146
+ * @param publicKey - A PublicKey object use to verify the signature
147
+ * @returns boolean - whether or not the first signature in the sigPair is valid for the message and public key
148
+ */
149
+ export declare function verifySignerSignature(message: string, signerSignature: SignerSignature, publicKey: PublicKey): boolean;
138
150
  /**
139
151
  *
140
152
  * https://github.com/hashgraph/hedera-sdk-js/blob/c78512b1d43eedf1d8bf2926a5b7ed3368fc39d1/src/PublicKey.js#L258
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/utils.ts"],"names":[],"mappings":"AAqBA,OAAO,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,KAAK,EACL,eAAe,EAChB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAExC;;;;;GAKG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E,GAAG,EAAE,yEAAyE;IACjF,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAqBH,yBAAyB,CACpC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAaH,kBAAkB,CAC7B,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAwBH,0BAA0B,CACrC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAChB,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IA6BH,gCAAgC,CAC3C,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAgBH,sBAAsB,CACjC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;CAsBjB;AAED,eAAe,gBAAgB,CAAA"}
@@ -3,7 +3,7 @@ export default class Provider implements HederaWalletProvider {
3
3
  private client;
4
4
  constructor(client: Client);
5
5
  static fromClient(client: Client): Provider;
6
- getLedgerId(): import("@hashgraph/sdk/lib/LedgerId").default | null;
6
+ getLedgerId(): import("@hashgraph/sdk").LedgerId | null;
7
7
  getNetwork(): {
8
8
  [key: string]: string | AccountId;
9
9
  };
@@ -1,4 +1,4 @@
1
- import { AccountId, Transaction, TransactionId } from '@hashgraph/sdk';
1
+ import { AccountId, Query, Transaction, TransactionId } from '@hashgraph/sdk';
2
2
  export declare const projectId = "ce06497abf4102004138a10edd29c921";
3
3
  export declare const walletMetadata: {
4
4
  name: string;
@@ -20,13 +20,17 @@ export declare const testUserAccountId: AccountId;
20
20
  export declare const testNodeAccountId: AccountId;
21
21
  /** Fixed to a specific timestamp */
22
22
  export declare const testTransactionId: TransactionId;
23
- type Options = {
23
+ type TransactionOptions = {
24
24
  setNodeAccountIds?: boolean;
25
25
  setTransactionId?: boolean;
26
26
  freeze?: boolean;
27
27
  operatorAccountId?: number;
28
28
  };
29
- export declare function prepareTestTransaction<T extends Transaction = Transaction>(transaction: T, options?: Options): T;
29
+ export declare function prepareTestTransaction<T extends Transaction = Transaction>(transaction: T, options?: TransactionOptions): T;
30
+ type QueryOptions = {
31
+ setNodeAccountIds?: boolean;
32
+ };
33
+ export declare function prepareTestQuery<Q extends Query<OutputT>, OutputT>(query: Q, options?: QueryOptions): Q;
30
34
  export declare const testPrivateKeyECDSA = "3030020100300706052b8104000a042204203ce31ffad30d6db47c315bbea08232aad2266d8800a12aa3d8a812486e782759";
31
35
  export declare const testPrivateKeyED25519 = "302e020100300506032b657004220420133eefea772add1f995c96bccf42b08b76daf67665f0c4c5ae308fae9275c142";
32
36
  export declare function useJsonFixture(filename: string): any;
@@ -1 +1 @@
1
- {"version":3,"file":"_helpers.d.ts","sourceRoot":"","sources":["../../../test/_helpers.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEtE,eAAO,MAAM,SAAS,qCAAqC,CAAA;AAC3D,eAAO,MAAM,cAAc;;;;;CAO1B,CAAA;AACD,eAAO,MAAM,YAAY;;;;;CAOxB,CAAA;AACD,eAAO,MAAM,SAAS,IAAI,CAAA;AAC1B,eAAO,MAAM,YAAY,eAAe,CAAA;AACxC,eAAO,MAAM,oBAAoB,QAAQ,CAAA;AACzC,eAAO,MAAM,aAAa,IAAI,CAAA;AAC9B,eAAO,MAAM,iBAAiB,WAAsC,CAAA;AACpE,eAAO,MAAM,iBAAiB,WAA+B,CAAA;AAC7D,oCAAo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AAE,OAAO,CAAA;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA;AACD,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACxE,WAAW,EAAE,CAAC,EACd,OAAO,CAAC,EAAE,kBAAkB,GAC3B,CAAC,CA2BH;AAED,KAAK,YAAY,GAAG;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AACD,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAChE,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,YAAY,GACrB,CAAC,CAWH;AAGD,eAAO,MAAM,mBAAmB,yGACwE,CAAA;AAExG,eAAO,MAAM,qBAAqB,qGACkE,CAAA;AAUpG,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,OAI9C;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,QAG3D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DAppSigner.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DAppSigner.test.d.ts","sourceRoot":"","sources":["../../../../test/dapp/DAppSigner.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgraph/hedera-wallet-connect",
3
- "version": "1.0.6",
3
+ "version": "1.1.1",
4
4
  "description": "A library to facilitate integrating Hedera with WalletConnect",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,7 +28,7 @@
28
28
  "@walletconnect/sign-client": "^2.11.0",
29
29
  "@walletconnect/types": "^2.11.0",
30
30
  "concurrently": "^8.2.2",
31
- "esbuild": "^0.20.0",
31
+ "esbuild": "^0.21.2",
32
32
  "esbuild-plugin-copy": "^2.1.1",
33
33
  "eslint-plugin-tsdoc": "^0.2.17",
34
34
  "husky": "^9.0.6",
@@ -60,6 +60,7 @@
60
60
  "dev": "rimraf dist && npm run build && concurrently --raw \"npm run watch\" \"node scripts/examples/dev.mjs\"",
61
61
  "test": "jest",
62
62
  "test:connect": "jest --testMatch '**/DAppConnector.test.ts' --verbose",
63
+ "test:signer": "jest --testMatch '**/DAppSigner.test.ts' --verbose",
63
64
  "prepublishOnly": "rm -Rf dist && npm run build",
64
65
  "prepare": "husky install",
65
66
  "prettier:check": "prettier --check ./src/",