@viamrobotics/rpc
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -29,3 +29,4 @@ import { grpc } from '@improbable-eng/grpc-web'; | ||
peerConnection: RTCPeerConnection; | ||
dataChannel: RTCDataChannel; | ||
} | ||
export declare function dialWebRTC(signalingAddress: string, host: string, opts?: DialOptions): Promise<WebRTCConnection>; |
{ | ||
"name": "@viamrobotics/rpc", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -268,2 +268,3 @@ import { grpc } from '@improbable-eng/grpc-web'; | ||
peerConnection: RTCPeerConnection; | ||
dataChannel: RTCDataChannel; | ||
} | ||
@@ -323,2 +324,4 @@ | ||
// TODO(GOUT-7): figure out decent way to handle reconnect on connection termination | ||
// eslint-disable-next-line sonarjs/cognitive-complexity | ||
// eslint-disable-next-line func-style | ||
export async function dialWebRTC( | ||
@@ -642,3 +645,7 @@ signalingAddress: string, | ||
successful = true; | ||
return { transportFactory: cc.transportFactory(), peerConnection: pc }; | ||
return { | ||
transportFactory: cc.transportFactory(), | ||
peerConnection: pc, | ||
dataChannel: dc, | ||
}; | ||
} finally { | ||
@@ -645,0 +652,0 @@ if (!successful) { |
@@ -148,2 +148,5 @@ // package: google.api | ||
getRestReferenceDocumentationUri(): string; | ||
setRestReferenceDocumentationUri(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -171,2 +174,3 @@ toObject(includeInstance?: boolean): Publishing.AsObject; | ||
protoReferenceDocumentationUri: string, | ||
restReferenceDocumentationUri: string, | ||
} | ||
@@ -458,2 +462,4 @@ } | ||
export const apiVersion: jspb.ExtensionFieldInfo<string>; | ||
export interface ClientLibraryOrganizationMap { | ||
@@ -460,0 +466,0 @@ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED: 0; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2164019
126
54453
27