@viamrobotics/sdk 0.33.0 → 0.34.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.
@@ -1045,6 +1045,7 @@ export declare class RobotClient extends EventDispatcher implements Robot {
1045
1045
  getCloudMetadata(): Promise<import("../gen/robot/v1/robot_pb").GetCloudMetadataResponse>;
1046
1046
  resourceNames(): Promise<import("../gen/common/v1/common_pb").ResourceName[]>;
1047
1047
  resourceRPCSubtypes(): Promise<import("../gen/robot/v1/robot_pb").ResourceRPCSubtype[]>;
1048
+ getMachineStatus(): Promise<import("../gen/robot/v1/robot_pb").GetMachineStatusResponse>;
1048
1049
  restartModule(moduleId?: string, moduleName?: string): Promise<void>;
1049
1050
  }
1050
1051
  export {};
@@ -126,6 +126,12 @@ export interface Robot {
126
126
  * @alpha
127
127
  */
128
128
  getCloudMetadata(): Promise<CloudMetadata>;
129
+ /**
130
+ * Get the current status of the robot.
131
+ *
132
+ * @alpha
133
+ */
134
+ getMachineStatus(): Promise<proto.GetMachineStatusResponse>;
129
135
  /**
130
136
  * Restarts a module running on the machine with the given id or name.
131
137
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/sdk",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "",
5
5
  "main": "./dist/main.umd.js",
6
6
  "module": "./dist/main.es.js",