@luxonis/visualizer-protobuf 2.5.0 → 2.5.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.
@@ -1,4 +1,4 @@
1
- import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-NHpCmWRz.js';
1
+ import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ap as foldNodeProp, aM as bracketMatchingHandle, at as LanguageSupport, aI as EditorView, ay as syntaxTree, aJ as EditorSelection } from './index-NHpCmWRz.js';
1
+ import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ap as foldNodeProp, aM as bracketMatchingHandle, at as LanguageSupport, aI as EditorView, ay as syntaxTree, aJ as EditorSelection } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, ap as foldNodeProp, aB as foldInside, an as indentNodeProp, ao as continuedIndent, aH as defineCSSCompletionSource, at as LanguageSupport } from './index-NHpCmWRz.js';
1
+ import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, ap as foldNodeProp, aB as foldInside, an as indentNodeProp, ao as continuedIndent, aH as defineCSSCompletionSource, at as LanguageSupport } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aK as html, at as LanguageSupport, aL as parseMixed } from './index-NHpCmWRz.js';
1
+ import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aK as html, at as LanguageSupport, aL as parseMixed } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aq as styleTags, ar as tags, at as LanguageSupport, av as LRParser } from './index-NHpCmWRz.js';
1
+ import { as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aq as styleTags, ar as tags, at as LanguageSupport, av as LRParser } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, aD as LocalTokenGroup, aE as snippetCompletion, ay as syntaxTree, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aw as ifNotIn, ax as completeFromList, aF as IterMode, aG as NodeWeakMap } from './index-NHpCmWRz.js';
1
+ import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, aD as LocalTokenGroup, aE as snippetCompletion, ay as syntaxTree, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aw as ifNotIn, ax as completeFromList, aF as IterMode, aG as NodeWeakMap } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -11846,6 +11846,7 @@ class FoxgloveConnection {
11846
11846
  });
11847
11847
  }
11848
11848
 
