Skip to content

Commit

Permalink
1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
billylindeman committed Mar 30, 2022
1 parent ee8e8a9 commit f282391
Show file tree
Hide file tree
Showing 16 changed files with 1,136 additions and 1,127 deletions.
4 changes: 2 additions & 2 deletions 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.8.1",
"version": "1.8.2",
"description": "A js sdk for ion-sfu or ion",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
358 changes: 178 additions & 180 deletions src/_library/apps/room/proto/room_pb.d.ts

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions src/_library/apps/room/proto/room_pb_service.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// package: room
// file: apps/room/proto/room.proto

import * as apps_room_proto_room_pb from "../../../apps/room/proto/room_pb";
import {grpc} from "@improbable-eng/grpc-web";
import * as apps_room_proto_room_pb from '../../../apps/room/proto/room_pb';
import { grpc } from '@improbable-eng/grpc-web';

type RoomServiceCreateRoom = {
readonly methodName: string;
Expand Down Expand Up @@ -102,8 +102,8 @@ export class RoomSignal {
static readonly Signal: RoomSignalSignal;
}

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 @@ -137,74 +137,74 @@ export class RoomServiceClient {
createRoom(
requestMessage: apps_room_proto_room_pb.CreateRoomRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.CreateRoomReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.CreateRoomReply | null) => void,
): UnaryResponse;
createRoom(
requestMessage: apps_room_proto_room_pb.CreateRoomRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.CreateRoomReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.CreateRoomReply | null) => void,
): UnaryResponse;
updateRoom(
requestMessage: apps_room_proto_room_pb.UpdateRoomRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.UpdateRoomReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.UpdateRoomReply | null) => void,
): UnaryResponse;
updateRoom(
requestMessage: apps_room_proto_room_pb.UpdateRoomRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.UpdateRoomReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.UpdateRoomReply | null) => void,
): UnaryResponse;
endRoom(
requestMessage: apps_room_proto_room_pb.EndRoomRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.EndRoomReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.EndRoomReply | null) => void,
): UnaryResponse;
endRoom(
requestMessage: apps_room_proto_room_pb.EndRoomRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.EndRoomReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.EndRoomReply | null) => void,
): UnaryResponse;
getRooms(
requestMessage: apps_room_proto_room_pb.GetRoomsRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.GetRoomsReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.GetRoomsReply | null) => void,
): UnaryResponse;
getRooms(
requestMessage: apps_room_proto_room_pb.GetRoomsRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.GetRoomsReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.GetRoomsReply | null) => void,
): UnaryResponse;
addPeer(
requestMessage: apps_room_proto_room_pb.AddPeerRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.AddPeerReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.AddPeerReply | null) => void,
): UnaryResponse;
addPeer(
requestMessage: apps_room_proto_room_pb.AddPeerRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.AddPeerReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.AddPeerReply | null) => void,
): UnaryResponse;
updatePeer(
requestMessage: apps_room_proto_room_pb.UpdatePeerRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.UpdatePeerReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.UpdatePeerReply | null) => void,
): UnaryResponse;
updatePeer(
requestMessage: apps_room_proto_room_pb.UpdatePeerRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.UpdatePeerReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.UpdatePeerReply | null) => void,
): UnaryResponse;
removePeer(
requestMessage: apps_room_proto_room_pb.RemovePeerRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.RemovePeerReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.RemovePeerReply | null) => void,
): UnaryResponse;
removePeer(
requestMessage: apps_room_proto_room_pb.RemovePeerRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.RemovePeerReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.RemovePeerReply | null) => void,
): UnaryResponse;
getPeers(
requestMessage: apps_room_proto_room_pb.GetPeersRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.GetPeersReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.GetPeersReply | null) => void,
): UnaryResponse;
getPeers(
requestMessage: apps_room_proto_room_pb.GetPeersRequest,
callback: (error: ServiceError|null, responseMessage: apps_room_proto_room_pb.GetPeersReply|null) => void
callback: (error: ServiceError | null, responseMessage: apps_room_proto_room_pb.GetPeersReply | null) => void,
): UnaryResponse;
}

Expand All @@ -214,4 +214,3 @@ export class RoomSignalClient {
constructor(serviceHost: string, options?: grpc.RpcOptions);
signal(metadata?: grpc.Metadata): BidirectionalStream<apps_room_proto_room_pb.Request, apps_room_proto_room_pb.Reply>;
}

36 changes: 17 additions & 19 deletions src/_library/proto/ion/ion_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
// package: ion
// file: proto/ion/ion.proto

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

export class Empty extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Empty.AsObject;
static toObject(includeInstance: boolean, msg: Empty): Empty.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: Empty, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Empty;
static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty;
}

export namespace Empty {
export type AsObject = {
}
export type AsObject = {};
}

export class RPC extends jspb.Message {
Expand All @@ -31,19 +30,19 @@ export class RPC extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RPC.AsObject;
static toObject(includeInstance: boolean, msg: RPC): RPC.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: RPC, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RPC;
static deserializeBinaryFromReader(message: RPC, reader: jspb.BinaryReader): RPC;
}

export namespace RPC {
export type AsObject = {
protocol: string,
addr: string,
paramsMap: Array<[string, string]>,
}
protocol: string;
addr: string;
paramsMap: Array<[string, string]>;
};
}

export class Node extends jspb.Message {
Expand All @@ -64,19 +63,18 @@ export class Node extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Node.AsObject;
static toObject(includeInstance: boolean, msg: Node): Node.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: Node, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Node;
static deserializeBinaryFromReader(message: Node, reader: jspb.BinaryReader): Node;
}

export namespace Node {
export type AsObject = {
dc: string,
nid: string,
service: string,
rpc?: RPC.AsObject,
}
dc: string;
nid: string;
service: string;
rpc?: RPC.AsObject;
};
}

1 change: 0 additions & 1 deletion src/_library/proto/ion/ion_pb_service.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
// package: ion
// file: proto/ion/ion.proto

Loading

0 comments on commit f282391

Please sign in to comment.