1
0
mirror of https://github.com/fluencelabs/aqua-playground synced 2025-07-26 00:32:11 +00:00

add and update examples

This commit is contained in:
DieMyst
2021-07-23 11:57:44 +03:00
parent e1ad9917cb
commit 0bf0ba6d94
31 changed files with 215 additions and 137 deletions

@@ -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.8-SNAPSHOT
* Aqua version: 0.1.9-SNAPSHOT
*
*/
import { FluenceClient, PeerIdB58 } from '@fluencelabs/fluence';
@@ -55,7 +55,7 @@ export async function testFunc(client: FluenceClient, config?: {ttl?: number}):
.handleTimeout(() => {
reject('Request timed out for testFunc');
})
if(config?.ttl) {
if(config && config.ttl) {
r.withTTL(config.ttl)
}
request = r.build();