@deephaven/embed-chart 0.68.1-embed-refactor.6 → 0.68.1-embed-refactor.8

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.
Files changed (2) hide show
  1. package/build/index.html +6 -3
  2. package/package.json +5 -2
package/build/index.html CHANGED
@@ -1,12 +1,15 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
+ <head>
4
+ <base href="./" />
5
+ </head>
3
6
  <body>
4
7
  <noscript>You need to enable JavaScript to run this app.</noscript>
5
8
 
6
9
  <script>
7
- // Needs to be in JS so we can keep the search params
8
- const url = new URL(window.location);
9
- url.pathname = '/iframe/widget/';
10
+ // Can't be an HTML meta redirect because we need to keep the search params
11
+ const url = new URL('../widget/', document.baseURI);
12
+ url.search = window.location.search;
10
13
  window.location.replace(url);
11
14
  </script>
12
15
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/embed-chart",
3
- "version": "0.68.1-embed-refactor.6+5f5924c7",
3
+ "version": "0.68.1-embed-refactor.8+8639ac78",
4
4
  "description": "Deephaven Embedded Chart",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -11,11 +11,14 @@
11
11
  "directory": "packages/embed-chart"
12
12
  },
13
13
  "homepage": ".",
14
+ "scripts": {
15
+ "build": "vite build --outDir build"
16
+ },
14
17
  "files": [
15
18
  "build"
16
19
  ],
17
20
  "publishConfig": {
18
21
  "access": "public"
19
22
  },
20
- "gitHead": "5f5924c731ee849c2823e46f5b9862ce1f23e1ba"
23
+ "gitHead": "8639ac7854b4a49fcbb721db6324db0d08562707"
21
24
  }