@viamrobotics/sdk 0.50.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.es.js +275 -262
- package/dist/main.umd.js +7 -7
- package/dist/rpc/dial.d.ts +2 -2
- package/package.json +1 -1
package/dist/rpc/dial.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export type TransportFactory = (init: TransportInitOptions) => Transport;
|
|
|
52
52
|
interface TransportInitOptions {
|
|
53
53
|
baseUrl: string;
|
|
54
54
|
}
|
|
55
|
-
export declare const dialDirect: (address: string, opts?: DialOptions) => Promise<Transport>;
|
|
55
|
+
export declare const dialDirect: (address: string, opts?: DialOptions, transportCredentialsInclude?: boolean) => Promise<Transport>;
|
|
56
56
|
export declare const cloneHeaders: (headers: HeadersInit | undefined) => Headers;
|
|
57
57
|
export interface WebRTCConnection {
|
|
58
58
|
transport: Transport;
|
|
@@ -67,5 +67,5 @@ export interface WebRTCConnection {
|
|
|
67
67
|
* currently returned for experimental use. TODO(GOUT-7): figure out decent way
|
|
68
68
|
* to handle reconnect on connection termination
|
|
69
69
|
*/
|
|
70
|
-
export declare const dialWebRTC: (signalingAddress: string, host: string, dialOpts?: DialOptions) => Promise<WebRTCConnection>;
|
|
70
|
+
export declare const dialWebRTC: (signalingAddress: string, host: string, dialOpts?: DialOptions, transportCredentialsInclude?: boolean) => Promise<WebRTCConnection>;
|
|
71
71
|
export {};
|