make it possible to catch an error on calls

This commit is contained in:
DieMyst
2021-04-26 19:14:07 +03:00
parent 93a9d0e27d
commit 17495f9564
26 changed files with 281 additions and 89 deletions

View File

@ -2,5 +2,5 @@ import {FluenceClient} from "@fluencelabs/fluence";
import {doStuff} from "./compiled/complex";
export async function complexCall(client: FluenceClient) {
await doStuff(client, client.relayPeerId!)
return await doStuff(client, client.relayPeerId!)
}