@blueyerobotics/protocol-definitions 3.3.0-fe575d02 → 3.4.0-38c6a3b0
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/README.md +24 -0
- package/README.npm.md +24 -0
- package/dist/aquatroll.js +113 -132
- package/dist/control.d.ts +32 -3
- package/dist/control.js +539 -399
- package/dist/google/protobuf/any.js +5 -8
- package/dist/google/protobuf/duration.js +5 -8
- package/dist/google/protobuf/timestamp.js +5 -8
- package/dist/index.blueye.d.ts +1 -1
- package/dist/index.blueye.js +1 -37
- package/dist/index.blueye.protocol.d.ts +6 -6
- package/dist/index.blueye.protocol.js +6 -22
- package/dist/index.d.ts +2 -2
- package/dist/index.google.d.ts +1 -1
- package/dist/index.google.js +1 -37
- package/dist/index.google.protobuf.d.ts +3 -3
- package/dist/index.google.protobuf.js +3 -19
- package/dist/index.js +2 -38
- package/dist/message_formats.d.ts +259 -8
- package/dist/message_formats.js +2637 -1096
- package/dist/mission_planning.d.ts +1 -1
- package/dist/mission_planning.js +208 -223
- package/dist/req_rep.d.ts +23 -3
- package/dist/req_rep.js +473 -296
- package/dist/telemetry.d.ts +45 -3
- package/dist/telemetry.js +930 -646
- package/package.json +13 -3
package/README.md
CHANGED
|
@@ -8,6 +8,30 @@ TypeScript protobuf definitions for Blueye Robotics protocols generated using [t
|
|
|
8
8
|
npm install @blueyerobotics/protocol-definitions
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Module format
|
|
12
|
+
|
|
13
|
+
This package ships ES modules only — there is no separate CommonJS build. Both
|
|
14
|
+
`import` and `require()` work on current Node.js releases.
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { blueye } from "@blueyerobotics/protocol-definitions";
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`require()` is supported on Node.js 22.12+ (or 20.19+), which can load an ES
|
|
21
|
+
module from CommonJS:
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
const { blueye } = require("@blueyerobotics/protocol-definitions");
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
On older Node.js versions `require()` fails with `ERR_REQUIRE_ESM` — use `import`
|
|
28
|
+
or a dynamic `await import()` instead.
|
|
29
|
+
|
|
30
|
+
The package root is the supported entry point. Individual generated modules stay
|
|
31
|
+
reachable under `./dist/`, with or without the `.js` extension (for example
|
|
32
|
+
`@blueyerobotics/protocol-definitions/dist/telemetry`) if you want to import a
|
|
33
|
+
single protocol file to keep bundles small.
|
|
34
|
+
|
|
11
35
|
## Usage
|
|
12
36
|
|
|
13
37
|
```ts
|
package/README.npm.md
CHANGED
|
@@ -8,6 +8,30 @@ TypeScript protobuf definitions for Blueye Robotics protocols generated using [t
|
|
|
8
8
|
npm install @blueyerobotics/protocol-definitions
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Module format
|
|
12
|
+
|
|
13
|
+
This package ships ES modules only — there is no separate CommonJS build. Both
|
|
14
|
+
`import` and `require()` work on current Node.js releases.
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { blueye } from "@blueyerobotics/protocol-definitions";
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`require()` is supported on Node.js 22.12+ (or 20.19+), which can load an ES
|
|
21
|
+
module from CommonJS:
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
const { blueye } = require("@blueyerobotics/protocol-definitions");
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
On older Node.js versions `require()` fails with `ERR_REQUIRE_ESM` — use `import`
|
|
28
|
+
or a dynamic `await import()` instead.
|
|
29
|
+
|
|
30
|
+
The package root is the supported entry point. Individual generated modules stay
|
|
31
|
+
reachable under `./dist/`, with or without the `.js` extension (for example
|
|
32
|
+
`@blueyerobotics/protocol-definitions/dist/telemetry`) if you want to import a
|
|
33
|
+
single protocol file to keep bundles small.
|
|
34
|
+
|
|
11
35
|
## Usage
|
|
12
36
|
|
|
13
37
|
```ts
|