@signalwire/core
Version:
Shared code for the SignalWire JS SDK
13 lines (10 loc) • 319 B
text/typescript
import { makeRPCRequest } from './helpers'
export type RPCReauthenticateParams = { project: string; jwt_token: string }
export const RPCReauthenticate = (authentication: RPCReauthenticateParams) => {
return makeRPCRequest({
method: 'signalwire.reauthenticate',
params: {
authentication,
},
})
}