@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.
- package/dist/components/generic/client.d.ts +16 -0
- package/dist/components/generic/generic.d.ts +4 -0
- package/dist/components/generic.d.ts +2 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +2 -1
- package/dist/main.umd.js +1 -1
- package/dist/services/generic/client.d.ts +16 -0
- package/dist/services/generic/generic.d.ts +4 -0
- package/dist/services/generic.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
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,
|