Compiler support: fix issues with registerService function (#104)

- Throwing error if `registerService` was called on a non-initialized peer.
- Fix issue with incorrect context being passed to class-based implementations of user services
- Fix typo in JSDoc
This commit is contained in:
Pavel
2021-11-28 09:36:01 +03:00
committed by GitHub
parent 7577170780
commit ef57883abd
8 changed files with 69 additions and 82 deletions

View File

@ -109,7 +109,7 @@ export interface PeerConfig {
*/
export interface PeerStatus {
/**
* Is the peer connected to network or not
* Is the peer initialized or not
*/
isInitialized: Boolean;