mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-22 10:41:42 +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,17 @@ import { RequestFlowBuilder } from '@fluencelabs/fluence/dist/api.unstable';
|
||||
import { RequestFlow } from '@fluencelabs/fluence/dist/internal/RequestFlow';
|
||||
|
||||
|
||||
// Services
|
||||
|
||||
//StringExtra
|
||||
//defaultId = "service-id"
|
||||
|
||||
//addNameToHello: (arg0: string) => string
|
||||
//END StringExtra
|
||||
|
||||
|
||||
|
||||
// Functions
|
||||
|
||||
export async function helloWorld(client: FluenceClient, name: string, config?: {ttl?: number}): Promise<string> {
|
||||
let request: RequestFlow;
|
||||
@ -66,4 +77,4 @@ export async function helloWorld(client: FluenceClient, name: string, config?: {
|
||||
await client.initiateFlow(request!);
|
||||
return promise;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user