@viamrobotics/sdk 0.15.0 → 0.16.0-rc.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/app/app-client.d.ts +583 -0
- package/dist/app/data-client.d.ts +292 -14
- package/dist/app/viam-client.d.ts +2 -0
- package/dist/events.d.ts +10 -2
- package/dist/gen/app/agent/v1/agent_pb.d.ts +0 -148
- package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -48
- package/dist/gen/app/v1/billing_pb.d.ts +12 -0
- package/dist/gen/common/v1/common_pb.d.ts +0 -62
- package/dist/gen/component/board/v1/board_pb.d.ts +25 -39
- package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -19
- package/dist/gen/service/shell/v1/shell_pb.d.ts +283 -0
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +22 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +147 -0
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +38 -0
- package/dist/main.d.ts +12 -0
- package/dist/main.es.js +47906 -30182
- package/dist/main.umd.js +19 -19
- package/dist/robot/robot.d.ts +2 -2
- package/package.json +1 -1
package/dist/robot/robot.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PoseInFrame, ResourceName, Transform } from '../gen/common/v1/common_pb';
|
|
2
2
|
import type { StructType } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import { MachineConnectionEvent } from '../events';
|
|
4
4
|
import type proto from '../gen/robot/v1/robot_pb';
|
|
5
5
|
import type { ResponseStream } from '../gen/robot/v1/robot_pb_service';
|
|
6
6
|
export type RobotStatusStream = ResponseStream<proto.Status[]>;
|
|
@@ -129,7 +129,7 @@ export interface Robot {
|
|
|
129
129
|
* @param listener - The function to call
|
|
130
130
|
* @alpha
|
|
131
131
|
*/
|
|
132
|
-
on: (type:
|
|
132
|
+
on: (type: MachineConnectionEvent, listener: Callback) => void;
|
|
133
133
|
/**
|
|
134
134
|
* Get app-related information about the robot.
|
|
135
135
|
*
|