Skip to content

v0.9.0

Choose a tag to compare

@mordamax mordamax released this 01 Jun 14:07
· 109 commits to main since this release
9578409

Changed

  • Upstream @novasamatech/* → ^0.8.0 (triangle-js-sdks#179). v0.8 is wire-incompatible with v0.7 — a test host built on this release will only talk to products on @novasamatech/host-api@^0.8.0. Upgrade your product side in lockstep. Most products don't need code changes if they use createPapiProvider for chain access and @novasamatech/product-react-renderer for custom chat. See the v0.8 migration guide for the product-side breaking points.

Breaking changes

  • Theme subscription delivers the new { name, variant } struct instead of a flat 'light' | 'dark'. setTheme('light' | 'dark') keeps working as a shorthand (mapped to { name: { tag: 'Default', value: undefined }, variant: 'Light' | 'Dark' }) and now also accepts the full struct so tests can drive custom-named themes. getTheme() returns the struct — read theme.variant for the previous light/dark value.
  • AllocatableResource variant rename: BulletInAllowance → BulletinAllowance. Affects tests that hand-build resource-allocation requests.

Added

  • PaymentLogEntry.purse records the optional purse selector from RFC-0017 — into on top-ups, from on payment requests. Undefined means the product targeted the main purse.
  • Theme and ThemeInput types exported from the package root.
  • .github/CODEOWNERS added with * @mordamax.