@3cr/viewer-browser 0.0.7 → 0.0.9

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/index.ts CHANGED
@@ -25,13 +25,5 @@ export async function registerViewer(version: string, idSelector: string) {
25
25
 
26
26
  export async function loadViewer(payload: LoadViewerPayload) {
27
27
  const el = document.getElementById(idSelectorLocal) as any
28
- await el?._instance.exposed.instanceLoaded(
29
- {
30
- Url:"https://webgl-3dr.singular.health/test_scans/8bdddee1-e581-485d-827d-6aa12eef2fc8/Head+Axial+Axial.3vxl",
31
- DecryptionKey:{
32
- Iv:"x856FgjpYDsRhIa3BFj5cg==",
33
- Key:"OWjSMiL/ewUV1V6fGybhKcTyiysTPsIMp2DjdVoOUGI="
34
- }
35
- }
36
- )
28
+ await el?._instance.exposed.instanceLoaded(payload)
37
29
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@3cr/viewer-browser",
3
- "version": "0.0.7",
4
- "main": "./dist/3cr-viewer-browser.umd.js",
5
- "module": "dist/3cr-viewer-browser.umd.js",
3
+ "version": "0.0.9",
4
+ "main": "./dist/Viewer3CR.umd.js",
5
+ "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
7
7
  "repository": {
8
8
  "type": "git",