@viamrobotics/sdk 0.9.0-rc.0 → 0.9.1-rc.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/events.d.ts +1 -1
- package/dist/gen/app/v1/app_pb.d.ts +42 -0
- package/dist/gen/app/v1/app_pb_service.d.ts +19 -0
- package/dist/gen/app/v1/billing_pb.d.ts +0 -346
- package/dist/gen/app/v1/billing_pb_service.d.ts +0 -95
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +38 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +48 -0
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +19 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +53 -0
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +19 -0
- package/dist/main.d.ts +2 -2
- package/dist/main.es.js +39594 -38985
- package/dist/main.umd.js +19 -21
- package/dist/robot/client.d.ts +1 -1
- package/dist/services/navigation/client.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +3 -1
- package/dist/services/navigation/types.d.ts +1 -0
- package/dist/services/navigation.d.ts +1 -1
- package/dist/services/slam/client.d.ts +1 -0
- package/dist/services/slam/slam.d.ts +3 -1
- package/dist/services/slam/types.d.ts +1 -0
- package/dist/services/slam.d.ts +1 -1
- package/package.json +15 -15
package/dist/robot/client.d.ts
CHANGED
|
@@ -22,5 +22,6 @@ export declare class NavigationClient implements Navigation {
|
|
|
22
22
|
removeWayPoint(id: string, extra?: {}): Promise<void>;
|
|
23
23
|
getObstacles(extra?: {}): Promise<import("../../gen/common/v1/common_pb").GeoObstacle.AsObject[]>;
|
|
24
24
|
getPaths(extra?: {}): Promise<pb.Path.AsObject[]>;
|
|
25
|
+
getProperties(): Promise<pb.GetPropertiesResponse.AsObject>;
|
|
25
26
|
doCommand(command: StructType): Promise<StructType>;
|
|
26
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GeoObstacle, GeoPoint, Resource, StructType } from '../../types';
|
|
2
|
-
import type { ModeMap, Waypoint, NavigationPosition, Path } from './types';
|
|
2
|
+
import type { ModeMap, Waypoint, NavigationPosition, NavigationProperties, Path } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* A service that uses GPS to automatically navigate a robot to user defined
|
|
5
5
|
* endpoints.
|
|
@@ -35,4 +35,6 @@ export interface Navigation extends Resource {
|
|
|
35
35
|
getObstacles: (extra?: StructType) => Promise<GeoObstacle[]>;
|
|
36
36
|
/** Gets the list of paths known to the navigation service. */
|
|
37
37
|
getPaths: (extra?: StructType) => Promise<Path[]>;
|
|
38
|
+
/** Gets information on the properties of the current navigation service. */
|
|
39
|
+
getProperties: () => Promise<NavigationProperties>;
|
|
38
40
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type { Navigation } from './navigation/navigation';
|
|
2
|
-
export type { ModeMap, Waypoint, NavigationPosition, Path, } from './navigation/types';
|
|
2
|
+
export type { ModeMap, Waypoint, NavigationPosition, Path, NavigationProperties, } from './navigation/types';
|
|
3
3
|
export { NavigationClient } from './navigation/client';
|
|
@@ -17,5 +17,6 @@ export declare class SlamClient implements Slam {
|
|
|
17
17
|
getPointCloudMap: () => Promise<Uint8Array>;
|
|
18
18
|
getInternalState: () => Promise<Uint8Array>;
|
|
19
19
|
getLatestMapInfo(): Promise<Date>;
|
|
20
|
+
getProperties(): Promise<pb.GetPropertiesResponse.AsObject>;
|
|
20
21
|
doCommand(command: StructType): Promise<StructType>;
|
|
21
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Resource } from '../../types';
|
|
2
|
-
import type { SlamPosition } from './types';
|
|
2
|
+
import type { SlamPosition, SlamProperties } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* A service that allows your robot to create a map of its surroundings and find
|
|
5
5
|
* its location within that map.
|
|
@@ -19,4 +19,6 @@ export interface Slam extends Resource {
|
|
|
19
19
|
getInternalState: () => Promise<Uint8Array>;
|
|
20
20
|
/** Get the timestamp of the last update to the point cloud SLAM map. */
|
|
21
21
|
getLatestMapInfo: () => Promise<Date>;
|
|
22
|
+
/** Gets information on the properties of the current SLAM service. */
|
|
23
|
+
getProperties: () => Promise<SlamProperties>;
|
|
22
24
|
}
|
package/dist/services/slam.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viamrobotics/sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1-rc.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/main.umd.js",
|
|
6
6
|
"module": "./dist/main.es.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/viamrobotics/viam-typescript-sdk#readme",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@viamrobotics/rpc": "^0.1
|
|
48
|
+
"@viamrobotics/rpc": "^0.2.1",
|
|
49
49
|
"exponential-backoff": "^3.1.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
@@ -53,28 +53,28 @@
|
|
|
53
53
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
54
54
|
"@improbable-eng/grpc-web-fake-transport": "^0.15.0",
|
|
55
55
|
"@types/google-protobuf": "^3.15.6",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
57
|
-
"@typescript-eslint/parser": "^
|
|
58
|
-
"@viamrobotics/eslint-config": "^0.0
|
|
59
|
-
"@viamrobotics/prettier-config": "^0.
|
|
60
|
-
"@viamrobotics/typescript-config": "^0.0
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
57
|
+
"@typescript-eslint/parser": "^6.17.0",
|
|
58
|
+
"@viamrobotics/eslint-config": "^0.3.0",
|
|
59
|
+
"@viamrobotics/prettier-config": "^0.3.4",
|
|
60
|
+
"@viamrobotics/typescript-config": "^0.1.0",
|
|
61
61
|
"concurrently": "^8.0.1",
|
|
62
62
|
"copyfiles": "^2.4.1",
|
|
63
|
-
"eslint": "^8.
|
|
64
|
-
"eslint-config-prettier": "^
|
|
63
|
+
"eslint": "^8.56.0",
|
|
64
|
+
"eslint-config-prettier": "^9.1.0",
|
|
65
65
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
66
66
|
"google-protobuf": "^3.21.2",
|
|
67
67
|
"grpc-web": "^1.4.2",
|
|
68
68
|
"happy-dom": "^8.2.6",
|
|
69
69
|
"npm-check": "^6.0.1",
|
|
70
|
-
"prettier": "^
|
|
71
|
-
"prettier-plugin-jsdoc": "^
|
|
70
|
+
"prettier": "^3.1.1",
|
|
71
|
+
"prettier-plugin-jsdoc": "^1.1.1",
|
|
72
72
|
"protoc-gen-js": "^3.21.2",
|
|
73
73
|
"ts-protoc-gen": "^0.15.0",
|
|
74
|
-
"typedoc": "^0.
|
|
75
|
-
"typescript": "^5.
|
|
76
|
-
"vite": "^
|
|
77
|
-
"vitest": "^
|
|
74
|
+
"typedoc": "^0.25.4",
|
|
75
|
+
"typescript": "^5.3.3",
|
|
76
|
+
"vite": "^5.0.10",
|
|
77
|
+
"vitest": "^1.1.0",
|
|
78
78
|
"yaml": "^2.3.3"
|
|
79
79
|
}
|
|
80
80
|
}
|