@viamrobotics/sdk 0.55.0 → 0.56.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/__fixtures__/credentials.d.ts +5 -0
- package/dist/__fixtures__/test-constants.d.ts +4 -0
- package/dist/__mocks__/transports.d.ts +2 -0
- package/dist/__mocks__/webrtc.d.ts +2 -0
- package/dist/api-version.d.ts +1 -1
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/main.es.js +277 -260
- package/dist/main.umd.js +7 -7
- package/dist/robot/__fixtures__/dial-configs.d.ts +4 -0
- package/dist/robot/__mocks__/robot-service.d.ts +5 -0
- package/dist/rpc/__fixtures__/dial-options.d.ts +6 -0
- package/dist/rpc/__fixtures__/dial-webrtc-options.d.ts +8 -0
- package/dist/rpc/__mocks__/signaling-exchanges.d.ts +3 -0
- package/package.json +1 -1
- /package/dist/robot/{client.spec.d.ts → __tests__/client.spec.d.ts} +0 -0
- /package/dist/robot/{grpc-connection-manager.spec.d.ts → __tests__/grpc-connection-manager.spec.d.ts} +0 -0
- /package/dist/robot/{session-manager.spec.d.ts → __tests__/session-manager.spec.d.ts} +0 -0
- /package/dist/rpc/{dial.spec.d.ts → __tests__/dial.spec.d.ts} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Credential, AccessToken } from '../main';
|
|
2
|
+
export declare const testCredential: Credential;
|
|
3
|
+
export declare const differentCredential: Credential;
|
|
4
|
+
export declare const testAccessToken: AccessToken;
|
|
5
|
+
export declare const differentAccessToken: AccessToken;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const createMockPeerConnection: (closeFn?: import("vitest").Mock<any, any>, addEventListenerFn?: import("vitest").Mock<any, any>, removeEventListenerFn?: import("vitest").Mock<any, any>, iceConnectionState?: RTCIceConnectionState) => RTCPeerConnection;
|
|
2
|
+
export declare const createMockDataChannel: (closeFn?: import("vitest").Mock<any, any>, addEventListenerFn?: import("vitest").Mock<any, any>, removeEventListenerFn?: import("vitest").Mock<any, any>, readyState?: RTCDataChannelState) => RTCDataChannel;
|
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.488";
|
|
@@ -937,6 +937,11 @@ export declare class CreateInvoiceAndChargeImmediatelyRequest extends Message<Cr
|
|
|
937
937
|
* @generated from message viam.app.v1.CreateInvoiceAndChargeImmediatelyResponse
|
|
938
938
|
*/
|
|
939
939
|
export declare class CreateInvoiceAndChargeImmediatelyResponse extends Message<CreateInvoiceAndChargeImmediatelyResponse> {
|
|
940
|
+
/**
|
|
941
|
+
* @generated from field: string invoice_id = 1;
|
|
942
|
+
*/
|
|
943
|
+
invoiceId: string;
|
|
944
|
+
|
|
940
945
|
constructor(data?: PartialMessage<CreateInvoiceAndChargeImmediatelyResponse>);
|
|
941
946
|
|
|
942
947
|
static readonly runtime: typeof proto3;
|