Skip to content

chore(deps): switch host transport to @parity/truapi#23

Open
illegalcall wants to merge 1 commit into
paritytech:mainfrom
illegalcall:chore/switch-to-truapi
Open

chore(deps): switch host transport to @parity/truapi#23
illegalcall wants to merge 1 commit into
paritytech:mainfrom
illegalcall:chore/switch-to-truapi

Conversation

@illegalcall

@illegalcall illegalcall commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Closes #20

Drops @novasamatech/host-api / @novasamatech/host-api-wrapper and bumps @parity/product-sdk-host to ^0.14.1 and @parity/product-sdk-signer to ^0.11.1. The host transport is now @parity/truapi, pulled in transitively via product-sdk-host.

  • No source changes required: HostProvider({ productAccount }) and the result.ok connect handling in App.tsx are unchanged API in signer 0.11.
  • bun.lock (the tracked lockfile) regenerated; npm ls @parity/truapi resolves to a single instance (0.5.1). Note: the tracked lockfile had been stale since Pin @polkadot-api/json-rpc-provider to 0.2.0 to fix npm build #7 (the json-rpc-provider override was never recorded); this regeneration also fixes that.
  • Refreshed the 5 lines in docs/levels/ that referenced the retired wrapper.
  • Side effect: the wrapper's polkadot-js subtree (~30 packages) drops out, and ws now resolves past GHSA-96hv-2xvq-fx4p without needing a pin.

Verified: tsc -b && vite build pass; no @novasamatech/host-api reference remains in the tree. Quest run-through in Desktop still pending.

Drop @novasamatech/host-api(-wrapper); bump product-sdk-host to ^0.14.1
and product-sdk-signer to ^0.11.1 (truAPI comes in via product-sdk-host).
No source changes required. Refresh level docs that referenced the
retired wrapper.

Closes paritytech#20
@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@​parity/​product-sdk-signer@​0.6.3 ⏵ 0.11.178 +110072 +199 +2100
Updated@​parity/​product-sdk-host@​0.8.0 ⏵ 0.14.178 +110073 +299 +2100

View full report

@illegalcall

Copy link
Copy Markdown
Contributor Author

@ReinhardHatko can you please review, i dont have access to add you as a reviewer.

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.

Switch to truAPI (retire the triangle-js-sdks host transport)

1 participant