@3cr/viewer-browser 0.0.146 → 0.0.148

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3cr/viewer-browser",
3
- "version": "0.0.146",
3
+ "version": "0.0.148",
4
4
  "main": "./dist/Viewer3CR.umd.js",
5
5
  "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
@@ -5,6 +5,7 @@
5
5
  <meta charset="UTF-8" />
6
6
  <link rel="icon" href="/favicon.ico" />
7
7
  <link rel="preconnect" href="https://fonts.googleapis.com" />
8
+ <script src="https://cdn.jsdelivr.net/npm/@3cr/viewer-browser@{{version}}/dist/Viewer3CR.umd.js"> </script>
8
9
  <script type="module">
9
10
  function initServiceWorker() {
10
11
  // Only enable service worker in production
@@ -28,7 +29,6 @@
28
29
  initServiceWorker();
29
30
  });
30
31
  </script>
31
- <script src="https://cdn.jsdelivr.net/npm/@3cr/viewer-browser@{{version}}/dist/Viewer3CR.umd.js"> </script>
32
32
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
33
33
  <link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
34
34
  <script src="https://cdn.jsdelivr.net/npm/@statsig/js-client@latest/build/statsig-js-client+session-replay+web-analytics.min.js"></script>
@@ -54,9 +54,7 @@
54
54
  const version = dynamicConfig.value["sdkVersion"] ?? "1.0.0";
55
55
 
56
56
 
57
- client.initializeAsync().initialize(
58
- "client-YaAjxOTTRbuSN3peDAwXEzErieXpI744a3OHDgonzvV",
59
- ).then(() => {
57
+ client.initializeAsync().then(() => {
60
58
  window.registerViewer(version).then(() => {
61
59
  window.loadViewer().then()
62
60
  })