@blueyerobotics/protocol-definitions 3.3.0-e472bef2 → 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.
@@ -1,18 +1,15 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
5
  // source: google/protobuf/any.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Any = void 0;
9
6
  /* eslint-disable */
10
- const wire_1 = require("@bufbuild/protobuf/wire");
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
11
8
  function createBaseAny() {
12
9
  return { typeUrl: "", value: new Uint8Array(0) };
13
10
  }
14
- exports.Any = {
15
- encode(message, writer = new wire_1.BinaryWriter()) {
11
+ export const Any = {
12
+ encode(message, writer = new BinaryWriter()) {
16
13
  if (message.typeUrl !== "") {
17
14
  writer.uint32(10).string(message.typeUrl);
18
15
  }
@@ -22,7 +19,7 @@ exports.Any = {
22
19
  return writer;
23
20
  },
24
21
  decode(input, length) {
25
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
22
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
26
23
  const end = length === undefined ? reader.len : reader.pos + length;
27
24
  const message = createBaseAny();
28
25
  while (reader.pos < end) {
@@ -67,7 +64,7 @@ exports.Any = {
67
64
  return obj;
68
65
  },
69
66
  create(base) {
70
- return exports.Any.fromPartial(base ?? {});
67
+ return Any.fromPartial(base ?? {});
71
68
  },
72
69
  fromPartial(object) {
73
70
  const message = createBaseAny();
@@ -1,18 +1,15 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
5
  // source: google/protobuf/duration.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Duration = void 0;
9
6
  /* eslint-disable */
10
- const wire_1 = require("@bufbuild/protobuf/wire");
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
11
8
  function createBaseDuration() {
12
9
  return { seconds: 0, nanos: 0 };
13
10
  }
14
- exports.Duration = {
15
- encode(message, writer = new wire_1.BinaryWriter()) {
11
+ export const Duration = {
12
+ encode(message, writer = new BinaryWriter()) {
16
13
  if (message.seconds !== 0) {
17
14
  writer.uint32(8).int64(message.seconds);
18
15
  }
@@ -22,7 +19,7 @@ exports.Duration = {
22
19
  return writer;
23
20
  },
24
21
  decode(input, length) {
25
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
22
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
26
23
  const end = length === undefined ? reader.len : reader.pos + length;
27
24
  const message = createBaseDuration();
28
25
  while (reader.pos < end) {
@@ -67,7 +64,7 @@ exports.Duration = {
67
64
  return obj;
68
65
  },
69
66
  create(base) {
70
- return exports.Duration.fromPartial(base ?? {});
67
+ return Duration.fromPartial(base ?? {});
71
68
  },
72
69
  fromPartial(object) {
73
70
  const message = createBaseDuration();
@@ -1,18 +1,15 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
5
  // source: google/protobuf/timestamp.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Timestamp = void 0;
9
6
  /* eslint-disable */
10
- const wire_1 = require("@bufbuild/protobuf/wire");
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
11
8
  function createBaseTimestamp() {
12
9
  return { seconds: 0, nanos: 0 };
13
10
  }
14
- exports.Timestamp = {
15
- encode(message, writer = new wire_1.BinaryWriter()) {
11
+ export const Timestamp = {
12
+ encode(message, writer = new BinaryWriter()) {
16
13
  if (message.seconds !== 0) {
17
14
  writer.uint32(8).int64(message.seconds);
18
15
  }
@@ -22,7 +19,7 @@ exports.Timestamp = {
22
19
  return writer;
23
20
  },
24
21
  decode(input, length) {
25
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
22
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
26
23
  const end = length === undefined ? reader.len : reader.pos + length;
27
24
  const message = createBaseTimestamp();
28
25
  while (reader.pos < end) {
@@ -67,7 +64,7 @@ exports.Timestamp = {
67
64
  return obj;
68
65
  },
69
66
  create(base) {
70
- return exports.Timestamp.fromPartial(base ?? {});
67
+ return Timestamp.fromPartial(base ?? {});
71
68
  },
72
69
  fromPartial(object) {
73
70
  const message = createBaseTimestamp();
@@ -1 +1 @@
1
- export * as protocol from "./index.blueye.protocol";
1
+ export * as protocol from "./index.blueye.protocol.js";
@@ -1,42 +1,6 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
- Object.defineProperty(o, "default", { enumerable: true, value: v });
19
- }) : function(o, v) {
20
- o["default"] = v;
21
- });
22
- var __importStar = (this && this.__importStar) || (function () {
23
- var ownKeys = function(o) {
24
- ownKeys = Object.getOwnPropertyNames || function (o) {
25
- var ar = [];
26
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
27
- return ar;
28
- };
29
- return ownKeys(o);
30
- };
31
- return function (mod) {
32
- if (mod && mod.__esModule) return mod;
33
- var result = {};
34
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
35
- __setModuleDefault(result, mod);
36
- return result;
37
- };
38
- })();
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.protocol = void 0;
41
5
  /* eslint-disable */
42
- exports.protocol = __importStar(require("./index.blueye.protocol"));
6
+ export * as protocol from "./index.blueye.protocol.js";
@@ -1,6 +1,6 @@
1
- export * from "./aquatroll";
2
- export * from "./message_formats";
3
- export * from "./control";
4
- export * from "./mission_planning";
5
- export * from "./req_rep";
6
- export * from "./telemetry";
1
+ export * from "./aquatroll.js";
2
+ export * from "./message_formats.js";
3
+ export * from "./control.js";
4
+ export * from "./mission_planning.js";
5
+ export * from "./req_rep.js";
6
+ export * from "./telemetry.js";
@@ -1,27 +1,11 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
5
  /* eslint-disable */
22
- __exportStar(require("./aquatroll"), exports);
23
- __exportStar(require("./message_formats"), exports);
24
- __exportStar(require("./control"), exports);
25
- __exportStar(require("./mission_planning"), exports);
26
- __exportStar(require("./req_rep"), exports);
27
- __exportStar(require("./telemetry"), exports);
6
+ export * from "./aquatroll.js";
7
+ export * from "./message_formats.js";
8
+ export * from "./control.js";
9
+ export * from "./mission_planning.js";
10
+ export * from "./req_rep.js";
11
+ export * from "./telemetry.js";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * as google from "./index.google";
2
- export * as blueye from "./index.blueye";
1
+ export * as google from "./index.google.js";
2
+ export * as blueye from "./index.blueye.js";
@@ -1 +1 @@
1
- export * as protobuf from "./index.google.protobuf";
1
+ export * as protobuf from "./index.google.protobuf.js";
@@ -1,42 +1,6 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
- Object.defineProperty(o, "default", { enumerable: true, value: v });
19
- }) : function(o, v) {
20
- o["default"] = v;
21
- });
22
- var __importStar = (this && this.__importStar) || (function () {
23
- var ownKeys = function(o) {
24
- ownKeys = Object.getOwnPropertyNames || function (o) {
25
- var ar = [];
26
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
27
- return ar;
28
- };
29
- return ownKeys(o);
30
- };
31
- return function (mod) {
32
- if (mod && mod.__esModule) return mod;
33
- var result = {};
34
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
35
- __setModuleDefault(result, mod);
36
- return result;
37
- };
38
- })();
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.protobuf = void 0;
41
5
  /* eslint-disable */
42
- exports.protobuf = __importStar(require("./index.google.protobuf"));
6
+ export * as protobuf from "./index.google.protobuf.js";
@@ -1,3 +1,3 @@
1
- export * from "./google/protobuf/timestamp";
2
- export * from "./google/protobuf/any";
3
- export * from "./google/protobuf/duration";
1
+ export * from "./google/protobuf/timestamp.js";
2
+ export * from "./google/protobuf/any.js";
3
+ export * from "./google/protobuf/duration.js";
@@ -1,24 +1,8 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
5
  /* eslint-disable */
22
- __exportStar(require("./google/protobuf/timestamp"), exports);
23
- __exportStar(require("./google/protobuf/any"), exports);
24
- __exportStar(require("./google/protobuf/duration"), exports);
6
+ export * from "./google/protobuf/timestamp.js";
7
+ export * from "./google/protobuf/any.js";
8
+ export * from "./google/protobuf/duration.js";
package/dist/index.js CHANGED
@@ -1,43 +1,7 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.7
5
4
  // protoc v3.21.12
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
- Object.defineProperty(o, "default", { enumerable: true, value: v });
19
- }) : function(o, v) {
20
- o["default"] = v;
21
- });
22
- var __importStar = (this && this.__importStar) || (function () {
23
- var ownKeys = function(o) {
24
- ownKeys = Object.getOwnPropertyNames || function (o) {
25
- var ar = [];
26
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
27
- return ar;
28
- };
29
- return ownKeys(o);
30
- };
31
- return function (mod) {
32
- if (mod && mod.__esModule) return mod;
33
- var result = {};
34
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
35
- __setModuleDefault(result, mod);
36
- return result;
37
- };
38
- })();
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.blueye = exports.google = void 0;
41
5
  /* eslint-disable */
42
- exports.google = __importStar(require("./index.google"));
43
- exports.blueye = __importStar(require("./index.blueye"));
6
+ export * as google from "./index.google.js";
7
+ export * as blueye from "./index.blueye.js";