@viamrobotics/sdk 0.36.0 → 0.36.1

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.
Files changed (33) hide show
  1. package/dist/components/arm/arm.d.ts +3 -0
  2. package/dist/components/arm/client.d.ts +2 -1
  3. package/dist/components/base/base.d.ts +3 -0
  4. package/dist/components/base/client.d.ts +2 -1
  5. package/dist/components/board/client.d.ts +1 -1
  6. package/dist/components/button/client.d.ts +1 -1
  7. package/dist/components/camera/camera.d.ts +3 -0
  8. package/dist/components/camera/client.d.ts +2 -1
  9. package/dist/components/encoder/client.d.ts +1 -1
  10. package/dist/components/gantry/client.d.ts +2 -1
  11. package/dist/components/gantry/gantry.d.ts +3 -0
  12. package/dist/components/generic/client.d.ts +3 -2
  13. package/dist/components/generic/generic.d.ts +4 -1
  14. package/dist/components/gripper/client.d.ts +2 -1
  15. package/dist/components/gripper/gripper.d.ts +3 -0
  16. package/dist/components/input-controller/client.d.ts +1 -1
  17. package/dist/components/motor/client.d.ts +1 -1
  18. package/dist/components/movement-sensor/client.d.ts +1 -1
  19. package/dist/components/power-sensor/client.d.ts +1 -1
  20. package/dist/components/sensor/client.d.ts +1 -1
  21. package/dist/components/servo/client.d.ts +1 -1
  22. package/dist/components/switch/client.d.ts +1 -1
  23. package/dist/main.es.js +187 -145
  24. package/dist/main.umd.js +7 -7
  25. package/dist/services/data-manager/client.d.ts +1 -1
  26. package/dist/services/discovery/client.d.ts +1 -1
  27. package/dist/services/generic/client.d.ts +1 -1
  28. package/dist/services/motion/client.d.ts +1 -1
  29. package/dist/services/navigation/client.d.ts +1 -1
  30. package/dist/services/slam/client.d.ts +1 -1
  31. package/dist/services/vision/client.d.ts +1 -1
  32. package/dist/types.d.ts +2 -0
  33. package/package.json +1 -1
@@ -5,7 +5,7 @@ import type { Options } from '../../types';
5
5
  import type { DataManager } from './data-manager';
6
6
  export declare class DataManagerClient implements DataManager {
7
7
  private client;
8
- private readonly name;
8
+ readonly name: string;
9
9
  private readonly options;
10
10
  callOptions: CallOptions;
11
11
  constructor(client: RobotClient, name: string, options?: Options);
@@ -10,7 +10,7 @@ import type { Discovery } from './discovery';
10
10
  */
11
11
  export declare class DiscoveryClient implements Discovery {
12
12
  private client;
13
- private readonly name;
13
+ readonly name: string;
14
14
  private readonly options;
15
15
  callOptions: CallOptions;
16
16
  constructor(client: RobotClient, name: string, options?: Options);
@@ -10,7 +10,7 @@ import type { Generic } from './generic';
10
10
  */
11
11
  export declare class GenericClient implements Generic {
12
12
  private client;
13
- private readonly name;
13
+ readonly name: string;
14
14
  private readonly options;
15
15
  callOptions: CallOptions;
16
16
  constructor(client: RobotClient, name: string, options?: Options);
@@ -11,7 +11,7 @@ import { type Constraints, type MotionConfiguration } from './types';
11
11
  */
12
12
  export declare class MotionClient implements Motion {
13
13
  private client;
14
- private readonly name;
14
+ readonly name: string;
15
15
  private readonly options;
16
16
  callOptions: CallOptions;
17
17
  constructor(client: RobotClient, name: string, options?: Options);
@@ -11,7 +11,7 @@ import type { Mode } from './types';
11
11
  */
12
12
  export declare class NavigationClient implements Navigation {
13
13
  private client;
14
- private readonly name;
14
+ readonly name: string;
15
15
  private readonly options;
16
16
  callOptions: CallOptions;
17
17
  constructor(client: RobotClient, name: string, options?: Options);
@@ -10,7 +10,7 @@ import type { Slam } from './slam';
10
10
  */
11
11
  export declare class SlamClient implements Slam {
12
12
  private client;
13
- private readonly name;
13
+ readonly name: string;
14
14
  private readonly options;
15
15
  callOptions: CallOptions;
16
16
  constructor(client: RobotClient, name: string, options?: Options);
@@ -12,7 +12,7 @@ import type { Vision } from './vision';
12
12
  */
13
13
  export declare class VisionClient implements Vision {
14
14
  private client;
15
- private readonly name;
15
+ readonly name: string;
16
16
  private readonly options;
17
17
  callOptions: CallOptions;
18
18
  constructor(client: RobotClient, name: string, options?: Options);
package/dist/types.d.ts CHANGED
@@ -5,6 +5,8 @@ export interface Options {
5
5
  requestLogger?: (req: unknown) => void;
6
6
  }
7
7
  export interface Resource {
8
+ /** The name of the resource. */
9
+ readonly name: string;
8
10
  /**
9
11
  * Send/Receive arbitrary commands to the resource.
10
12
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/sdk",
3
- "version": "0.36.0",
3
+ "version": "0.36.1",
4
4
  "description": "",
5
5
  "main": "./dist/main.umd.js",
6
6
  "module": "./dist/main.es.js",