@hashgraph/hedera-wallet-connect 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser-cjs-metafile.json +1 -1
- package/dist/browser-cjs.js +1 -1
- package/dist/browser-esm-metafile.json +1 -1
- package/dist/browser-esm.js +1 -1
- package/dist/node-cjs-metafile.json +1 -1
- package/dist/node-cjs.js +115 -115
- package/dist/node-esm-metafile.json +1 -1
- package/dist/node-esm.js +115 -115
- package/dist/types/src/lib/dapp/DAppSigner.d.ts +8 -0
- package/dist/types/src/lib/dapp/DAppSigner.d.ts.map +1 -1
- package/dist/types/src/lib/shared/utils.d.ts.map +1 -1
- package/package.json +2 -2
@@ -27,6 +27,14 @@ export declare class DAppSigner implements Signer {
|
|
27
27
|
sign(data: Uint8Array[], signOptions?: Record<string, any>): Promise<SignerSignature[]>;
|
28
28
|
checkTransaction<T extends Transaction>(transaction: T): Promise<T>;
|
29
29
|
populateTransaction<T extends Transaction>(transaction: T): Promise<T>;
|
30
|
+
/**
|
31
|
+
* Prepares a transaction object for signing using a single node account id.
|
32
|
+
* If the transaction object does not already have a node account id,
|
33
|
+
* generate a random node account id using the Hedera SDK client
|
34
|
+
*
|
35
|
+
* @param transaction - Any instance of a class that extends `Transaction`
|
36
|
+
* @returns transaction - `Transaction` object with signature
|
37
|
+
*/
|
30
38
|
signTransaction<T extends Transaction>(transaction: T): Promise<T>;
|
31
39
|
private _tryExecuteTransactionRequest;
|
32
40
|
private _parseQueryResponse;
|
@@ -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,EAWlB,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAo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H,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAQ9D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAQ/D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAGnE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAQ/D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAQhE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIpE;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,aAClB,QAAQ,WACT,MAAM,EAAE,UACT,MAAM,EAAE,KACf,aAAa,CAAC,kBAMf,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,YAC7B,YAAY,CAAC,MAAM,KAC3B;IAAE,OAAO,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,SAAS,CAAA;CAAE,EAW3C,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hashgraph/hedera-wallet-connect",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.1",
|
4
4
|
"description": "A library to facilitate integrating Hedera with WalletConnect",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"rimraf": "^5.0.5",
|
44
44
|
"ts-jest": "^29.1.2",
|
45
45
|
"ts-node": "^10.9.2",
|
46
|
-
"typedoc": "^0.
|
46
|
+
"typedoc": "^0.26.3",
|
47
47
|
"typedoc-theme-hierarchy": "^4.1.2",
|
48
48
|
"typescript": "^5.2.2"
|
49
49
|
},
|