Additive release (backwards compatible with 0.1.0). Publishes @dignetwork/dig-sdk@0.2.0 to npm via publish-npm.yml.
Added
- DigClient collection reads: getCollection (collection facts) and listCollectionItems (items resolved to current on-chain owner + royalty + CHIP-0007 metadata).
- chia:// DeployResult: the deploy adapters parse 'digstore deploy --json' into a DeployResult exposing the chia:// content-open address (chiaUrl) alongside the DIGHUb view URL (hubUrl); digUrl is a deprecated alias of chiaUrl.
- Paywall: high-level pay-to-unlock helper (charge XCH or a CAT such as $DIG).
- Machine-readable self-description: SDK_VERSION + capabilities()/describe() and a typed error taxonomy.
- Framework adapters entry points: /adapters, /vite, /next.
Changed
- @dignetwork/chip35-dl-coin-wasm bumped to ^0.8.0 (agent-friendly introspection), surfaced at /spend.
- UX consistency: chia:// content-open URL, DIGHUb wordmark, $DIG sigil.
Fixed
- Paywall random-nonce generation on Node 18 (no global WebCrypto).