@vertexvis/stream-api 0.15.1-canary.7 → 0.15.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.
@@ -19895,6 +19895,7 @@ const vertexvis = $root.vertexvis = (() => {
19895
19895
  * @property {string|null} [jwt] StartStreamResult jwt
19896
19896
  * @property {vertexvis.protobuf.stream.IOrientation|null} [worldOrientation] StartStreamResult worldOrientation
19897
19897
  * @property {vertexvis.protobuf.stream.IToken|null} [token] StartStreamResult token
19898
+ * @property {vertexvis.protobuf.core.IUuid|null} [sceneId] StartStreamResult sceneId
19898
19899
  */
19899
19900
 
19900
19901
  /**
@@ -19960,6 +19961,14 @@ const vertexvis = $root.vertexvis = (() => {
19960
19961
  */
19961
19962
  StartStreamResult.prototype.token = null;
19962
19963
 
19964
+ /**
19965
+ * StartStreamResult sceneId.
19966
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneId
19967
+ * @memberof vertexvis.protobuf.stream.StartStreamResult
19968
+ * @instance
19969
+ */
19970
+ StartStreamResult.prototype.sceneId = null;
19971
+
19963
19972
  /**
19964
19973
  * Creates a new StartStreamResult instance using the specified properties.
19965
19974
  * @function create
@@ -19996,6 +20005,8 @@ const vertexvis = $root.vertexvis = (() => {
19996
20005
  $root.vertexvis.protobuf.stream.Orientation.encode(message.worldOrientation, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
19997
20006
  if (message.token != null && Object.hasOwnProperty.call(message, "token"))
19998
20007
  $root.vertexvis.protobuf.stream.Token.encode(message.token, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
20008
+ if (message.sceneId != null && Object.hasOwnProperty.call(message, "sceneId"))
20009
+ $root.vertexvis.protobuf.core.Uuid.encode(message.sceneId, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
19999
20010
  return writer;
20000
20011
  };
20001
20012
 
@@ -20048,6 +20059,9 @@ const vertexvis = $root.vertexvis = (() => {
20048
20059
  case 6:
20049
20060
  message.token = $root.vertexvis.protobuf.stream.Token.decode(reader, reader.uint32());
20050
20061
  break;
20062
+ case 7:
20063
+ message.sceneId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
20064
+ break;
20051
20065
  default:
20052
20066
  reader.skipType(tag & 7);
20053
20067
  break;
@@ -20111,6 +20125,11 @@ const vertexvis = $root.vertexvis = (() => {
20111
20125
  if (error)
20112
20126
  return "token." + error;
20113
20127
  }
20128
+ if (message.sceneId != null && message.hasOwnProperty("sceneId")) {
20129
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneId);
20130
+ if (error)
20131
+ return "sceneId." + error;
20132
+ }
20114
20133
  return null;
20115
20134
  };
20116
20135
 
@@ -20153,6 +20172,11 @@ const vertexvis = $root.vertexvis = (() => {
20153
20172
  throw TypeError(".vertexvis.protobuf.stream.StartStreamResult.token: object expected");
20154
20173
  message.token = $root.vertexvis.protobuf.stream.Token.fromObject(object.token);
20155
20174
  }
20175
+ if (object.sceneId != null) {
20176
+ if (typeof object.sceneId !== "object")
20177
+ throw TypeError(".vertexvis.protobuf.stream.StartStreamResult.sceneId: object expected");
20178
+ message.sceneId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneId);
20179
+ }
20156
20180
  return message;
20157
20181
  };
20158
20182
 
@@ -20176,6 +20200,7 @@ const vertexvis = $root.vertexvis = (() => {
20176
20200
  object.jwt = "";
20177
20201
  object.worldOrientation = null;
20178
20202
  object.token = null;
20203
+ object.sceneId = null;
20179
20204
  }
20180
20205
  if (message.streamId != null && message.hasOwnProperty("streamId"))
20181
20206
  object.streamId = $root.vertexvis.protobuf.core.Uuid.toObject(message.streamId, options);
@@ -20189,6 +20214,8 @@ const vertexvis = $root.vertexvis = (() => {
20189
20214
  object.worldOrientation = $root.vertexvis.protobuf.stream.Orientation.toObject(message.worldOrientation, options);
20190
20215
  if (message.token != null && message.hasOwnProperty("token"))
20191
20216
  object.token = $root.vertexvis.protobuf.stream.Token.toObject(message.token, options);
20217
+ if (message.sceneId != null && message.hasOwnProperty("sceneId"))
20218
+ object.sceneId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneId, options);
20192
20219
  return object;
20193
20220
  };
20194
20221
 
@@ -35973,6 +36000,7 @@ function startStream(res, meta) {
35973
36000
  if (res === void 0) { res = {}; }
35974
36001
  var def = {
35975
36002
  streamId: { hex: UUID.create() },
36003
+ sceneId: { hex: UUID.create() },
35976
36004
  sceneViewId: { hex: UUID.create() },
35977
36005
  sessionId: { hex: UUID.create() },
35978
36006
  jwt: 'jwt',