@hashgraph/hedera-wallet-connect 1.3.1 → 1.3.2-0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -65,6 +65,17 @@ reference the [WalletConnect documentation](https://docs.walletconnect.com/2.0/)
65
65
  Upon successfully configuring your dApp and/or wallet to manage WalletConnect sessions, you can
66
66
  use this library’s functions to easily create and handle requests for the Hedera network.
67
67
 
68
+ ### Installation
69
+
70
+ `npm i --save @hashgraph/hedera-wallet-connect @hashgraph/sdk`
71
+
72
+ ### Example code
73
+
74
+ There is a working example written in vanilla html css and typescript.
75
+
76
+ - [dApp example code](src/examples/typescript/dapp/main.ts)
77
+ - [Wallet example code](src/examples/typescript/wallet/main.ts)
78
+
68
79
  ### DApps
69
80
 
70
81
  #### Signer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgraph/hedera-wallet-connect",
3
- "version": "1.3.1",
3
+ "version": "1.3.2-0",
4
4
  "description": "A library to facilitate integrating Hedera with WalletConnect",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,7 +48,6 @@
48
48
  "typescript": "^5.2.2"
49
49
  },
50
50
  "dependencies": {
51
- "@hashgraph/sdk": "^2.40.0",
52
51
  "@walletconnect/qrcode-modal": "^1.8.0",
53
52
  "@walletconnect/types": "^2.11.0",
54
53
  "@walletconnect/utils": "^2.11.0",
@@ -71,5 +70,8 @@
71
70
  "prettier:check": "prettier --check ./src/",
72
71
  "prettier:fix": "prettier --write ./src/",
73
72
  "test:sigMap": "jest --testMatch '**/SignatureMapHelpers.test.ts' --verbose"
73
+ },
74
+ "peerDependencies": {
75
+ "@hashgraph/sdk": "^2.40.0"
74
76
  }
75
77
  }