Skip to content

Commit

Permalink
1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
billylindeman committed Dec 9, 2020
1 parent b4ffaf0 commit 79db40b
Show file tree
Hide file tree
Showing 7 changed files with 169 additions and 172 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ion-sdk-js",
"version": "1.5.3",
"version": "1.5.4",
"description": "A js sdk for ion sfu",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
63 changes: 31 additions & 32 deletions src/signal/_proto/library/sfu_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// package: sfu
// file: sfu.proto

import * as jspb from "google-protobuf";
import * as jspb from 'google-protobuf';

export class SignalRequest extends jspb.Message {
getId(): string;
Expand All @@ -28,20 +28,20 @@ export class SignalRequest extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SignalRequest.AsObject;
static toObject(includeInstance: boolean, msg: SignalRequest): SignalRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
static serializeBinaryToWriter(message: SignalRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SignalRequest;
static deserializeBinaryFromReader(message: SignalRequest, reader: jspb.BinaryReader): SignalRequest;
}

export namespace SignalRequest {
export type AsObject = {
id: string,
join?: JoinRequest.AsObject,
description: Uint8Array | string,
trickle?: Trickle.AsObject,
}
id: string;
join?: JoinRequest.AsObject;
description: Uint8Array | string;
trickle?: Trickle.AsObject;
};

export enum PayloadCase {
PAYLOAD_NOT_SET = 0,
Expand Down Expand Up @@ -86,22 +86,22 @@ export class SignalReply extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): SignalReply.AsObject;
static toObject(includeInstance: boolean, msg: SignalReply): SignalReply.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
static serializeBinaryToWriter(message: SignalReply, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): SignalReply;
static deserializeBinaryFromReader(message: SignalReply, reader: jspb.BinaryReader): SignalReply;
}

export namespace SignalReply {
export type AsObject = {
id: string,
join?: JoinReply.AsObject,
description: Uint8Array | string,
trickle?: Trickle.AsObject,
iceconnectionstate: string,
error: string,
}
id: string;
join?: JoinReply.AsObject;
description: Uint8Array | string;
trickle?: Trickle.AsObject;
iceconnectionstate: string;
error: string;
};

export enum PayloadCase {
PAYLOAD_NOT_SET = 0,
Expand All @@ -125,18 +125,18 @@ export class JoinRequest extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): JoinRequest.AsObject;
static toObject(includeInstance: boolean, msg: JoinRequest): JoinRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
static serializeBinaryToWriter(message: JoinRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): JoinRequest;
static deserializeBinaryFromReader(message: JoinRequest, reader: jspb.BinaryReader): JoinRequest;
}

export namespace JoinRequest {
export type AsObject = {
sid: string,
description: Uint8Array | string,
}
sid: string;
description: Uint8Array | string;
};
}

export class JoinReply extends jspb.Message {
Expand All @@ -148,17 +148,17 @@ export class JoinReply extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): JoinReply.AsObject;
static toObject(includeInstance: boolean, msg: JoinReply): JoinReply.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
static serializeBinaryToWriter(message: JoinReply, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): JoinReply;
static deserializeBinaryFromReader(message: JoinReply, reader: jspb.BinaryReader): JoinReply;
}

export namespace JoinReply {
export type AsObject = {
description: Uint8Array | string,
}
description: Uint8Array | string;
};
}

export class Trickle extends jspb.Message {
Expand All @@ -171,18 +171,18 @@ export class Trickle extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Trickle.AsObject;
static toObject(includeInstance: boolean, msg: Trickle): Trickle.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: { [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> };
static serializeBinaryToWriter(message: Trickle, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Trickle;
static deserializeBinaryFromReader(message: Trickle, reader: jspb.BinaryReader): Trickle;
}

export namespace Trickle {
export type AsObject = {
target: Trickle.TargetMap[keyof Trickle.TargetMap],
init: string,
}
target: Trickle.TargetMap[keyof Trickle.TargetMap];
init: string;
};

export interface TargetMap {
PUBLISHER: 0;
Expand All @@ -191,4 +191,3 @@ export namespace Trickle {

export const Target: TargetMap;
}

9 changes: 4 additions & 5 deletions src/signal/_proto/library/sfu_pb_service.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// package: sfu
// file: sfu.proto

import * as sfu_pb from "./sfu_pb";
import {grpc} from "@improbable-eng/grpc-web";
import * as sfu_pb from './sfu_pb';
import { grpc } from '@improbable-eng/grpc-web';

type SFUSignal = {
readonly methodName: string;
Expand All @@ -18,8 +18,8 @@ export class SFU {
static readonly Signal: SFUSignal;
}

export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
export type Status = { details: string, code: number; metadata: grpc.Metadata }
export type ServiceError = { message: string; code: number; metadata: grpc.Metadata };
export type Status = { details: string; code: number; metadata: grpc.Metadata };

interface UnaryResponse {
cancel(): void;
Expand Down Expand Up @@ -52,4 +52,3 @@ export class SFUClient {
constructor(serviceHost: string, options?: grpc.RpcOptions);
signal(metadata?: grpc.Metadata): BidirectionalStream<sfu_pb.SignalRequest, sfu_pb.SignalReply>;
}

Loading

0 comments on commit 79db40b

Please sign in to comment.