(input: {
challenge: string;
relayUrl: string;
})
| 946 | } |
| 947 | |
| 948 | export async function createAuthEvent(input: { |
| 949 | challenge: string; |
| 950 | relayUrl: string; |
| 951 | }): Promise<RelayEvent> { |
| 952 | const eventJson = await invokeTauri<string>("create_auth_event", input); |
| 953 | return JSON.parse(eventJson) as RelayEvent; |
| 954 | } |
| 955 | |
| 956 | function fromRawRelayAgent(agent: RawRelayAgent): RelayAgent { |
| 957 | return { |
no test coverage detected