Skip to content

v1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Dec 22:34
· 31 commits to main since this release
b66a2f6

Minor Changes

  • df6222f: Added transport identification options to browser runtime port transport.

  • df6222f: Merged request and requestProxy into request.

  • df6222f: Added transport utils to simplify the creation of identifiable transports.

  • df6222f: Refactored from class to functions.

    • new RPC() -> createRPC()
    • RPC.asClient() -> createClientRPC()
    • RPC.asServer() -> createServerRPC()
  • df6222f: Added proxy API for message sending.

  • df6222f: New feature: transport bridges.

  • df6222f: Centralized transport methods in transport object.

  • df6222f: Added proxy property.

  • df6222f: Added message port transport (iframes, window objects, service workers, etc)

  • df6222f: Added requestProxy and sendProxy with "just the proxy" types.

  • df6222f: Greatly improved type safety: schema dependent methods and options.

Patch Changes

  • df6222f: Improved documentation.
  • df6222f: Added (very!) exhaustive type tests.
  • df6222f: Added JSDoc tests.
  • df6222f: Fix: invalid message payload type inference.
  • df6222f: Improved unit tests.