Skip to content

implement 2 methods and add more tests. bump to 0.7.8 - #18

Merged
mordamax merged 1 commit into
mainfrom
mak/0.7.8
May 11, 2026
Merged

implement 2 methods and add more tests. bump to 0.7.8#18
mordamax merged 1 commit into
mainfrom
mak/0.7.8

Conversation

@mordamax

Copy link
Copy Markdown
Collaborator

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.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​novasamatech/​host-container@​0.7.7 ⏵ 0.7.876 +110099 +199 +1100
Updated@​novasamatech/​product-sdk@​0.7.7 ⏵ 0.7.877 +110099 +199 +1100
Updated@​novasamatech/​host-api@​0.7.7 ⏵ 0.7.8791009999 +1100

View full report

@mordamax
mordamax merged commit 6a80c6d into main May 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant