Skip to content

0.12.0: bump upstream to @novasamatech/*@^0.9.1 - #43

Merged
eugypalu merged 1 commit into
mainfrom
fix/truapi-0.6-novasama-0.9
Aug 3, 2026
Merged

0.12.0: bump upstream to @novasamatech/*@^0.9.1#43
eugypalu merged 1 commit into
mainfrom
fix/truapi-0.6-novasama-0.9

Conversation

@eugypalu

@eugypalu eugypalu commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Cause. truapi 0.5 adopted RFC-0022: DerivationIndex went from a bare u32 to Enum{Index(u32), Raw([u8; 32])}. This SDK was pinned to @novasamatech/*@^0.8.8, where it is still a u32, so the two sides disagreed by one tag byte. The failure is silent — the wrong account for any index other than 0, signRaw over the empty payload instead of the requested bytes, and createTransaction dropped without a reply, which is why every test that submits a transaction hung until its timeout.

Fix. Bump @novasamatech/* to ^0.9.1 and @parity/truapi to ^0.6.0, then adapt the handlers: a selectorKey() helper threaded through the product-account call sites, plus the new shapes for handleAccountGetAlias (request + GetAliasErr) and handleAccountCreateProof (struct response). Index(n) renders as the plain n, so productAccounts keys and derived addresses are unchanged.

Breaking. Products on host-api-wrapper@^0.8.x no longer talk to this host — upgrade both sides in lockstep, same as 0.9.0. ProductAccount also loses name, a field the protocol struct never had.

@eugypalu
eugypalu requested a review from mordamax as a code owner August 3, 2026 13:08
@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
Added@​novasamatech/​host-api-wrapper@​0.9.1761009999100
Added@​novasamatech/​host-container@​0.9.1771009999100
Added@​novasamatech/​host-api@​0.9.1791009999100
Added@​parity/​truapi@​0.6.08110010097100

View full report

@eugypalu
eugypalu merged commit a20c7d6 into main Aug 3, 2026
5 checks passed
@eugypalu
eugypalu deleted the fix/truapi-0.6-novasama-0.9 branch August 3, 2026 13:26
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.

2 participants