@gvnrdao/dh-sdk 0.0.333 → 0.0.335

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 CHANGED
@@ -137,6 +137,7 @@ const adminResult = await sdk.liquidatePositionAdmin({
137
137
  - `repayLoan(positionId, amount)` - Repay an existing loan
138
138
  - `liquidatePosition(request)` - Liquidate an undercollateralized position (MEV-protected)
139
139
  - `liquidatePositionAdmin(request)` - Liquidate position using admin-only access (backward compatibility)
140
+ - `getLicense()` - Return the protocol license (`identifier`, IPFS `uri`, and full `text`)
140
141
 
141
142
  ### Configuration Options
142
143
 
@@ -200,4 +201,15 @@ Full details: [`docs/TYPECHAIN_IMPLEMENTATION.md`](docs/TYPECHAIN_IMPLEMENTATION
200
201
 
201
202
  ## License
202
203
 
203
- MIT
204
+ Proprietary / all rights reserved (SPDX `UNLICENSED`). Copyright GVNR DAO LLC, 2026. See [`LICENSE`](LICENSE).
205
+
206
+ The same text is pinned on IPFS and advertised on-chain as `ContractVersionRegistry.LICENSE` / `LICENSE_URI`. `getLicense()` (standalone or `sdk.getLicense()`) returns that text — not a live IPFS fetch:
207
+
208
+ ```typescript
209
+ import { getLicense } from "@gvnrdao/dh-sdk";
210
+
211
+ const license = getLicense();
212
+ license.identifier; // "UNLICENSED"
213
+ license.uri; // "ipfs://bafkreigunb4phugonefe66by524nhnrgrpol4233ytg7e7eg7qomhy3s3a"
214
+ license.text; // full GVNR DAO LLC reservation (same bytes as LICENSE)
215
+ ```