@therms/rpc-telemetry-client

3.0.1 • Public • Published

@therms/rpc-telemetry-client

rpc_logo.png

A Remote Procedure Call framework for Javascript Node.js written in TS.


This is the web UI for viewing RPC servers and RPC documentation that is served by a Telemetry Server from the @therms/rpc-server package.

RPC Telemetry Server URL

This webapp needs to call endpoints that are served on the @therms/rpc-server telemetry server. In order for it to call those endpoints it needs the URL.

When the project is built, it will optionally use an env var to hard-code the RPC telemetry server address into the bundle.

RPC_SERVER_URI=https://rpc.sandbox.therms.app/telemetry

A global variable should be set in the index.html file to the RPC telemetry server URL for example:

window.TELEMETRY_SERVER_URL = 'https://rpc.sandbox.therms.app/telemetry';

If there is not env URL then it will default to the base URL that the index.html page is served from.

Note: the UI provides a manual method of entering the RPC telemetry server URL and fetching info/docs from there.

/@therms/rpc-telemetry-client/

    Package Sidebar

    Install

    npm i @therms/rpc-telemetry-client

    Weekly Downloads

    6

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    16.6 MB

    Total Files

    58

    Last publish

    Collaborators

    • husnainali02
    • jma515
    • coryrobinson42
    • totocorvidoni