@erwijet/notary
v1.0.0
Published
Although RPC to a Notary server may be facilitated via regular HTTP calls, for added DX and typesaftey, you can use these official client bindings.
Downloads
6
Readme
Notary Client Bindings
Although RPC to a Notary server may be facilitated via regular HTTP calls, for added DX and typesaftey, you can use these official client bindings.
Installation
$ npm install @erwijet/notary
Usage
// src/shared/notary.ts
import { createNotary } from "@erwijet/notary";
export const notary = createNotary({
url: "https://notary.example.com",
client: "<client-name-as-configured-in-the-notary-portal>",
key: "<associated-client-key>",
callback: "http://localhost:8080/callback",
});
Example
Check out the example project for a demo app using react + vite + tanstack router + notary auth.