A client for connecting to the web-socket identity server
npm install ws-identity-clientThis is a node.js client to connect with the web-socket identity server ws-identity.
typescript
const wsSessionBackend = new WsIdentityClient({
endpoint: [ws-server-address],
pathPrefix: "/session",
});
const sessionId = wsSessionBackend.write("new",{pubKeyHex: [pub-key-hex]});
``