-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add connect in spaceV2 #711
Conversation
All looks good. |
All looks good. |
All looks good. |
|
|
All looks good. |
export interface SpaceV2ConstructorType extends EnvOptionsType {
signer: SignerType;
pgpPrivateKey: string;
chainId: number;
address: string;
setSpaceV2Data: (fn: (data: SpaceV2Data) => SpaceV2Data) => void;
}
addPeer(peerId: string, peerConnection: RTCPeerConnection | undefined) {
removePeer(peerId: string) {
getPeerConnection(peerId: string): RTCPeerConnection | undefined {
setPeerConnection(peerId: string, peerConnection: RTCPeerConnection | undefined) {
getConnectedPeerIds(): string[] {
async connect(options: IConnectOptions) { async disconnect(options: any) { async request(options: any) { async invite(options: ISpaceInviteInputOptions) {
peerAddress: string | undefined
export async function connect(
this: SpaceV2,
options: IConnectOptions
): Promise<void> { All looks good. |
No description provided.