@viamrobotics/sdk 0.11.0 → 0.11.1-next.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.
@@ -0,0 +1,16 @@
1
+ import type { RobotClient } from '../../robot';
2
+ import type { Options, StructType } from '../../types';
3
+ import type { Generic } from './generic';
4
+ /**
5
+ * A gRPC-web client for the Generic component.
6
+ *
7
+ * @group Clients
8
+ */
9
+ export declare class GenericClient implements Generic {
10
+ private client;
11
+ private readonly name;
12
+ private readonly options;
13
+ constructor(client: RobotClient, name: string, options?: Options);
14
+ private get genericService();
15
+ doCommand(command: StructType): Promise<StructType>;
16
+ }
@@ -0,0 +1,4 @@
1
+ import type { Resource } from '../../types';
2
+ /** Represents a generic component. */
3
+ export interface Generic extends Resource {
4
+ }
@@ -0,0 +1,2 @@
1
+ export type { Generic } from './generic/generic';
2
+ export { GenericClient } from './generic/client';
package/dist/main.d.ts CHANGED
@@ -320,4 +320,4 @@ export { default as commonApi } from './gen/common/v1/common_pb';
320
320
  */
321
321
  export type { ResponseStream, ServiceError, } from './gen/robot/v1/robot_pb_service';
322
322
  export * from './types';
323
- export { doCommandFromClient } from './utils';
323
+ export { doCommandFromClient, promisify } from './utils';
package/dist/main.es.js CHANGED
@@ -55987,7 +55987,7 @@ class VisionClient {
55987
55987
  return doCommandFromClient(n, this.name, e, this.options);
55988
55988
  }
55989
55989
  }
55990
- const version = "0.11.0";
55990
+ const version = "0.11.1-next.0";
55991
55991
  export {
55992
55992
  ArmClient,
55993
55993
  BaseClient,
@@ -56031,6 +56031,7 @@ export {
56031
56031
  pb$a as movementSensorApi,
56032
56032
  pb$6 as navigationApi,
56033
56033
  pb$9 as powerSensorApi,
56034
+ promisify,
56034
56035
  proto$1 as robotApi,
56035
56036
  sensor_pb as sensorApi,
56036
56037
  sensors_pb as sensorsApi,