@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 { RobotClient } from '../../robot';
2
+ import type { Options, StructType } from '../../types';
3
+ import type { Generic } from './generic';
4
+ /**
5
+ * A gRPC-web client for a Generic service.
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 service();
15
+ doCommand(command: StructType): Promise<StructType>;
16
+ }
@@ -0,0 +1,4 @@
1
+ import type { Resource } from '../../types';
2
+ /** A generic service. */
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/sdk",
3
- "version": "0.11.0",
3
+ "version": "0.11.1-next.0",
4
4
  "description": "",
5
5
  "main": "./dist/main.umd.js",
6
6
  "module": "./dist/main.es.js",