mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-20 13:46:39 +00:00
recompile, add tests for null
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.9-SNAPSHOT
|
||||
* Aqua version: 0.1.10-SNAPSHOT
|
||||
*
|
||||
*/
|
||||
import { FluenceClient, PeerIdB58 } from '@fluencelabs/fluence';
|
||||
@ -44,7 +44,7 @@ export async function helloWorld(client: FluenceClient, name: string, config?: {
|
||||
});
|
||||
h.on('getDataSrv', 'name', () => {return name;});
|
||||
h.onEvent('callbackSrv', 'response', (args) => {
|
||||
const [res] = args;
|
||||
const [res] = args;
|
||||
resolve(res);
|
||||
});
|
||||
|
||||
@ -145,7 +145,7 @@ export async function testFunc(client: FluenceClient, config?: {ttl?: number}):
|
||||
});
|
||||
|
||||
h.onEvent('callbackSrv', 'response', (args) => {
|
||||
const [res] = args;
|
||||
const [res] = args;
|
||||
resolve(res);
|
||||
});
|
||||
|
||||
@ -303,7 +303,7 @@ h.on('getDataSrv', 'e', () => {return e;});
|
||||
h.on('getDataSrv', 'g', () => {return g;});
|
||||
h.on('getDataSrv', 'str', () => {return str;});
|
||||
h.onEvent('callbackSrv', 'response', (args) => {
|
||||
const [res] = args;
|
||||
const [res] = args;
|
||||
resolve(res);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user