Skip to content

v0.7.5

Choose a tag to compare

@mordamax mordamax released this 11 May 12:39
· 138 commits to main since this release
6a80c6d

host-api-test-sdk 0.7.5

Full handler coverage

Two previously missing handlers are now implemented:

  • handleCreateTransaction — product accounts can create transactions. The test host returns the call data as-is for assertions.
  • handleAccountCreateProof — Ring VRF proof creation. The test host signs the message with the product account's sr25519 key as a stand-in for actual ring VRF.

The only remaining unimplemented handler is renderChatCustomMessage (custom chat renderer callback).

Comprehensive integration tests

12 new integration tests bring the total from 34 to 46, covering every major handler:

  • Theme subscribe (host→product theme changes)
  • Entropy derivation (deterministic, same-key-same-result)
  • Login flow (authenticated, rejected, disconnect/reconnect)
  • User identity (getUserId returns primaryUsername)
  • Resource allocation (all 4 resource types allocated)
  • Feature check (configured chain matches, unknown chain doesn't)
  • Local storage (write, read, clear round-trip)
  • Statement store proof creation
  • Create transaction for product accounts
  • Account create proof (Ring VRF)

Updated dependencies

@novasamatech/* → ^0.7.8.