@perspective-dev/client 4.4.0 → 4.4.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.
@@ -1948,7 +1948,7 @@ function __wbg_get_imports() {
1948
1948
  const a = state0.a;
1949
1949
  state0.a = 0;
1950
1950
  try {
1951
- return __wasm_bindgen_func_elem_10782(a, state0.b, arg02, arg12);
1951
+ return __wasm_bindgen_func_elem_10784(a, state0.b, arg02, arg12);
1952
1952
  } finally {
1953
1953
  state0.a = a;
1954
1954
  }
@@ -2112,7 +2112,7 @@ function __wbg_get_imports() {
2112
2112
  return addHeapObject(ret);
2113
2113
  },
2114
2114
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2115
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3910, __wasm_bindgen_func_elem_3927);
2115
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3915, __wasm_bindgen_func_elem_3932);
2116
2116
  return addHeapObject(ret);
2117
2117
  },
2118
2118
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -2165,11 +2165,11 @@ function __wasm_bindgen_func_elem_1727(arg0, arg1) {
2165
2165
  const ret = wasm.__wasm_bindgen_func_elem_1727(arg0, arg1);
2166
2166
  return takeObject(ret);
2167
2167
  }
2168
- function __wasm_bindgen_func_elem_3927(arg0, arg1, arg2) {
2169
- wasm.__wasm_bindgen_func_elem_3927(arg0, arg1, addHeapObject(arg2));
2168
+ function __wasm_bindgen_func_elem_3932(arg0, arg1, arg2) {
2169
+ wasm.__wasm_bindgen_func_elem_3932(arg0, arg1, addHeapObject(arg2));
2170
2170
  }
2171
- function __wasm_bindgen_func_elem_10782(arg0, arg1, arg2, arg3) {
2172
- wasm.__wasm_bindgen_func_elem_10782(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2171
+ function __wasm_bindgen_func_elem_10784(arg0, arg1, arg2, arg3) {
2172
+ wasm.__wasm_bindgen_func_elem_10784(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2173
2173
  }
2174
2174
  var ClientFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2175
2175
  }, unregister: () => {
@@ -3014,7 +3014,8 @@ var CONTENT_TYPES = {
3014
3014
  ".json": "application/json",
3015
3015
  ".arrow": "arraybuffer",
3016
3016
  ".feather": "arraybuffer",
3017
- ".wasm": "application/wasm"
3017
+ ".wasm": "application/wasm",
3018
+ ".svg": "image/svg+xml"
3018
3019
  };
3019
3020
  async function cwd_static_file_handler(request, response, assets = ["./"], { debug = true } = {}) {
3020
3021
  let url2 = request.url?.split(/[\?\#]/)[0].replace(/@[\^~]?\d+.[\d\*]*.[\d\*]*/, "") || "/";
@@ -3037,9 +3038,9 @@ async function cwd_static_file_handler(request, response, assets = ["./"], { deb
3037
3038
  "Access-Control-Allow-Origin": "*"
3038
3039
  });
3039
3040
  if (extname === ".arrow" || extname === ".feather") {
3040
- response.end(content, "utf-8");
3041
+ response.end(content, "utf8");
3041
3042
  } else {
3042
- response.end(content);
3043
+ response.end(content, "utf8");
3043
3044
  }
3044
3045
  return;
3045
3046
  }