Skip to content

Releases: DIG-Network/dig-sdk

Release list

v0.2.0

Choose a tag to compare

@MichaelTaylor3d MichaelTaylor3d released this 30 Jun 05:57

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).

v0.1.0

Choose a tag to compare

@MichaelTaylor3d MichaelTaylor3d released this 28 Jun 14:57

First working @dignetwork/dig-sdk release.

  • Consumes @dignetwork/chip35-dl-coin-wasm 0.5.0 — the new asset builders
    (mintNft, bulkMint, createDid, issueCat, buildChip0007Metadata,
    validateChip0007, generateItemMetadata, sha256, encodeOffer, decodeOffer)
    are re-exported via the /spend subpath alongside the CHIP-0035 store builders.
  • Ships a complete dist/ (ESM + CJS + .d.ts) and the exports map, replacing the
    broken 0.0.1-alpha.2 that latest previously pointed at. npm i @dignetwork/dig-sdk
    now resolves a functioning build; create-dig-app wallet templates can build.

Publishing 0.1.0 moves the npm latest dist-tag onto this working build.