Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
989 B · 51 lines
TSX
at mistress
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152import type { Datetime, Did, DIDRecord } from './record';
export type { Datetime, Did, DIDRecord };
const unsupported = (): never => { throw new Error("'rtnbleserver' is only supported on native platforms.");};
export function setOTP(_otp: string): void { unsupported();}
export function setDID(_did: string): void { unsupported();}
export function startGatt(): void { unsupported();}
export function stopGatt(): void { unsupported();}
export function hasServerPermissions(): boolean { return false;}
export function getRecord(): DIDRecord | null { return unsupported();}
export function handleDID(_handler: (record: DIDRecord) => void): void { unsupported();}
export function startClient(_otp: string): void { unsupported();}
export function stopClient(): void { unsupported();}
export function hasClientPermissions(): boolean { return false;}
export function handleClientError(_handler: (message: string) => void): void { unsupported();}