@rerun-io/web-viewer 0.18.1 → 0.18.2

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 CHANGED
@@ -41,7 +41,7 @@ viewer.stop();
41
41
  ```
42
42
 
43
43
  The `rrd` in the snippet above should be a URL pointing to either:
44
- - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.18.1/examples/dna.rrd>
44
+ - A hosted `.rrd` file, such as <https://app.rerun.io/version/0.18.2/examples/dna.rrd>
45
45
  - A WebSocket connection to the SDK opened via the [`serve`](https://www.rerun.io/docs/reference/sdk-operating-modes#serve) API
46
46
 
47
47
  If `rrd` is not set, the Viewer will display the same welcome screen as <https://app.rerun.io>.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rerun-io/web-viewer",
3
- "version": "0.18.1",
3
+ "version": "0.18.2",
4
4
  "description": "Embed the Rerun web viewer in your app",
5
5
  "licenses": [
6
6
  {
package/re_viewer.d.ts CHANGED
@@ -196,13 +196,13 @@ declare interface InitOutput {
196
196
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
197
197
  readonly __wbindgen_export_2: WebAssembly.Table;
198
198
  readonly __wbindgen_export_3: WebAssembly.Table;
199
+ readonly wasm_bindgen__convert__closures__invoke0_mut__hbcbc2dc511276833: (a: number, b: number) => void;
199
200
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
200
- readonly closure293_externref_shim: (a: number, b: number, c: number, d: number) => void;
201
+ readonly closure296_externref_shim: (a: number, b: number, c: number, d: number) => void;
201
202
  readonly __externref_table_dealloc: (a: number) => void;
202
- readonly wasm_bindgen__convert__closures__invoke0_mut__h9b75a0ab28e1eea5: (a: number, b: number) => void;
203
203
  readonly wasm_bindgen__convert__closures__invoke0_mut__hca3fde335c0a19d0: (a: number, b: number, c: number) => void;
204
204
  readonly closure4536_externref_shim: (a: number, b: number, c: number) => void;
205
- readonly wasm_bindgen__convert__closures__invoke0_mut__h76a40552b32e9d7f: (a: number, b: number) => void;
205
+ readonly wasm_bindgen__convert__closures__invoke0_mut__h284d2b0cb8033e29: (a: number, b: number) => void;
206
206
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h481a4c2bb2473fc6: (a: number, b: number) => void;
207
207
  readonly closure7644_externref_shim: (a: number, b: number, c: number) => void;
208
208
  readonly closure10241_externref_shim: (a: number, b: number, c: number) => void;
@@ -212,7 +212,7 @@ declare interface InitOutput {
212
212
  readonly __wbindgen_exn_store: (a: number) => void;
213
213
  readonly __externref_table_alloc: () => number;
214
214
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
215
- readonly closure15847_externref_shim: (a: number, b: number, c: number, d: number) => void;
215
+ readonly closure15848_externref_shim: (a: number, b: number, c: number, d: number) => void;
216
216
  readonly __wbindgen_start: () => void;
217
217
  }
218
218
 
package/re_viewer.js CHANGED
@@ -199,16 +199,19 @@ function makeMutClosure(arg0, arg1, dtor, f) {
199
199
  CLOSURE_DTORS.register(real, state, state);
200
200
  return real;
201
201
  }
202
+ function __wbg_adapter_46(arg0, arg1) {
203
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__hbcbc2dc511276833(arg0, arg1);
204
+ }
202
205
 
203
206
  function takeFromExternrefTable0(idx) {
204
207
  const value = wasm.__wbindgen_export_2.get(idx);
205
208
  wasm.__externref_table_dealloc(idx);
206
209
  return value;
207
210
  }
208
- function __wbg_adapter_46(arg0, arg1, arg2) {
211
+ function __wbg_adapter_49(arg0, arg1, arg2) {
209
212
  try {
210
213
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
211
- wasm.closure293_externref_shim(retptr, arg0, arg1, arg2);
214
+ wasm.closure296_externref_shim(retptr, arg0, arg1, arg2);
212
215
  var r0 = getInt32Memory0()[retptr / 4 + 0];
213
216
  var r1 = getInt32Memory0()[retptr / 4 + 1];
214
217
  if (r1) {
@@ -219,10 +222,6 @@ function __wbg_adapter_46(arg0, arg1, arg2) {
219
222
  }
220
223
  }
221
224
 
222
- function __wbg_adapter_49(arg0, arg1) {
223
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h9b75a0ab28e1eea5(arg0, arg1);
224
- }
225
-
226
225
  function __wbg_adapter_52(arg0, arg1) {
227
226
  try {
228
227
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -242,7 +241,7 @@ function __wbg_adapter_55(arg0, arg1, arg2) {
242
241
  }
243
242
 
244
243
  function __wbg_adapter_60(arg0, arg1) {
245
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h76a40552b32e9d7f(arg0, arg1);
244
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__h284d2b0cb8033e29(arg0, arg1);
246
245
  }
247
246
 
248
247
  function __wbg_adapter_63(arg0, arg1) {
@@ -339,7 +338,7 @@ function getArrayF32FromWasm0(ptr, len) {
339
338
  return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);
340
339
  }
341
340
  function __wbg_adapter_1383(arg0, arg1, arg2, arg3) {
342
- wasm.closure15847_externref_shim(arg0, arg1, arg2, arg3);
341
+ wasm.closure15848_externref_shim(arg0, arg1, arg2, arg3);
343
342
  }
344
343
 
345
344
  const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -741,7 +740,7 @@ function __wbg_get_imports() {
741
740
  const ret = typeof(val) === 'object' && val !== null;
742
741
  return ret;
743
742
  };
744
- imports.wbg.__wbg_structuredClone_52beee4da4fb0e60 = function() { return handleError(function (arg0) {
743
+ imports.wbg.__wbg_structuredClone_f78fa46f2500b6bd = function() { return handleError(function (arg0) {
745
744
  const ret = window.structuredClone(arg0);
746
745
  return ret;
747
746
  }, arguments) };
@@ -826,11 +825,11 @@ function __wbg_get_imports() {
826
825
  getInt32Memory0()[arg0 / 4 + 1] = len1;
827
826
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
828
827
  };
829
- imports.wbg.__wbg_new_c035ed84065775a6 = function() {
828
+ imports.wbg.__wbg_new_fa52e574938359dd = function() {
830
829
  const ret = new Error();
831
830
  return ret;
832
831
  };
833
- imports.wbg.__wbg_stack_d3ec4adf1252c94b = function(arg0, arg1) {
832
+ imports.wbg.__wbg_stack_a103904e533bf73c = function(arg0, arg1) {
834
833
  const ret = arg1.stack;
835
834
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
836
835
  const len1 = WASM_VECTOR_LEN;
@@ -3055,16 +3054,16 @@ function __wbg_get_imports() {
3055
3054
  const ret = arg0.getSupportedProfiles();
3056
3055
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3057
3056
  };
3058
- imports.wbg.__wbg_warn_1f0731863dc28676 = function(arg0, arg1) {
3057
+ imports.wbg.__wbg_warn_00f298b7dee7f54e = function(arg0, arg1) {
3059
3058
  console.warn(getStringFromWasm0(arg0, arg1));
3060
3059
  };
3061
- imports.wbg.__wbg_info_e1a925205d6a4827 = function(arg0, arg1) {
3060
+ imports.wbg.__wbg_info_f063053c2ae32c27 = function(arg0, arg1) {
3062
3061
  console.info(getStringFromWasm0(arg0, arg1));
3063
3062
  };
3064
- imports.wbg.__wbg_debug_62711e3a4d19ddab = function(arg0, arg1) {
3063
+ imports.wbg.__wbg_debug_341dc4888d9787da = function(arg0, arg1) {
3065
3064
  console.debug(getStringFromWasm0(arg0, arg1));
3066
3065
  };
3067
- imports.wbg.__wbg_trace_4c7dc074950e3dde = function(arg0, arg1) {
3066
+ imports.wbg.__wbg_trace_f18dc999f5ada9e2 = function(arg0, arg1) {
3068
3067
  console.trace(getStringFromWasm0(arg0, arg1));
3069
3068
  };
3070
3069
  imports.wbg.__wbg_performance_e5eb61626698b7a4 = function(arg0) {
@@ -3421,59 +3420,59 @@ function __wbg_get_imports() {
3421
3420
  const ret = makeMutClosure(arg0, arg1, 294, __wbg_adapter_49);
3422
3421
  return ret;
3423
3422
  };
3424
- imports.wbg.__wbindgen_closure_wrapper11718 = function(arg0, arg1, arg2) {
3423
+ imports.wbg.__wbindgen_closure_wrapper11717 = function(arg0, arg1, arg2) {
3425
3424
  const ret = makeMutClosure(arg0, arg1, 4534, __wbg_adapter_52);
3426
3425
  return ret;
3427
3426
  };
3428
- imports.wbg.__wbindgen_closure_wrapper11720 = function(arg0, arg1, arg2) {
3427
+ imports.wbg.__wbindgen_closure_wrapper11719 = function(arg0, arg1, arg2) {
3429
3428
  const ret = makeMutClosure(arg0, arg1, 4534, __wbg_adapter_55);
3430
3429
  return ret;
3431
3430
  };
3432
- imports.wbg.__wbindgen_closure_wrapper11722 = function(arg0, arg1, arg2) {
3431
+ imports.wbg.__wbindgen_closure_wrapper11721 = function(arg0, arg1, arg2) {
3433
3432
  const ret = makeMutClosure(arg0, arg1, 4534, __wbg_adapter_55);
3434
3433
  return ret;
3435
3434
  };
3436
- imports.wbg.__wbindgen_closure_wrapper15333 = function(arg0, arg1, arg2) {
3435
+ imports.wbg.__wbindgen_closure_wrapper15326 = function(arg0, arg1, arg2) {
3437
3436
  const ret = makeMutClosure(arg0, arg1, 5758, __wbg_adapter_60);
3438
3437
  return ret;
3439
3438
  };
3440
- imports.wbg.__wbindgen_closure_wrapper16105 = function(arg0, arg1, arg2) {
3439
+ imports.wbg.__wbindgen_closure_wrapper16098 = function(arg0, arg1, arg2) {
3441
3440
  const ret = makeMutClosure(arg0, arg1, 6074, __wbg_adapter_63);
3442
3441
  return ret;
3443
3442
  };
3444
- imports.wbg.__wbindgen_closure_wrapper20491 = function(arg0, arg1, arg2) {
3443
+ imports.wbg.__wbindgen_closure_wrapper20486 = function(arg0, arg1, arg2) {
3445
3444
  const ret = makeMutClosure(arg0, arg1, 7645, __wbg_adapter_66);
3446
3445
  return ret;
3447
3446
  };
3448
- imports.wbg.__wbindgen_closure_wrapper20493 = function(arg0, arg1, arg2) {
3447
+ imports.wbg.__wbindgen_closure_wrapper20488 = function(arg0, arg1, arg2) {
3449
3448
  const ret = makeMutClosure(arg0, arg1, 7645, __wbg_adapter_66);
3450
3449
  return ret;
3451
3450
  };
3452
- imports.wbg.__wbindgen_closure_wrapper26935 = function(arg0, arg1, arg2) {
3451
+ imports.wbg.__wbindgen_closure_wrapper26930 = function(arg0, arg1, arg2) {
3453
3452
  const ret = makeMutClosure(arg0, arg1, 10242, __wbg_adapter_71);
3454
3453
  return ret;
3455
3454
  };
3456
- imports.wbg.__wbindgen_closure_wrapper26937 = function(arg0, arg1, arg2) {
3455
+ imports.wbg.__wbindgen_closure_wrapper26932 = function(arg0, arg1, arg2) {
3457
3456
  const ret = makeMutClosure(arg0, arg1, 10242, __wbg_adapter_71);
3458
3457
  return ret;
3459
3458
  };
3460
- imports.wbg.__wbindgen_closure_wrapper26939 = function(arg0, arg1, arg2) {
3459
+ imports.wbg.__wbindgen_closure_wrapper26934 = function(arg0, arg1, arg2) {
3461
3460
  const ret = makeMutClosure(arg0, arg1, 10242, __wbg_adapter_71);
3462
3461
  return ret;
3463
3462
  };
3464
- imports.wbg.__wbindgen_closure_wrapper26941 = function(arg0, arg1, arg2) {
3463
+ imports.wbg.__wbindgen_closure_wrapper26936 = function(arg0, arg1, arg2) {
3465
3464
  const ret = makeMutClosure(arg0, arg1, 10242, __wbg_adapter_71);
3466
3465
  return ret;
3467
3466
  };
3468
- imports.wbg.__wbindgen_closure_wrapper33236 = function(arg0, arg1, arg2) {
3467
+ imports.wbg.__wbindgen_closure_wrapper33227 = function(arg0, arg1, arg2) {
3469
3468
  const ret = makeMutClosure(arg0, arg1, 13019, __wbg_adapter_80);
3470
3469
  return ret;
3471
3470
  };
3472
- imports.wbg.__wbindgen_closure_wrapper33539 = function(arg0, arg1, arg2) {
3471
+ imports.wbg.__wbindgen_closure_wrapper33531 = function(arg0, arg1, arg2) {
3473
3472
  const ret = makeMutClosure(arg0, arg1, 13155, __wbg_adapter_83);
3474
3473
  return ret;
3475
3474
  };
3476
- imports.wbg.__wbindgen_closure_wrapper33602 = function(arg0, arg1, arg2) {
3475
+ imports.wbg.__wbindgen_closure_wrapper33594 = function(arg0, arg1, arg2) {
3477
3476
  const ret = makeMutClosure(arg0, arg1, 13168, __wbg_adapter_86);
3478
3477
  return ret;
3479
3478
  };
package/re_viewer_bg.wasm CHANGED
Binary file
@@ -45,13 +45,13 @@ export function __wbindgen_malloc(a: number, b: number): number;
45
45
  export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
46
46
  export const __wbindgen_export_2: WebAssembly.Table;
47
47
  export const __wbindgen_export_3: WebAssembly.Table;
48
+ export function wasm_bindgen__convert__closures__invoke0_mut__hbcbc2dc511276833(a: number, b: number): void;
48
49
  export function __wbindgen_add_to_stack_pointer(a: number): number;
49
- export function closure293_externref_shim(a: number, b: number, c: number, d: number): void;
50
+ export function closure296_externref_shim(a: number, b: number, c: number, d: number): void;
50
51
  export function __externref_table_dealloc(a: number): void;
51
- export function wasm_bindgen__convert__closures__invoke0_mut__h9b75a0ab28e1eea5(a: number, b: number): void;
52
52
  export function wasm_bindgen__convert__closures__invoke0_mut__hca3fde335c0a19d0(a: number, b: number, c: number): void;
53
53
  export function closure4536_externref_shim(a: number, b: number, c: number): void;
54
- export function wasm_bindgen__convert__closures__invoke0_mut__h76a40552b32e9d7f(a: number, b: number): void;
54
+ export function wasm_bindgen__convert__closures__invoke0_mut__h284d2b0cb8033e29(a: number, b: number): void;
55
55
  export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h481a4c2bb2473fc6(a: number, b: number): void;
56
56
  export function closure7644_externref_shim(a: number, b: number, c: number): void;
57
57
  export function closure10241_externref_shim(a: number, b: number, c: number): void;
@@ -61,5 +61,5 @@ export function closure13167_externref_shim(a: number, b: number, c: number): vo
61
61
  export function __wbindgen_exn_store(a: number): void;
62
62
  export function __externref_table_alloc(): number;
63
63
  export function __wbindgen_free(a: number, b: number, c: number): void;
64
- export function closure15847_externref_shim(a: number, b: number, c: number, d: number): void;
64
+ export function closure15848_externref_shim(a: number, b: number, c: number, d: number): void;
65
65
  export function __wbindgen_start(): void;