Skip to content

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

Description

@UtkarshBhardwaj007

Summary

Switch the Host API transport off triangle-js-sdks (the @novasamatech/host-api stack) and onto truAPI (@parity/truapi).

Background

The Host to product transport layer used to be provided by triangle-js-sdks, which publishes @novasamatech/host-api. That transport is being retired in favour of @parity/truapi. As of @parity/product-sdk-host@0.12.0 the host transport is @parity/truapi.

This repository is on a very old host stack: @parity/product-sdk-host@^0.8.0 and @parity/product-sdk-signer@^0.6.3. This is a large jump, so it should be handled carefully and likely alongside the broader product-sdk upgrade.

What needs to happen

  • Bump @parity/product-sdk-host from 0.8.0 to a truAPI backed release (0.12.0 or later, latest is 0.14.1) and bring @parity/product-sdk-signer up in lockstep.
  • Work through the breaking changes across the intermediate releases (host API surface, signer API, and the 0.18 Result error API that arrives with the wider upgrade).
  • Confirm @parity/truapi resolves to a single instance in the tree.
  • Re-run the tutorial quests end to end against the truAPI host.

Acceptance criteria

  • Each quest that relies on the host connects and signs through truAPI.
  • No @novasamatech/host-api transport dependency remains.
  • The tutorial flow completes start to finish.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions