Update js-sdk section

This commit is contained in:
Pavel Murygin
2021-09-10 20:08:58 +03:00
parent 128b226739
commit bc1785e463
18 changed files with 31462 additions and 319 deletions

View File

@ -17,7 +17,7 @@ function App() {
const connect = async (relayPeerId: string) => {
try {
await FluencePeer.default.init({ connectTo: relayPeerId });
await Fluence.start({ connectTo: relayPeerId });
setIsConnected(true);
// Register handler for this call in aqua:
// HelloPeer.hello(%init_peer_id%)

View File

@ -17,7 +17,7 @@ function App() {
const connect = async (relayPeerId: string) => {
try {
await FluencePeer.default.init({ connectTo: relayPeerId });
await Fluence.start({ connectTo: relayPeerId });
setIsConnected(true);
// Register handler for this call in aqua:
// HelloPeer.hello(%init_peer_id%)