11849
+ // biome-ignore lint/suspicious/noExplicitAny: See https://github.com/biomejs/biome/issues/4906
11849
11850
  class EventEmitter {
11850
11851
  id = 0;
11851
11852
  handlers = {};
@@ -11869,7 +11870,7 @@ class EventEmitter {
11869
11870
  if (!this.handlers[key]) {
11870
11871
  return;
11871
11872
  }
11872
- const index = this.handlers[key].findIndex(handler => handler.id === id);
11873
+ const index = this.handlers[key].findIndex((handler) => handler.id === id);
11873
11874
  if (index > 0) {
11874
11875
  this.handlers[key].splice(index, 1);
11875
11876
  }
@@ -11900,54 +11901,62 @@ class WebRtcDataChannel {
11900
11901
  withFragmentation;
11901
11902
  events = new EventEmitter();
11902
11903
  oldMessages = [];
11903
- buffer = new Uint8Array(0);
11904
+ buffers = new Map();
11904
11905
  constructor(channel, withFragmentation = false) {
11905
11906
  this.channel = channel;
11906
11907
  this.withFragmentation = withFragmentation;
11907
- this.channel.addEventListener('error', event => this.events.emit('error', [event]));
11908
- this.channel.addEventListener('message', async (event) => {
11909
- if (channel.label === 'ping-pong') {
11910
- this.sendMessage('pong');
11908
+ this.channel.addEventListener("error", (event) => this.events.emit("error", [event]));
11909
+ this.channel.addEventListener("message", async (event) => {
11910
+ if (channel.label === "ping-pong") {
11911
+ this.sendMessage("pong");
11911
11912
  }
11912
11913
  if (!this.withFragmentation) {
11913
- this.events.emit('message', [event]);
11914
+ this.events.emit("message", [event]);
11914
11915
  return;
11915
11916
  }
11916
- const buffer = event.data instanceof ArrayBuffer ? event.data : await event.data.arrayBuffer();
11917
+ const buffer = event.data instanceof ArrayBuffer
11918
+ ? event.data
11919
+ : await event.data.arrayBuffer();
11917
11920
  const view = new DataView(buffer);
11918
11921
  const totalChunks = view.getUint32(0);
11919
11922
  const chunkIndex = view.getUint32(4);
11920
- const data = new Uint8Array(buffer, 8).slice(0);
11923
+ const messageId = view.getUint32(8);
11924
+ const data = new Uint8Array(buffer, 12).slice(0);
11921
11925
  if (totalChunks !== 1) {
11922
- this.appendChunk(data);
11926
+ this.appendChunk(messageId, data);
11923
11927
  if (totalChunks - 1 !== chunkIndex) {
11924
11928
  return;
11925
11929
  }
11926
11930
  }
11927
- const completeData = totalChunks === 1 ? data : this.buffer;
11928
- this.events.emit('message', [
11929
- new MessageEvent('message', {
11931
+ const completeData =
11932
+ // biome-ignore lint/style/noNonNullAssertion: Buffer is definitely created above
11933
+ totalChunks === 1 ? data : this.buffers.get(messageId);
11934
+ this.events.emit("message", [
11935
+ new MessageEvent("message", {
11930
11936
  data: completeData.buffer,
11931
11937
  }),
11932
11938
  ]);
11933
11939
  if (totalChunks !== 1) {
11934
- this.buffer = new Uint8Array(0);
11940
+ this.buffers.delete(messageId);
11935
11941
  }
11936
11942
  });
11937
- this.channel.addEventListener('close', event => this.events.emit('close', [event]));
11938
- this.channel.addEventListener('open', event => {
11939
- this.events.emit('open', [event]);
11943
+ this.channel.addEventListener("close", (event) => this.events.emit("close", [event]));
11944
+ this.channel.addEventListener("open", (event) => {
11945
+ this.events.emit("open", [event]);
11940
11946
  for (const message of this.oldMessages) {
11941
11947
  this.sendMessage(message);
11942
11948
  }
11943
11949
  this.oldMessages = [];
11944
11950
  });
11945
11951
  }
11946
- appendChunk(bytes) {
11947
- const newBuffer = new Uint8Array(this.buffer.byteLength + bytes.byteLength);
11948
- newBuffer.set(this.buffer, 0);
11949
- newBuffer.set(bytes, this.buffer.byteLength);
11950
- this.buffer = newBuffer;
11952
+ appendChunk(messageId, bytes) {
11953
+ const buffer = this.buffers.get(messageId);
11954
+ const newBuffer = new Uint8Array((buffer?.byteLength ?? 0) + bytes.byteLength);
11955
+ if (buffer) {
11956
+ newBuffer.set(buffer, 0);
11957
+ }
11958
+ newBuffer.set(bytes, buffer?.byteLength ?? 0);
11959
+ this.buffers.set(messageId, newBuffer);
11951
11960
  }
11952
11961
  get raw() {
11953
11962
  return this.channel;
@@ -11956,8 +11965,10 @@ class WebRtcDataChannel {
11956
11965
  return this.channel.label;
11957
11966
  }
11958
11967
  sendMessage(message) {
11959
- if (this.channel.readyState === 'open') {
11960
- const chunks = message instanceof DataView && this.withFragmentation ? makeChunks(message) : [message];
11968
+ if (this.channel.readyState === "open") {
11969
+ const chunks = message instanceof DataView && this.withFragmentation
11970
+ ? makeChunks(message)
11971
+ : [message];
11961
11972
  for (const chunk of chunks) {
11962
11973
  this.channel.send(chunk);
11963
11974
  }
@@ -11973,29 +11984,39 @@ class WebRtcDataChannel {
11973
11984
  * **only** if you are sure that all messages sent over this channel will contain text.
11974
11985
  */
11975
11986
  onTextMessage(callback) {
11976
- return this.events.on('message', async (event) => {
11977
- const buffer = event.data instanceof ArrayBuffer ? event.data : await event.data.arrayBuffer();
11978
- const message = new TextDecoder('utf-8').decode(buffer);
11987
+ this.events.on("message", async (event) => {
11988
+ const buffer = event.data instanceof ArrayBuffer
11989
+ ? event.data
11990
+ : await event.data.arrayBuffer();
11991
+ const message = new TextDecoder("utf-8").decode(buffer);
11979
11992
  callback(message);
11980
11993
  });
11981
11994
  }
11982
11995
  on(event, callback) {
11983
- const specificMessageEvents = ['message:binary', 'message:string', 'message:json'];
11996
+ const specificMessageEvents = [
11997
+ "message:binary",
11998
+ "message:string",
11999
+ "message:json",
12000
+ ];
11984
12001
  if (!specificMessageEvents.includes(event)) {
11985
12002
  return this.events.on(event, callback);
11986
12003
  }
11987
- return this.events.on('message', async (rawEvent) => {
11988
- const buffer = rawEvent.data instanceof ArrayBuffer ? rawEvent.data : await rawEvent.data.arrayBuffer();
11989
- if (event === 'message:binary') {
12004
+ return this.events.on("message", async (rawEvent) => {
12005
+ const buffer = rawEvent.data instanceof ArrayBuffer
12006
+ ? rawEvent.data
12007
+ : await rawEvent.data.arrayBuffer();
12008
+ if (event === "message:binary") {
11990
12009
  const view = new DataView(buffer);
12010
+ // biome-ignore lint/suspicious/noExplicitAny: TS is weak
11991
12011
  callback(view);
11992
12012
  }
11993
12013
  else {
11994
- const message = new TextDecoder('utf-8').decode(buffer);
11995
- if (event === 'message:string') {
12014
+ const message = new TextDecoder("utf-8").decode(buffer);
12015
+ if (event === "message:string") {
12016
+ // biome-ignore lint/suspicious/noExplicitAny: TS is weak
11996
12017
  callback(message);
11997
12018
  }
11998
- else if (event === 'message:json') {
12019
+ else if (event === "message:json") {
11999
12020
  callback(JSON.parse(message));
12000
12021
  }
12001
12022
  }
@@ -12011,42 +12032,40 @@ class WebRtcConnection {
12011
12032
  onIceCandidate;
12012
12033
  onConnectionEstablished;
12013
12034
  constructor(args) {
12014
- this.iceServers = args.iceServers;
12035
+ this.iceServers = args.iceServers ?? [];
12015
12036
  this.onIceCandidate = args.onCandidate;
12016
12037
  this.onConnectionEstablished = args.onConnectionEstablished;
12017
12038
  this.#peerConnection = this.createPeerConnection(args.withFragmentation);
12018
12039
  }
12019
12040
  createPeerConnection(withFragmentation = false) {
12020
- const config = {
12021
- iceServers: this.iceServers ?? [],
12022
- };
12023
- const connection = new RTCPeerConnection(config);
12024
- connection.addEventListener('connectionstatechange', () => {
12025
- if (connection.connectionState === 'disconnected' ||
12026
- connection.connectionState === 'failed' ||
12027
- connection.connectionState === 'closed') {
12028
- this.events.emit('connection_closed', []);
12041
+ console.log("Using ICE servers:", this.iceServers);
12042
+ const connection = new RTCPeerConnection({ iceServers: this.iceServers });
12043
+ connection.addEventListener("connectionstatechange", () => {
12044
+ if (connection.connectionState === "disconnected" ||
12045
+ connection.connectionState === "failed" ||
12046
+ connection.connectionState === "closed") {
12047
+ this.events.emit("connection_closed", []);
12029
12048
  this.connected = false;
12030
12049
  }
12031
12050
  });
12032
- connection.addEventListener('iceconnectionstatechange', () => {
12033
- if (connection.connectionState === 'connected') {
12051
+ connection.addEventListener("iceconnectionstatechange", () => {
12052
+ if (connection.connectionState === "connected") {
12034
12053
  this.onConnectionEstablished();
12035
12054
  this.connected = true;
12036
12055
  }
12037
12056
  else if (this.connected) {
12038
- this.events.emit('connection_closed', []);
12057
+ this.events.emit("connection_closed", []);
12039
12058
  this.connected = false;
12040
12059
  }
12041
12060
  });
12042
- connection.onicecandidate = event => {
12061
+ connection.onicecandidate = (event) => {
12043
12062
  if (event.candidate) {
12044
12063
  this.onIceCandidate(event.candidate);
12045
12064
  }
12046
12065
  };
12047
- connection.addEventListener('datachannel', event => {
12048
- const channel = new WebRtcDataChannel(event.channel, event.channel.label !== 'ping-pong' && withFragmentation);
12049
- this.events.emit('data_channel', [channel]);
12066
+ connection.addEventListener("datachannel", (event) => {
12067
+ const channel = new WebRtcDataChannel(event.channel, event.channel.label !== "ping-pong" && withFragmentation);
12068
+ this.events.emit("data_channel", [channel]);
12050
12069
  });
12051
12070
  return connection;
12052
12071
  }
@@ -12061,7 +12080,7 @@ class WebRtcConnection {
12061
12080
  return this.#peerConnection.setRemoteDescription({ type, sdp });
12062
12081
  }
12063
12082
  async createDescription(type) {
12064
- const description = await this.#peerConnection[type === 'offer' ? 'createOffer' : 'createAnswer']();
12083
+ const description = await this.#peerConnection[type === "offer" ? "createOffer" : "createAnswer"]();
12065
12084
  await this.#peerConnection.setLocalDescription(description);
12066
12085
  return description;
12067
12086
  }
@@ -12069,12 +12088,13 @@ class WebRtcConnection {
12069
12088
  return this.#peerConnection.addIceCandidate(new RTCIceCandidate(candidate));
12070
12089
  }
12071
12090
  close() {
12072
- return this.#peerConnection.close();
12091
+ this.#peerConnection.close();
12073
12092
  }
12074
12093
  on = this.events.on.bind(this.events);
12075
12094
  }
12076
12095
 
12077
- const DEFAULT_SIGNALING_SERVER_URL = 'wss://signal.cloud.luxonis.com/session/';
12096
+ const ICE_SERVERS_API_ENDPOINT = "https://signal.cloud.luxonis.com/api/v1/turn-credentials";
12097
+ const DEFAULT_SIGNALING_SERVER_URL = "wss://signal.cloud.luxonis.com/session/";
12078
12098
  class WebRtcClient {
12079
12099
  config;
12080
12100
  socket;
@@ -12084,9 +12104,24 @@ class WebRtcClient {
12084
12104
  iceCandidates = [];
12085
12105
  constructor(config) {
12086
12106
  this.config = config;
12087
- this.signalingConnectionRetries = (config.signalingConnectionRetries ?? 3) || 0;
12107
+ this.config.iceServers ??= [];
12108
+ this.signalingConnectionRetries =
12109
+ (config.signalingConnectionRetries ?? 3) || 0;
12088
12110
  this.connectSignalingServer();
12089
12111
  }
12112
+ async useLuxonisIceServers() {
12113
+ try {
12114
+ const response = await fetch(ICE_SERVERS_API_ENDPOINT);
12115
+ const data = (await response.json());
12116
+ if (data.iceServers) {
12117
+ // biome-ignore lint/style/noNonNullAssertion: Always set in the constructor
12118
+ this.config.iceServers.push(data.iceServers);
12119
+ }
12120
+ }
12121
+ catch (error) {
12122
+ console.error("DAI Connection Error: Cannot retrieve ICE servers, falling back to default:", error);
12123
+ }
12124
+ }
12090
12125
  get signalingServerConnected() {
12091
12126
  return this.socket.readyState === WebSocket.OPEN;
12092
12127
  }
@@ -12094,7 +12129,7 @@ class WebRtcClient {
12094
12129
  this.connection?.close();
12095
12130
  this.sendMessage({
12096
12131
  Disconnect: {
12097
- type: 'normal',
12132
+ type: "normal",
12098
12133
  reason,
12099
12134
  },
12100
12135
  });
@@ -12114,22 +12149,23 @@ class WebRtcClient {
12114
12149
  this.connect();
12115
12150
  };
12116
12151
  // this.socket.onclose = () => console.debug('[WebRTC] Disconnected from signaling server');
12117
- this.socket.onerror = error => {
12118
- this.events.emit('error', ['signaling_connection_error', error]);
12119
- if (!this.events.isEventHandled('error')) {
12120
- console.error('[WebRTC] Signaling connection error:', error);
12152
+ this.socket.onerror = (error) => {
12153
+ this.events.emit("error", ["signaling_connection_error", error]);
12154
+ if (!this.events.isEventHandled("error")) {
12155
+ console.error("[WebRTC] Signaling connection error:", error);
12121
12156
  }
12122
12157
  setTimeout(() => {
12123
12158
  if (this.signalingConnectionRetries) {
12124
12159
  this.signalingConnectionRetries -= 1;
12125
- if (this.socket.readyState === WebSocket.CLOSED || this.socket.readyState === WebSocket.CLOSING) {
12160
+ if (this.socket.readyState === WebSocket.CLOSED ||
12161
+ this.socket.readyState === WebSocket.CLOSING) {
12126
12162
  // console.debug('[WebRTC] Reconnecting to signaling server');
12127
12163
  this.connectSignalingServer();
12128
12164
  }
12129
12165
  }
12130
12166
  }, 3_000);
12131
12167
  };
12132
- this.socket.onmessage = event => {
12168
+ this.socket.onmessage = (event) => {
12133
12169
  const message = JSON.parse(event.data);
12134
12170
  this.handleSignalingMessage(message);
12135
12171
  };
@@ -12138,7 +12174,7 @@ class WebRtcClient {
12138
12174
  if (this.signalingServerConnected) {
12139
12175
  this.sendMessage({
12140
12176
  Disconnect: {
12141
- type: 'normal',
12177
+ type: "normal",
12142
12178
  reason,
12143
12179
  },
12144
12180
  });
@@ -12146,38 +12182,46 @@ class WebRtcClient {
12146
12182
  }
12147
12183
  }
12148
12184
  handleSignalingMessage(message) {
12149
- if ('AcknowledgeSession' in message) {
12185
+ if ("AcknowledgeSession" in message) {
12150
12186
  if (message.AcknowledgeSession.acknowledge) {
12151
- this.createConnection();
12187
+ if (this.config.useLuxonisIceServers) {
12188
+ this.useLuxonisIceServers().then(() => this.createConnection());
12189
+ }
12190
+ else {
12191
+ this.createConnection();
12192
+ }
12152
12193
  }
12153
12194
  else {
12154
- if (!this.events.isEventHandled('error')) {
12155
- console.error('[WebRTC] Connection refused:', message.AcknowledgeSession.reason);
12195
+ if (!this.events.isEventHandled("error")) {
12196
+ console.error("[WebRTC] Connection refused:", message.AcknowledgeSession.reason);
12156
12197
  }
12157
- this.events.emit('error', ['signaling_rejected', message.AcknowledgeSession.reason]);
12158
- this.dispose('Connection refused');
12198
+ this.events.emit("error", [
12199
+ "signaling_rejected",
12200
+ message.AcknowledgeSession.reason,
12201
+ ]);
12202
+ this.dispose("Connection refused");
12159
12203
  }
12160
12204
  }
12161
- else if ('Candidate' in message) {
12205
+ else if ("Candidate" in message) {
12162
12206
  void this.handleCandidateMessage(message);
12163
12207
  }
12164
- else if ('Disconnect' in message) {
12165
- this.dispose('Targed disconnected');
12208
+ else if ("Disconnect" in message) {
12209
+ this.dispose("Targed disconnected");
12166
12210
  }
12167
12211
  }
12168
- async handleCandidateMessage({ Candidate: { type: kind, candidate } }) {
12212
+ async handleCandidateMessage({ Candidate: { type: kind, candidate }, }) {
12169
12213
  if (!this.connection) {
12170
12214
  // console.error('[WebRTC] Candidate message dropped: conenction not established');
12171
12215
  return;
12172
12216
  }
12173
12217
  // console.debug('[WebRTC] Processing candidate message', kind);
12174
12218
  switch (kind) {
12175
- case 'answer':
12176
- case 'offer': {
12219
+ case "answer":
12220
+ case "offer": {
12177
12221
  const data = `${candidate}`;
12178
- if (data === 'null' || data === '') {
12179
- console.error('[WebRTC] Offer refused: remote description cannot be null');
12180
- this.reconnect('Error: received invalid candidate');
12222
+ if (data === "null" || data === "") {
12223
+ console.error("[WebRTC] Offer refused: remote description cannot be null");
12224
+ this.reconnect("Error: received invalid candidate");
12181
12225
  return;
12182
12226
  }
12183
12227
  // console.debug('[WebRTC] Offer accepted. Setting remote description..');
@@ -12188,19 +12232,19 @@ class WebRtcClient {
12188
12232
  void this.connection.addIceCandidate(JSON.parse(iceCandidate));
12189
12233
  }
12190
12234
  this.iceCandidates = [];
12191
- if (kind === 'offer') {
12192
- const answer = await this.connection.createDescription('answer');
12235
+ if (kind === "offer") {
12236
+ const answer = await this.connection.createDescription("answer");
12193
12237
  // console.debug('[WebRTC] Answer created (set local description)');
12194
12238
  this.sendMessage({
12195
12239
  Candidate: {
12196
- type: 'answer',
12197
- candidate: answer.sdp ?? '',
12240
+ type: "answer",
12241
+ candidate: answer.sdp ?? "",
12198
12242
  },
12199
12243
  });
12200
12244
  }
12201
12245
  return;
12202
12246
  }
12203
- case 'candidate': {
12247
+ case "candidate": {
12204
12248
  if (this.connection.peerConnection.remoteDescription === null) {
12205
12249
  // console.debug('[WebRTC] Storing ICE candidate (remote description is not set yet)');
12206
12250
  this.iceCandidates.push(candidate);
@@ -12226,18 +12270,18 @@ class WebRtcClient {
12226
12270
  createConnection() {
12227
12271
  this.connection = new WebRtcConnection({
12228
12272
  iceServers: this.config.iceServers,
12229
- onCandidate: candidate => {
12273
+ onCandidate: (candidate) => {
12230
12274
  this.sendMessage({
12231
12275
  Candidate: {
12232
- type: 'candidate',
12276
+ type: "candidate",
12233
12277
  candidate: JSON.stringify(candidate),
12234
12278
  },
12235
12279
  });
12236
12280
  },
12237
- onConnectionEstablished: () => this.disconnectSignalingServer('P2P connection established'),
12281
+ onConnectionEstablished: () => this.disconnectSignalingServer("P2P connection established"),
12238
12282
  withFragmentation: this.config.withFragmentation,
12239
12283
  });
12240
- this.events.emit('connection_established', [this.connection]);
12284
+ this.events.emit("connection_established", [this.connection]);
12241
12285
  }
12242
12286
  dispose(reason) {
12243
12287
  this.disconnect(reason);
@@ -89667,7 +89711,7 @@ function legacy(parser) {
89667
89711
  return new LanguageSupport(StreamLanguage.define(parser));
89668
89712
  }
89669
89713
  function sql$1(dialectName) {
89670
- return import('./index-DEvW8DL5.js').then(m => m.sql({ dialect: m[dialectName] }));
89714
+ return import('./index-DxtAwaZe.js').then(m => m.sql({ dialect: m[dialectName] }));
89671
89715
  }
89672
89716
  /**
89673
89717
  An array of language descriptions for known language packages.
@@ -89678,7 +89722,7 @@ const languages = [
89678
89722
  name: "C",
89679
89723
  extensions: ["c", "h", "ino"],
89680
89724
  load() {
89681
- return import('./index-Ca41zUtb.js').then(m => m.cpp());
89725
+ return import('./index-B0k0a7K7.js').then(m => m.cpp());
89682
89726
  }
89683
89727
  }),
89684
89728
  /*@__PURE__*/LanguageDescription.of({
@@ -89686,7 +89730,7 @@ const languages = [
89686
89730
  alias: ["cpp"],
89687
89731
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
89688
89732
  load() {
89689
- return import('./index-Ca41zUtb.js').then(m => m.cpp());
89733
+ return import('./index-B0k0a7K7.js').then(m => m.cpp());
89690
89734
  }
89691
89735
  }),
89692
89736
  /*@__PURE__*/LanguageDescription.of({
@@ -89706,7 +89750,7 @@ const languages = [
89706
89750
  name: "Go",
89707
89751
  extensions: ["go"],
89708
89752
  load() {
89709
- return import('./index-CvMPmv6l.js').then(m => m.go());
89753
+ return import('./index-CRgjpD5O.js').then(m => m.go());
89710
89754
  }
89711
89755
  }),
89712
89756
  /*@__PURE__*/LanguageDescription.of({
@@ -89721,7 +89765,7 @@ const languages = [
89721
89765
  name: "Java",
89722
89766
  extensions: ["java"],
89723
89767
  load() {
89724
- return import('./index-BnZ2drUS.js').then(m => m.java());
89768
+ return import('./index-CmnfrXfd.js').then(m => m.java());
89725
89769
  }
89726
89770
  }),
89727
89771
  /*@__PURE__*/LanguageDescription.of({
@@ -89737,7 +89781,7 @@ const languages = [
89737
89781
  alias: ["json5"],
89738
89782
  extensions: ["json", "map"],
89739
89783
  load() {
89740
- return import('./index-BjoNcT1u.js').then(m => m.json());
89784
+ return import('./index-Cm0Rlc5T.js').then(m => m.json());
89741
89785
  }
89742
89786
  }),
89743
89787
  /*@__PURE__*/LanguageDescription.of({
@@ -89751,14 +89795,14 @@ const languages = [
89751
89795
  name: "LESS",
89752
89796
  extensions: ["less"],
89753
89797
  load() {
89754
- return import('./index-BSgO0fZJ.js').then(m => m.less());
89798
+ return import('./index-HpLzRF8D.js').then(m => m.less());
89755
89799
  }
89756
89800
  }),
89757
89801
  /*@__PURE__*/LanguageDescription.of({
89758
89802
  name: "Liquid",
89759
89803
  extensions: ["liquid"],
89760
89804
  load() {
89761
- return import('./index-DOETjfmm.js').then(m => m.liquid());
89805
+ return import('./index-J5rh5N2R.js').then(m => m.liquid());
89762
89806
  }
89763
89807
  }),
89764
89808
  /*@__PURE__*/LanguageDescription.of({
@@ -89784,7 +89828,7 @@ const languages = [
89784
89828
  name: "PHP",
89785
89829
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
89786
89830
  load() {
89787
- return import('./index-CqHlndDu.js').then(m => m.php());
89831
+ return import('./index-BzTvrAka.js').then(m => m.php());
89788
89832
  }
89789
89833
  }),
89790
89834
  /*@__PURE__*/LanguageDescription.of({
@@ -89801,28 +89845,28 @@ const languages = [
89801
89845
  extensions: ["BUILD", "bzl", "py", "pyw"],
89802
89846
  filename: /^(BUCK|BUILD)$/,
89803
89847
  load() {
89804
- return import('./index-16Fm74Uw.js').then(m => m.python());
89848
+ return import('./index-DE0KXNtW.js').then(m => m.python());
89805
89849
  }
89806
89850
  }),
89807
89851
  /*@__PURE__*/LanguageDescription.of({
89808
89852
  name: "Rust",
89809
89853
  extensions: ["rs"],
89810
89854
  load() {
89811
- return import('./index-BqEaMk6I.js').then(m => m.rust());
89855
+ return import('./index-CjQnzfCb.js').then(m => m.rust());
89812
89856
  }
89813
89857
  }),
89814
89858
  /*@__PURE__*/LanguageDescription.of({
89815
89859
  name: "Sass",
89816
89860
  extensions: ["sass"],
89817
89861
  load() {
89818
- return import('./index-Bg4K4PDT.js').then(m => m.sass({ indented: true }));
89862
+ return import('./index-BjOIPnF_.js').then(m => m.sass({ indented: true }));
89819
89863
  }
89820
89864
  }),
89821
89865
  /*@__PURE__*/LanguageDescription.of({
89822
89866
  name: "SCSS",
89823
89867
  extensions: ["scss"],
89824
89868
  load() {
89825
- return import('./index-Bg4K4PDT.js').then(m => m.sass());
89869
+ return import('./index-BjOIPnF_.js').then(m => m.sass());
89826
89870
  }
89827
89871
  }),
89828
89872
  /*@__PURE__*/LanguageDescription.of({
@@ -89853,7 +89897,7 @@ const languages = [
89853
89897
  name: "WebAssembly",
89854
89898
  extensions: ["wat", "wast"],
89855
89899
  load() {
89856
- return import('./index-ZLPDCVkk.js').then(m => m.wast());
89900
+ return import('./index-C5MtTXSg.js').then(m => m.wast());
89857
89901
  }
89858
89902
  }),
89859
89903
  /*@__PURE__*/LanguageDescription.of({
@@ -89861,7 +89905,7 @@ const languages = [
89861
89905
  alias: ["rss", "wsdl", "xsd"],
89862
89906
  extensions: ["xml", "xsl", "xsd", "svg"],
89863
89907
  load() {
89864
- return import('./index-C9RAS_2_.js').then(m => m.xml());
89908
+ return import('./index-BNSpM4kb.js').then(m => m.xml());
89865
89909
  }
89866
89910
  }),
89867
89911
  /*@__PURE__*/LanguageDescription.of({
@@ -89869,7 +89913,7 @@ const languages = [
89869
89913
  alias: ["yml"],
89870
89914
  extensions: ["yaml", "yml"],
89871
89915
  load() {
89872
- return import('./index-DYufn_cZ.js').then(m => m.yaml());
89916
+ return import('./index-aoIw7apL.js').then(m => m.yaml());
89873
89917
  }
89874
89918
  }),
89875
89919
  // Legacy modes ported from CodeMirror 5
@@ -90665,13 +90709,13 @@ const languages = [
90665
90709
  name: "Vue",
90666
90710
  extensions: ["vue"],
90667
90711
  load() {
90668
- return import('./index-1kGRR1LW.js').then(m => m.vue());
90712
+ return import('./index-ffLV-hNV.js').then(m => m.vue());
90669
90713
  }
90670
90714
  }),
90671
90715
  /*@__PURE__*/LanguageDescription.of({
90672
90716
  name: "Angular Template",
90673
90717
  load() {
90674
- return import('./index-Dbn3jIp3.js').then(m => m.angular());
90718
+ return import('./index-CvYJPdRE.js').then(m => m.angular());
90675
90719
  }
90676
90720
  })
90677
90721
  ];
@@ -161576,7 +161620,7 @@ const Panel = ({
161576
161620
  }, children))))));
161577
161621
  };
161578
161622
 
161579
- const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-DfYmZ5i0.js'));
161623
+ const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-CetYY1E_.js'));
161580
161624
  const ImagePanelBody = ({
161581
161625
  topic
161582
161626
  }) => {
@@ -161611,7 +161655,7 @@ const ImagePanel = /*#__PURE__*/React__default.memo(function ImagePanel(props) {
161611
161655
  // License, v2.0. If a copy of the MPL was not distributed with this
161612
161656
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
161613
161657
 
161614
- const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-CTKzqMRG.js'));
161658
+ const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-DW-s_1Hw.js'));
161615
161659
  const PointCloudPanelBody = ({
161616
161660
  topic
161617
161661
  }) => {
@@ -1,7 +1,7 @@
1
- import { ImagePanel } from './index-CTKzqMRG.js';
1
+ import { ImagePanel } from './index-DW-s_1Hw.js';
2
2
  import 'react';
3
3
  import 'react-dom';
4
- import './index-NHpCmWRz.js';
4
+ import './index-CZpkWHbt.js';
5
5
  import './FoxgloveServer-3hn1w5h4.js';
6
6
  import 'protobufjs/minimal';
7
7
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-NHpCmWRz.js';
1
+ import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-NHpCmWRz.js';
1
+ import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-NHpCmWRz.js';
1
+ import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aq as styleTags, ar as tags, aN as javascriptLanguage, as as LRLanguage, at as LanguageSupport, av as LRParser, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-NHpCmWRz.js';
1
+ import { aq as styleTags, ar as tags, aN as javascriptLanguage, as as LRLanguage, at as LanguageSupport, av as LRParser, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, ay as syntaxTree, aw as ifNotIn, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aF as IterMode, ax as completeFromList, aG as NodeWeakMap, aE as snippetCompletion } from './index-NHpCmWRz.js';
1
+ import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, ay as syntaxTree, aw as ifNotIn, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aF as IterMode, ax as completeFromList, aG as NodeWeakMap, aE as snippetCompletion } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Component, useContext, useState, useEffect, createContext, forwardRef, createElement, cloneElement, useMemo, Profiler, StrictMode } from 'react';
3
3
  import ReactDOM__default from 'react-dom';
4
- import { i as isSymbol, t as toString, k as keys, g as getSymbols$1, s as stubArray, a as arrayPush, b as baseGetAllKeys, c as getTag, d as getAllKeys, e as createAggregator, f as baseGet, h as baseIteratee, j as castPath, l as toKey, m as flatRest, n as arrayMap$1, o as baseSet, p as baseUniq, q as baseFlatten, r as generateUtilityClass, A as AnalyticsContext, u as useMustNotChange, P as PropTypes, v as useCurrentLayoutActions, w as useCurrentLayoutSelector, x as reportError, y as AppError, E as ErrorDisplay, S as Stack$1, z as makeStyles$1, _ as _extends$1, L as Logger, B as useGuaranteedContext, W as WorkspaceContext, C as useAnalytics, D as AppEvent, F as LeftSidebarItemKeys, R as RightSidebarItemKeys, G as usePanelMosaicId, H as useTranslation, I as usePanelCatalog, J as EmptyState, K as isEmpty, M as PanelContext, N as PanelCatalogContext, O as useSelectedPanels, Q as usePanelStateStore, T as useDefaultPanelTitle, U as PANEL_TITLE_CONFIG_KEY, V as noop$4, X as getPanelTypeFromId, Y as useWorkspaceStore, Z as useShallowMemo, $ as TAB_PANEL_TYPE, a0 as WorkspaceStoreSelectors, a1 as difference, a2 as filterMap, a3 as dist$3, a4 as usePanelContext, a5 as useMessagePipeline, a6 as v4, a7 as useHoverValue, a8 as useSetHoverValue, a9 as useClearHoverValue, aa as useAppConfiguration, ab as useMessagePipelineGetter, ac as usePanelSettingsTreeUpdate, ad as PlayerCapabilities, ae as useValueChangedDebugLog, af as assertNever, ag as PlayerPresence, ah as typescript, ai as isEqual, aj as isDesktopApp, ak as createTheme, al as propTypesExports, am as useJsonTreeTheme } from './index-NHpCmWRz.js';
4
+ import { i as isSymbol, t as toString, k as keys, g as getSymbols$1, s as stubArray, a as arrayPush, b as baseGetAllKeys, c as getTag, d as getAllKeys, e as createAggregator, f as baseGet, h as baseIteratee, j as castPath, l as toKey, m as flatRest, n as arrayMap$1, o as baseSet, p as baseUniq, q as baseFlatten, r as generateUtilityClass, A as AnalyticsContext, u as useMustNotChange, P as PropTypes, v as useCurrentLayoutActions, w as useCurrentLayoutSelector, x as reportError, y as AppError, E as ErrorDisplay, S as Stack$1, z as makeStyles$1, _ as _extends$1, L as Logger, B as useGuaranteedContext, W as WorkspaceContext, C as useAnalytics, D as AppEvent, F as LeftSidebarItemKeys, R as RightSidebarItemKeys, G as usePanelMosaicId, H as useTranslation, I as usePanelCatalog, J as EmptyState, K as isEmpty, M as PanelContext, N as PanelCatalogContext, O as useSelectedPanels, Q as usePanelStateStore, T as useDefaultPanelTitle, U as PANEL_TITLE_CONFIG_KEY, V as noop$4, X as getPanelTypeFromId, Y as useWorkspaceStore, Z as useShallowMemo, $ as TAB_PANEL_TYPE, a0 as WorkspaceStoreSelectors, a1 as difference, a2 as filterMap, a3 as dist$3, a4 as usePanelContext, a5 as useMessagePipeline, a6 as v4, a7 as useHoverValue, a8 as useSetHoverValue, a9 as useClearHoverValue, aa as useAppConfiguration, ab as useMessagePipelineGetter, ac as usePanelSettingsTreeUpdate, ad as PlayerCapabilities, ae as useValueChangedDebugLog, af as assertNever, ag as PlayerPresence, ah as typescript, ai as isEqual, aj as isDesktopApp, ak as createTheme, al as propTypesExports, am as useJsonTreeTheme } from './index-CZpkWHbt.js';
5
5
  import { createStore, useStore } from 'zustand';
6
6
  import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
7
7
  import { a as getDefaultExportFromCjs, c as commonjsGlobal, g as getAugmentedNamespace, E as EventEmitter } from './FoxgloveServer-3hn1w5h4.js';
@@ -1,4 +1,4 @@
1
- import { an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, au as ExternalTokenizer, av as LRParser, aw as ifNotIn, ax as completeFromList, ay as syntaxTree } from './index-NHpCmWRz.js';
1
+ import { an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, au as ExternalTokenizer, av as LRParser, aw as ifNotIn, ax as completeFromList, ay as syntaxTree } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-NHpCmWRz.js';
1
+ import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aI as EditorView, aJ as EditorSelection, as as LRLanguage, aq as styleTags, ar as tags, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, at as LanguageSupport, av as LRParser, ay as syntaxTree, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-NHpCmWRz.js';
1
+ import { aI as EditorView, aJ as EditorSelection, as as LRLanguage, aq as styleTags, ar as tags, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, at as LanguageSupport, av as LRParser, ay as syntaxTree, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aL as parseMixed } from './index-NHpCmWRz.js';
1
+ import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aL as parseMixed } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1,4 +1,4 @@
1
- import { aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, av as LRParser, aD as LocalTokenGroup, aK as html, aL as parseMixed, aN as javascriptLanguage } from './index-NHpCmWRz.js';
1
+ import { aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, av as LRParser, aD as LocalTokenGroup, aK as html, aL as parseMixed, aN as javascriptLanguage } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { aR as ImagePanel, aQ as PanelLayout, aS as PointCloudPanel, aO as VisualizerConnection, aP as VisualizerContext } from './index-NHpCmWRz.js';
1
+ export { aR as ImagePanel, aQ as PanelLayout, aS as PointCloudPanel, aO as VisualizerConnection, aP as VisualizerContext } from './index-CZpkWHbt.js';
2
2
  import './FoxgloveServer-3hn1w5h4.js';
3
3
  import 'protobufjs/minimal';
4
4
  import 'ms';
@@ -1 +1 @@
1
- {"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../../../src/connection/connection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,M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I,CAAC,cAAc,GAAG,cAAc,CAAC,WAAW,CAAC;YACjD,IAAI,CAAC,SAAS,EAAE,CAAC;QAClB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;YAClD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;YACzB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC;YAC3C,IAAI,CAAC,SAAS,EAAE,CAAC;QAClB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE;YACjD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAiD,CAAC,CAAC;QACpF,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../../../../src/connection/webrtc/bridge.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAM5B,qBAAa,YAAa,SAAQ,gBAAgB,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;;;IAezE,SAAS,IAAI,IAAI;CAmKlC"}
1
+ {"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../../../../src/connection/webrtc/bridge.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EACX,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,oBAAoB,CAAC;AAM5B,qBAAa,YAAa,SAAQ,gBAAgB,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;;;IAe1E,SAAS,IAAI,IAAI;CAmKjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"b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AG,CAAC,CAAC;YAC5C,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,eAAe;QACd,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAC5B,SAAS,EACT,CAAC,KAAoE,EAAE,EAAE;YACxE,QAAQ,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;gBACzB,KAAK,MAAM,CAAC,CAAC,CAAC;oBACb,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS;wBACpD,CAAC,CAAC,IAAI,CAAC,eAAe;wBACtB,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;oBACvB,IAAI,OAAO,EAAE,CAAC;wBACb,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAC3C,CAAC;oBACD,MAAM;gBACP,CAAC;gBACD,OAAO,CAAC,CAAC,CAAC;oBACT,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBACpC,CAAC;YACF,CAAC;QACF,CAAC,CACD,CAAC;IACH,CAAC;CACD"}
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
1
  {
2
- "name": "@luxonis/visualizer-protobuf",
3
- "version": "2.5.0",
4
- "type": "module",
5
- "description": "RobotHub Visualizer Library",
6
- "author": "Luxonis Corp",
7
- "main": "./dist/index",
8
- "types": "./dist/lib/src/index.js",
9
- "license": "UNLICENSED",
10
- "scripts": {
11
- "build": "rm -rf dist && tsc && rollup -c && cp -r ./src/fonts dist/src",
12
- "lint": "npx eslint . --fix",
13
- "gen:proto": "bash ./protobuf-gen.sh"
14
- },
15
- "dependencies": {
16
- "@emotion/react": "11.11.3",
17
- "@emotion/styled": "11.11.0",
18
- "@luxonis/common-fe-components": "1.9.5",
19
- "@luxonis/remote-connection": "2.1.0",
20
- "@mui/icons-material": "5.15.5",
21
- "@mui/material": "5.15.6",
22
- "color": "^4.2.3",
23
- "lodash.curry": "^4.1.1",
24
- "nearley": "2.20.1",
25
- "react": "18.2.0",
26
- "react-dnd": "16.0.1",
27
- "react-dnd-html5-backend": "16.0.1",
28
- "react-icons": "5.2.1",
29
- "react-mosaic-component": "6.1.0",
30
- "ts-proto": "1.181.1",
31
- "zustand": "4.5.0"
32
- },
33
- "devDependencies": {
34
- "@rollup/plugin-alias": "5.1.0",
35
- "@rollup/plugin-babel": "6.0.4",
36
- "@rollup/plugin-commonjs": "26.0.1",
37
- "@rollup/plugin-json": "6.1.0",
38
- "@rollup/plugin-node-resolve": "15.2.3",
39
- "@rollup/plugin-replace": "5.0.7",
40
- "@rollup/plugin-url": "8.0.2",
41
- "@rollup/plugin-wasm": "6.2.2",
42
- "@surma/rollup-plugin-off-main-thread": "2.2.3",
43
- "@types/dom-webcodecs": "0.1.11",
44
- "@types/lodash.curry": "^4",
45
- "@types/nearley": "2.11.5",
46
- "@types/react": "18.2.23",
47
- "@types/react-dom": "18.2.7",
48
- "@types/surma__rollup-plugin-off-main-thread": "2.2.3",
49
- "rollup": "4.18.1",
50
- "rollup-plugin-node-polyfills": "0.2.1",
51
- "rollup-plugin-string-import": "1.2.3",
52
- "rollup-plugin-styles": "4.0.0",
53
- "typescript": "5.5.3",
54
- "unimport": "3.7.2"
55
- },
56
- "publishConfig": {
57
- "access": "public"
58
- }
2
+ "name": "@luxonis/visualizer-protobuf",
3
+ "version": "2.5.1",
4
+ "type": "module",
5
+ "description": "RobotHub Visualizer Library",
6
+ "author": "Luxonis Corp",
7
+ "main": "./dist/index",
8
+ "types": "./dist/lib/src/index.js",
9
+ "license": "UNLICENSED",
10
+ "scripts": {
11
+ "build": "rm -rf dist && tsc && rollup -c && cp -r ./src/fonts dist/src",
12
+ "lint": "npx eslint . --fix",
13
+ "gen:proto": "bash ./protobuf-gen.sh"
14
+ },
15
+ "dependencies": {
16
+ "@emotion/react": "11.11.3",
17
+ "@emotion/styled": "11.11.0",
18
+ "@luxonis/common-fe-components": "1.9.5",
19
+ "@luxonis/remote-connection": "2.2.1",
20
+ "@mui/icons-material": "5.15.5",
21
+ "@mui/material": "5.15.6",
22
+ "color": "^4.2.3",
23
+ "lodash.curry": "^4.1.1",
24
+ "nearley": "2.20.1",
25
+ "react": "18.2.0",
26
+ "react-dnd": "16.0.1",
27
+ "react-dnd-html5-backend": "16.0.1",
28
+ "react-icons": "5.2.1",
29
+ "react-mosaic-component": "6.1.0",
30
+ "ts-proto": "1.181.1",
31
+ "zustand": "4.5.0"
32
+ },
33
+ "devDependencies": {
34
+ "@rollup/plugin-alias": "5.1.0",
35
+ "@rollup/plugin-babel": "6.0.4",
36
+ "@rollup/plugin-commonjs": "26.0.1",
37
+ "@rollup/plugin-json": "6.1.0",
38
+ "@rollup/plugin-node-resolve": "15.2.3",
39
+ "@rollup/plugin-replace": "5.0.7",
40
+ "@rollup/plugin-url": "8.0.2",
41
+ "@rollup/plugin-wasm": "6.2.2",
42
+ "@surma/rollup-plugin-off-main-thread": "2.2.3",
43
+ "@types/dom-webcodecs": "0.1.11",
44
+ "@types/lodash.curry": "^4",
45
+ "@types/nearley": "2.11.5",
46
+ "@types/react": "18.2.23",
47
+ "@types/react-dom": "18.2.7",
48
+ "@types/surma__rollup-plugin-off-main-thread": "2.2.3",
49
+ "rollup": "4.18.1",
50
+ "rollup-plugin-node-polyfills": "0.2.1",
51
+ "rollup-plugin-string-import": "1.2.3",
52
+ "rollup-plugin-styles": "4.0.0",
53
+ "typescript": "5.5.3",
54
+ "unimport": "3.7.2"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ }
59
59
  }