@hashgraph/hedera-wallet-connect 2.0.1-canary.d2931d9.0 → 2.0.1-canary.dc17fbd.0
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.
package/dist/lib/dapp/index.d.ts
CHANGED
@@ -11,6 +11,7 @@ export { SessionNotFoundError } from './SessionNotFoundError';
|
|
11
11
|
type BaseLogger = 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'fatal';
|
12
12
|
export declare class DAppConnector {
|
13
13
|
private logger;
|
14
|
+
readonly storagePrefix = "hedera-wc/dapp-connector/";
|
14
15
|
dAppMetadata: SignClientTypes.Metadata;
|
15
16
|
network: LedgerId;
|
16
17
|
projectId: string;
|
@@ -23,7 +24,6 @@ export declare class DAppConnector {
|
|
23
24
|
walletConnectModal: WalletConnectModal;
|
24
25
|
signers: DAppSigner[];
|
25
26
|
isInitializing: boolean;
|
26
|
-
private storagePrefix;
|
27
27
|
/**
|
28
28
|
* Initializes the DAppConnector instance.
|
29
29
|
* @param metadata - SignClientTypes.Metadata object for the DApp metadata.
|
package/dist/lib/dapp/index.js
CHANGED
@@ -39,6 +39,7 @@ export class DAppConnector {
|
|
39
39
|
* @param logLevel - Logging level for the DAppConnector (optional).
|
40
40
|
*/
|
41
41
|
constructor(metadata, network, projectId, methods, events, chains, logLevel = 'debug') {
|
42
|
+
this.storagePrefix = 'hedera-wc/dapp-connector/';
|
42
43
|
this.network = LedgerId.TESTNET;
|
43
44
|
this.supportedMethods = [];
|
44
45
|
this.supportedEvents = [];
|
@@ -47,7 +48,6 @@ export class DAppConnector {
|
|
47
48
|
this.onSessionIframeCreated = null;
|
48
49
|
this.signers = [];
|
49
50
|
this.isInitializing = false;
|
50
|
-
this.storagePrefix = 'hedera-wc/dapp-connector/';
|
51
51
|
this.abortableConnect = async (callback) => {
|
52
52
|
return new Promise(async (resolve, reject) => {
|
53
53
|
const pairTimeoutMs = 480000;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hashgraph/hedera-wallet-connect",
|
3
|
-
"version": "2.0.1-canary.
|
3
|
+
"version": "2.0.1-canary.dc17fbd.0",
|
4
4
|
"description": "A library to facilitate integrating Hedera",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -25,14 +25,14 @@
|
|
25
25
|
"build": "rimraf dist && tsc",
|
26
26
|
"watch": "nodemon --watch src/ --ext ts --exec \"npm run build\"",
|
27
27
|
"test": "jest",
|
28
|
-
"prepublishOnly": "rm -Rf dist && npm run build",
|
28
|
+
"prepublishOnly": "rm -Rf dist && npm run test && npm run build",
|
29
29
|
"prettier:check": "prettier --check ./src/",
|
30
30
|
"prettier:fix": "prettier --write ./src/"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
33
|
"@hashgraph/sdk": "^2.63.0",
|
34
|
-
"@reown/appkit": "
|
35
|
-
"@reown/walletkit": "
|
34
|
+
"@reown/appkit": "1.7.3",
|
35
|
+
"@reown/walletkit": "1.2.3",
|
36
36
|
"@walletconnect/modal": "^2.7.0",
|
37
37
|
"ethers": "^6.13.5"
|
38
38
|
},
|