@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.
@@ -19899,6 +19899,7 @@ const vertexvis = $root.vertexvis = (() => {
19899
19899
  * @property {string|null} [jwt] StartStreamResult jwt
19900
19900
  * @property {vertexvis.protobuf.stream.IOrientation|null} [worldOrientation] StartStreamResult worldOrientation
19901
19901
  * @property {vertexvis.protobuf.stream.IToken|null} [token] StartStreamResult token
19902
+ * @property {vertexvis.protobuf.core.IUuid|null} [sceneId] StartStreamResult sceneId
19902
19903
  */
19903
19904
 
19904
19905
  /**
@@ -19964,6 +19965,14 @@ const vertexvis = $root.vertexvis = (() => {
19964
19965
  */
19965
19966
  StartStreamResult.prototype.token = null;
19966
19967
 
19968
+ /**
19969
+ * StartStreamResult sceneId.
19970
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneId
19971
+ * @memberof vertexvis.protobuf.stream.StartStreamResult
19972
+ * @instance
19973
+ */
19974
+ StartStreamResult.prototype.sceneId = null;
19975
+
19967
19976
  /**
19968
19977
  * Creates a new StartStreamResult instance using the specified properties.
19969
19978
  * @function create
@@ -20000,6 +20009,8 @@ const vertexvis = $root.vertexvis = (() => {
20000
20009
  $root.vertexvis.protobuf.stream.Orientation.encode(message.worldOrientation, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
20001
20010
  if (message.token != null && Object.hasOwnProperty.call(message, "token"))
20002
20011
  $root.vertexvis.protobuf.stream.Token.encode(message.token, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
20012
+ if (message.sceneId != null && Object.hasOwnProperty.call(message, "sceneId"))
20013
+ $root.vertexvis.protobuf.core.Uuid.encode(message.sceneId, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
20003
20014
  return writer;
20004
20015
  };
20005
20016
 
@@ -20052,6 +20063,9 @@ const vertexvis = $root.vertexvis = (() => {
20052
20063
  case 6:
20053
20064
  message.token = $root.vertexvis.protobuf.stream.Token.decode(reader, reader.uint32());
20054
20065
  break;
20066
+ case 7:
20067
+ message.sceneId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
20068
+ break;
20055
20069
  default:
20056
20070
  reader.skipType(tag & 7);
20057
20071
  break;
@@ -20115,6 +20129,11 @@ const vertexvis = $root.vertexvis = (() => {
20115
20129
  if (error)
20116
20130
  return "token." + error;
20117
20131
  }
20132
+ if (message.sceneId != null && message.hasOwnProperty("sceneId")) {
20133
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneId);
20134
+ if (error)
20135
+ return "sceneId." + error;
20136
+ }
20118
20137
  return null;
20119
20138
  };
20120
20139
 
@@ -20157,6 +20176,11 @@ const vertexvis = $root.vertexvis = (() => {
20157
20176
  throw TypeError(".vertexvis.protobuf.stream.StartStreamResult.token: object expected");
20158
20177
  message.token = $root.vertexvis.protobuf.stream.Token.fromObject(object.token);
20159
20178
  }
20179
+ if (object.sceneId != null) {
20180
+ if (typeof object.sceneId !== "object")
20181
+ throw TypeError(".vertexvis.protobuf.stream.StartStreamResult.sceneId: object expected");
20182
+ message.sceneId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneId);
20183
+ }
20160
20184
  return message;
20161
20185
  };
20162
20186
 
@@ -20180,6 +20204,7 @@ const vertexvis = $root.vertexvis = (() => {
20180
20204
  object.jwt = "";
20181
20205
  object.worldOrientation = null;
20182
20206
  object.token = null;
20207
+ object.sceneId = null;
20183
20208
  }
20184
20209
  if (message.streamId != null && message.hasOwnProperty("streamId"))
20185
20210
  object.streamId = $root.vertexvis.protobuf.core.Uuid.toObject(message.streamId, options);
@@ -20193,6 +20218,8 @@ const vertexvis = $root.vertexvis = (() => {
20193
20218
  object.worldOrientation = $root.vertexvis.protobuf.stream.Orientation.toObject(message.worldOrientation, options);
20194
20219
  if (message.token != null && message.hasOwnProperty("token"))
20195
20220
  object.token = $root.vertexvis.protobuf.stream.Token.toObject(message.token, options);
20221
+ if (message.sceneId != null && message.hasOwnProperty("sceneId"))
20222
+ object.sceneId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneId, options);
20196
20223
  return object;
20197
20224
  };
20198
20225
 
@@ -35977,6 +36004,7 @@ function startStream(res, meta) {
35977
36004
  if (res === void 0) { res = {}; }
35978
36005
  var def = {
35979
36006
  streamId: { hex: utils.UUID.create() },
36007
+ sceneId: { hex: utils.UUID.create() },
35980
36008
  sceneViewId: { hex: utils.UUID.create() },
35981
36009
  sessionId: { hex: utils.UUID.create() },
35982
36010
  jwt: 'jwt',