@gvnrdao/dh-sdk 0.0.126 → 0.0.129

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gvnrdao/dh-sdk",
3
- "version": "0.0.126",
3
+ "version": "0.0.129",
4
4
  "description": "TypeScript SDK for Diamond Hands Protocol - Bitcoin-backed lending with LIT Protocol PKPs",
5
5
  "main": "dist/index.cjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,13 +19,13 @@
19
19
  "README.md"
20
20
  ],
21
21
  "scripts": {
22
- "build": "npm run sync:deployments && npm run build:node",
23
- "build:node": "npm run sync:deployments && tsup src/index.ts --format esm,cjs --out-dir dist --clean",
22
+ "build": "npm run sync:deployments && npm run validate:contracts && npm run build:node && npm run build:browser",
23
+ "build:node": "npm run sync:deployments && tsup src/index.ts --format esm,cjs --dts --out-dir dist --clean",
24
24
  "build:browser": "cd browser && npm install && npm run build",
25
25
  "sync:deployments": "node scripts/sync-deployments.js",
26
26
  "validate:contracts": "node scripts/validate-contract-mapping.js",
27
27
  "dev": "tsc --watch",
28
- "prepublishOnly": "npm run clean && npm run sync:deployments && npm run build",
28
+ "prepublishOnly": "npm run clean && npm run sync:deployments && npm run validate:contracts && npm run build",
29
29
  "test": "jest",
30
30
  "test:unit": "jest test/unit",
31
31
  "test:integration": "jest test/integration",
@@ -49,11 +49,13 @@
49
49
  "author": "Diamond Hands Protocol",
50
50
  "license": "MIT",
51
51
  "dependencies": {
52
- "@gvnrdao/dh-lit-actions": "^0.0.81",
53
- "@gvnrdao/dh-lit-ops": "^0.0.73",
52
+ "@gvnrdao/dh-lit-actions": "0.0.82",
53
+ "@gvnrdao/dh-lit-ops": "0.0.76",
54
54
  "@lit-protocol/lit-node-client": "^7.3.1",
55
55
  "@noble/hashes": "^1.5.0",
56
56
  "axios": "^1.5.0",
57
+ "bech32": "^2.0.0",
58
+ "bip66": "^2.0.0",
57
59
  "bitcoinjs-lib": "^6.1.0",
58
60
  "buffer": "^6.0.3",
59
61
  "crypto-js": "^4.2.0",
@@ -89,5 +91,8 @@
89
91
  "bugs": {
90
92
  "url": "https://github.com/gvnrdao/diamond-hands/issues"
91
93
  },
92
- "homepage": "https://diamond-hands-protocol.com"
94
+ "homepage": "https://diamond-hands-protocol.com",
95
+ "optionalDependencies": {
96
+ "esbuild": "^0.27.0"
97
+ }
93
98
  }