You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.
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.