Skip to content

Commit

Permalink
Merge pull request #314 from skyway/dev/fix-definition-file
Browse files Browse the repository at this point in the history
Add fetchPeerExists definition
  • Loading branch information
d-matsui committed Mar 29, 2021
2 parents 2d50ae8 + 8ffbd9c commit 97dc153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skyway-js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ declare class Peer extends EventEmitter {
reconnect(): void;

listAllPeers(callback: (peers: string[]) => void): void;
fetchPeerExists(peerId: string): Promise<boolean>;
getConnection<T extends Connection>(
peerId: string,
connectionId: string
Expand Down

0 comments on commit 97dc153

Please sign in to comment.