mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-23 23:51:45 +00:00
update compiled, add declare\import tests
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||
* Aqua version: 0.1.13-SNAPSHOT
|
||||
* Aqua version: 0.1.14-SNAPSHOT
|
||||
*
|
||||
*/
|
||||
import { FluenceClient, PeerIdB58 } from '@fluencelabs/fluence';
|
||||
@ -11,6 +11,26 @@ import { RequestFlowBuilder } from '@fluencelabs/fluence/dist/api.unstable';
|
||||
import { RequestFlow } from '@fluencelabs/fluence/dist/internal/RequestFlow';
|
||||
|
||||
|
||||
// Services
|
||||
|
||||
//Testo
|
||||
//defaultId = "testo"
|
||||
|
||||
//getString: (arg0: string) => string
|
||||
//END Testo
|
||||
|
||||
|
||||
|
||||
|
||||
//LocalPrint
|
||||
//defaultId = "lp"
|
||||
|
||||
//print: (arg0: string) => void
|
||||
//END LocalPrint
|
||||
|
||||
|
||||
|
||||
// Functions
|
||||
|
||||
export async function topologyTest(client: FluenceClient, me: string, myRelay: string, friend: string, friendRelay: string, config?: {ttl?: number}): Promise<string> {
|
||||
let request: RequestFlow;
|
||||
@ -108,4 +128,4 @@ h.on('getDataSrv', 'friendRelay', () => {return friendRelay;});
|
||||
await client.initiateFlow(request!);
|
||||
return promise;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user