mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-07-02 10:01:46 +00:00
Update the compiler and JS SDK version to support udpate public JS API (#13)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { FluencePeer } from '@fluencelabs/fluence';
|
||||
import { Fluence } from '@fluencelabs/fluence';
|
||||
import { parFunc, registerParService } from '../compiled/examples/par';
|
||||
|
||||
export async function parCall() {
|
||||
const relayPeerId = FluencePeer.default.connectionInfo.connectedRelay;
|
||||
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
||||
|
||||
let promise = new Promise<string>((resolve, reject) => {
|
||||
registerParService({
|
||||
|
Reference in New Issue
Block a user