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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user