Update the compiler and JS SDK version to support udpate public JS API (#13)

This commit is contained in:
Pavel
2021-09-10 19:48:26 +03:00
committed by GitHub
parent 5c9a59f14d
commit 37cc0c8d37
58 changed files with 9677 additions and 4586 deletions

View File

@ -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({