@hashgraphonline/hashinal-wc 1.0.73 → 1.0.75
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/README.md +3 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ No installation needed. Reference the script directly in your HTML:
|
|
|
34
34
|
Install the package:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm install @
|
|
37
|
+
npm install @hashgraphonline/hashinal-wc @hashgraph/sdk @hashgraph/proto @hashgraph/hedera-wallet-connect @walletconnect/modal @walletconnect/qrcode-modal @walletconnect/utils @walletconnect/types @walletconnect/modal-core fetch-retry
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
@@ -52,7 +52,7 @@ const sdk = window.HashinalsWalletConnectSDK;
|
|
|
52
52
|
Import and use the SDK:
|
|
53
53
|
|
|
54
54
|
```javascript
|
|
55
|
-
import { HashinalsWalletConnectSDK } from '@
|
|
55
|
+
import { HashinalsWalletConnectSDK } from '@hashgraphonline/hashinal-wc';
|
|
56
56
|
const sdk = HashinalsWalletConnectSDK.getInstance();
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -78,7 +78,7 @@ await window.HashinalsWalletConnectSDK.init(projectId, metadata);
|
|
|
78
78
|
ESM Example:
|
|
79
79
|
|
|
80
80
|
```javascript
|
|
81
|
-
import { HashinalsWalletConnectSDK } from '@
|
|
81
|
+
import { HashinalsWalletConnectSDK } from '@hashgraphonline/hashinal-wc';
|
|
82
82
|
import { LedgerId } from '@hashgraph/sdk';
|
|
83
83
|
|
|
84
84
|
const sdk = HashinalsWalletConnectSDK.getInstance();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashgraphonline/hashinal-wc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
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": [
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"build:umd": "BUILD_FORMAT=umd vite build",
|
|
28
28
|
"build": "npm run clean && npm run build:umd && npm run build:es && npm run build:ts",
|
|
29
29
|
"build:ts": "tsc --emitDeclarationOnly --project tsconfig.json",
|
|
30
|
+
"prepublish": "npm run build",
|
|
30
31
|
"pub": "npm publish --access public",
|
|
31
32
|
"pub-canary": "npm publish --access public --tag canary"
|
|
32
33
|
},
|