mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-19 19:31:37 +00:00
update aqua
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.6-148
|
||||
* Aqua version: 0.1.7-152
|
||||
*
|
||||
*/
|
||||
import { FluenceClient, PeerIdB58 } from '@fluencelabs/fluence';
|
||||
@ -29,20 +29,17 @@ export async function getPeerExternalAddresses(client: FluenceClient, otherNodeP
|
||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||
(call %init_peer_id% ("getDataSrv" "otherNodePeerId") [] otherNodePeerId)
|
||||
)
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
)
|
||||
(xor
|
||||
(call otherNodePeerId ("peer" "identify") [] res)
|
||||
(seq
|
||||
(seq
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||
)
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||
)
|
||||
)
|
||||
)
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
)
|
||||
(xor
|
||||
(call %init_peer_id% ("callbackSrv" "response") [res.$.external_addresses!])
|
||||
@ -104,27 +101,27 @@ export async function getDistantAddresses(client: FluenceClient, target: string,
|
||||
)
|
||||
(call %init_peer_id% ("getDataSrv" "viaNode") [] viaNode)
|
||||
)
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
)
|
||||
(call viaNode ("op" "identity") [])
|
||||
(call viaNode ("op" "noop") [])
|
||||
)
|
||||
(xor
|
||||
(call target ("peer" "identify") [] res)
|
||||
(seq
|
||||
(seq
|
||||
(seq
|
||||
(call viaNode ("op" "identity") [])
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call viaNode ("op" "noop") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
)
|
||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||
)
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
)
|
||||
)
|
||||
)
|
||||
(call viaNode ("op" "identity") [])
|
||||
(call viaNode ("op" "noop") [])
|
||||
)
|
||||
(call -relay- ("op" "identity") [])
|
||||
(call -relay- ("op" "noop") [])
|
||||
)
|
||||
(xor
|
||||
(call %init_peer_id% ("callbackSrv" "response") [res.$.external_addresses!])
|
||||
|
Reference in New Issue
Block a user