@perspective-dev/client 5.9.0 → 5.9.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.
@@ -1186,7 +1186,7 @@ export class Table {
1186
1186
  * [`Table::on_delete`] resolves when the subscription message is sent, not
1187
1187
  * when the _delete_ event occurs.
1188
1188
  * @param {Function} on_delete
1189
- * @returns {Promise<any>}
1189
+ * @returns {Promise<number>}
1190
1190
  */
1191
1191
  on_delete(on_delete) {
1192
1192
  const ret = wasm.table_on_delete(this.__wbg_ptr, addHeapObject(on_delete));
@@ -1220,7 +1220,7 @@ export class Table {
1220
1220
  * Removes a listener with a given ID, as returned by a previous call to
1221
1221
  * [`Table::on_delete`].
1222
1222
  * @param {number} callback_id
1223
- * @returns {Promise<any>}
1223
+ * @returns {Promise<void>}
1224
1224
  */
1225
1225
  remove_delete(callback_id) {
1226
1226
  const ret = wasm.table_remove_delete(this.__wbg_ptr, callback_id);
@@ -1308,7 +1308,7 @@ export class Table {
1308
1308
  * ```
1309
1309
  * @param {string | ArrayBuffer | Record<string, unknown[]> | Record<string, unknown>[] | Record<string, ColumnType>} input
1310
1310
  * @param {UpdateOptions | null} [options]
1311
- * @returns {Promise<any>}
1311
+ * @returns {Promise<void>}
1312
1312
  */
1313
1313
  update(input, options) {
1314
1314
  const ret = wasm.table_update(this.__wbg_ptr, addHeapObject(input), isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1550,7 +1550,7 @@ export class View {
1550
1550
  * Register a callback with this [`View`]. Whenever the [`View`] is
1551
1551
  * deleted, this callback will be invoked.
1552
1552
  * @param {Function} on_delete
1553
- * @returns {Promise<any>}
1553
+ * @returns {Promise<number>}
1554
1554
  */
1555
1555
  on_delete(on_delete) {
1556
1556
  const ret = wasm.view_on_delete(this.__wbg_ptr, addHeapObject(on_delete));
@@ -1579,7 +1579,7 @@ export class View {
1579
1579
  * });
1580
1580
  * ```
1581
1581
  * @param {(data: OnRemoveData) => void} on_remove_js
1582
- * @returns {Promise<any>}
1582
+ * @returns {Promise<number>}
1583
1583
  */
1584
1584
  on_remove(on_remove_js) {
1585
1585
  const ret = wasm.view_on_remove(this.__wbg_ptr, addHeapObject(on_remove_js));
@@ -1612,7 +1612,7 @@ export class View {
1612
1612
  * ```
1613
1613
  * @param {(data: OnUpdateData) => void} on_update_js
1614
1614
  * @param {OnUpdateOptions | null} [options]
1615
- * @returns {Promise<any>}
1615
+ * @returns {Promise<number>}
1616
1616
  */
1617
1617
  on_update(on_update_js, options) {
1618
1618
  const ret = wasm.view_on_update(this.__wbg_ptr, addHeapObject(on_update_js), isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1621,7 +1621,7 @@ export class View {
1621
1621
  /**
1622
1622
  * Unregister a previously registered [`View::on_delete`] callback.
1623
1623
  * @param {number} callback_id
1624
- * @returns {Promise<any>}
1624
+ * @returns {Promise<void>}
1625
1625
  */
1626
1626
  remove_delete(callback_id) {
1627
1627
  const ret = wasm.view_remove_delete(this.__wbg_ptr, callback_id);
@@ -1971,7 +1971,7 @@ export class VirtualServer {
1971
1971
  }
1972
1972
  /**
1973
1973
  * @param {Uint8Array} bytes
1974
- * @returns {Promise<any>}
1974
+ * @returns {Promise<Uint8Array>}
1975
1975
  */
1976
1976
  handleRequest(bytes) {
1977
1977
  const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
@@ -2347,7 +2347,7 @@ function __wbg_get_imports() {
2347
2347
  const a = state0.a;
2348
2348
  state0.a = 0;
2349
2349
  try {
2350
- return __wasm_bindgen_func_elem_13332(a, state0.b, arg0, arg1);
2350
+ return __wasm_bindgen_func_elem_13335(a, state0.b, arg0, arg1);
2351
2351
  } finally {
2352
2352
  state0.a = a;
2353
2353
  }
@@ -2422,7 +2422,7 @@ function __wbg_get_imports() {
2422
2422
  const ret = Promise.resolve(getObject(arg0));
2423
2423
  return addHeapObject(ret);
2424
2424
  },
2425
- __wbg_run_ce6bcc7f4952334e: function() { return handleError(function (arg0, arg1) {
2425
+ __wbg_run_748b6920eb34b566: function() { return handleError(function (arg0, arg1) {
2426
2426
  const ret = getObject(arg0).run(getObject(arg1));
2427
2427
  return addHeapObject(ret);
2428
2428
  }, arguments); },
@@ -2514,17 +2514,17 @@ function __wbg_get_imports() {
2514
2514
  },
2515
2515
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2516
2516
  // Cast intrinsic for `Closure(Closure { dtor_idx: 12, function: Function { arguments: [], shim_idx: 34, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
2517
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1751, __wasm_bindgen_func_elem_2093);
2517
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1727, __wasm_bindgen_func_elem_2093);
2518
2518
  return addHeapObject(ret);
2519
2519
  },
2520
2520
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2521
2521
  // Cast intrinsic for `Closure(Closure { dtor_idx: 12, function: Function { arguments: [], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
2522
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1751, __wasm_bindgen_func_elem_2094);
2522
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1727, __wasm_bindgen_func_elem_2094);
2523
2523
  return addHeapObject(ret);
2524
2524
  },
2525
2525
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
2526
2526
  // Cast intrinsic for `Closure(Closure { dtor_idx: 635, function: Function { arguments: [Externref], shim_idx: 636, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2527
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4765, __wasm_bindgen_func_elem_4767);
2527
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4768, __wasm_bindgen_func_elem_4770);
2528
2528
  return addHeapObject(ret);
2529
2529
  },
2530
2530
  __wbindgen_cast_0000000000000004: function(arg0) {
@@ -2610,12 +2610,12 @@ function __wasm_bindgen_func_elem_2093(arg0, arg1) {
2610
2610
  return takeObject(ret);
2611
2611
  }
2612
2612
 
2613
- function __wasm_bindgen_func_elem_4767(arg0, arg1, arg2) {
2614
- wasm.__wasm_bindgen_func_elem_4767(arg0, arg1, addHeapObject(arg2));
2613
+ function __wasm_bindgen_func_elem_4770(arg0, arg1, arg2) {
2614
+ wasm.__wasm_bindgen_func_elem_4770(arg0, arg1, addHeapObject(arg2));
2615
2615
  }
2616
2616
 
2617
- function __wasm_bindgen_func_elem_13332(arg0, arg1, arg2, arg3) {
2618
- wasm.__wasm_bindgen_func_elem_13332(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2617
+ function __wasm_bindgen_func_elem_13335(arg0, arg1, arg2, arg3) {
2618
+ wasm.__wasm_bindgen_func_elem_13335(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2619
2619
  }
2620
2620
 
2621
2621
  const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
Binary file
@@ -105,10 +105,10 @@ export const virtualdataslice_setIntegerCol: (a: number, b: number, c: number, d
105
105
  export const virtualdataslice_setStringCol: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
106
106
  export const virtualserver_handleRequest: (a: number, b: number, c: number) => number;
107
107
  export const virtualserver_new: (a: number, b: number) => void;
108
- export const __wasm_bindgen_func_elem_1751: (a: number, b: number) => void;
109
- export const __wasm_bindgen_func_elem_4765: (a: number, b: number) => void;
110
- export const __wasm_bindgen_func_elem_13332: (a: number, b: number, c: number, d: number) => void;
111
- export const __wasm_bindgen_func_elem_4767: (a: number, b: number, c: number) => void;
108
+ export const __wasm_bindgen_func_elem_1727: (a: number, b: number) => void;
109
+ export const __wasm_bindgen_func_elem_4768: (a: number, b: number) => void;
110
+ export const __wasm_bindgen_func_elem_13335: (a: number, b: number, c: number, d: number) => void;
111
+ export const __wasm_bindgen_func_elem_4770: (a: number, b: number, c: number) => void;
112
112
  export const __wasm_bindgen_func_elem_2093: (a: number, b: number) => number;
113
113
  export const __wasm_bindgen_func_elem_2094: (a: number, b: number) => void;
114
114
  export const __wbindgen_export: (a: number, b: number) => number;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perspective-dev/client",
3
- "version": "5.9.0",
3
+ "version": "5.9.1",
4
4
  "description": "Streaming query engine for data grids, pivot tables and charts over large, real-time datasets — WebAssembly in the browser, native in Node.js, or remote over WebSocket.",
5
5
  "keywords": [
6
6
  "perspective",
@@ -68,7 +68,7 @@
68
68
  "access": "public"
69
69
  },
70
70
  "dependencies": {
71
- "@perspective-dev/server": "^5.9.0",
71
+ "@perspective-dev/server": "^5.9.1",
72
72
  "stoppable": "=1.1.0",
73
73
  "ws": "^8.17.0"
74
74
  },
@@ -88,9 +88,9 @@
88
88
  }
89
89
  },
90
90
  "devDependencies": {
91
- "@perspective-dev/esbuild-plugin": "^5.9.0",
92
- "@perspective-dev/metadata": "^5.9.0",
93
- "@perspective-dev/test": "^5.9.0",
91
+ "@perspective-dev/esbuild-plugin": "^5.9.1",
92
+ "@perspective-dev/metadata": "^5.9.1",
93
+ "@perspective-dev/test": "^5.9.1",
94
94
  "@clickhouse/client-web": "^1.12.0",
95
95
  "@duckdb/duckdb-wasm": "^1.32.0",
96
96
  "@playwright/experimental-ct-react": "=1.62.0",