Update JS SDK API to the new version (#61)

* FluenceClient renamed to FluencePeer.
* Using Aqua compiler is now the recommended way for all interaction with the network, including services registration and sending requests
* Old API (sendParticle etc) has been removed
* Opaque seed format replaced with 32 byte ed25519 private key. KeyPair introduced
* Documentation update
This commit is contained in:
Pavel
2021-09-08 12:42:30 +03:00
committed by GitHub
parent c7ab9d56ee
commit 6436cd5684
37 changed files with 1880 additions and 2773 deletions

View File

@ -5,6 +5,7 @@ import { CallServiceHandler } from './CallServiceHandler';
import { PeerIdB58 } from './commonTypes';
import { FluenceConnection } from './FluenceConnection';
import { Particle, genUUID, logParticle } from './particle';
import { ParticleDataToString } from './utils';
export const DEFAULT_TTL = 7000;