mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-07-01 14:11:36 +00:00
Update the compiler and JS SDK version to support udpate public JS API (#13)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { FluencePeer } from '@fluencelabs/fluence';
|
||||
import { Fluence } from '@fluencelabs/fluence';
|
||||
import { getTwoResults } from '../compiled/examples/foldJoin';
|
||||
|
||||
export async function foldJoinCall(): Promise<number[]> {
|
||||
const relayPeerId = FluencePeer.default.connectionInfo.connectedRelay;
|
||||
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
||||
return await getTwoResults(relayPeerId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user