@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 Transport } from '@connectrpc/connect';
|
|
2
|
+
import type { PartialMessage } from '@bufbuild/protobuf';
|
|
3
|
+
import type { Operation } from '../../gen/robot/v1/robot_pb';
|
|
4
|
+
import type { ResourceName } from '../../gen/common/v1/common_pb';
|
|
5
|
+
export declare const createMockRobotServiceTransport: (resources?: PartialMessage<ResourceName>[], operations?: PartialMessage<Operation>[]) => Transport;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DialOptions } from '../dial';
|
|
2
|
+
export { TEST_URL, TEST_HOST } from '../../__fixtures__/test-constants';
|
|
3
|
+
export declare const withAccessToken: DialOptions;
|
|
4
|
+
export declare const withCredentials: DialOptions;
|
|
5
|
+
export declare const withSignalingAccessToken: DialOptions;
|
|
6
|
+
export declare const withSignalingCredentials: DialOptions;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SignalingExchange } from '../signaling-exchange';
|
|
2
|
+
import type { DialWebRTCOptions } from '../dial';
|
|
3
|
+
export declare const createMockSignalingExchange: (transport?: import("@connectrpc/connect").Transport, peerConnection?: RTCPeerConnection, dataChannel?: RTCDataChannel, webrtcOptions?: DialWebRTCOptions) => SignalingExchange;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|