recompile, add tests for null

This commit is contained in:
DieMyst
2021-07-28 16:24:07 +03:00
parent 9e73b105ad
commit 82cc3ec98b
30 changed files with 752 additions and 46 deletions

View File

@ -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';
@ -56,7 +56,7 @@ export async function getPeerExternalAddresses(client: FluenceClient, otherNodeP
});
h.on('getDataSrv', 'otherNodePeerId', () => {return otherNodePeerId;});
h.onEvent('callbackSrv', 'response', (args) => {
const [res] = args;
const [res] = args;
resolve(res);
});
@ -141,7 +141,7 @@ export async function getDistantAddresses(client: FluenceClient, target: string,
h.on('getDataSrv', 'target', () => {return target;});
h.on('getDataSrv', 'viaNode', () => {return viaNode;});
h.onEvent('callbackSrv', 'response', (args) => {
const [res] = args;
const [res] = args;
resolve(res);
});