@neurodyn/core-ar 0.3.1 → 0.5.0
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/README.md +13 -0
- package/dist/core-ar.chunk.27b4ab37.min.js +383 -0
- package/dist/core-ar.chunk.27b4ab37.min.js.LICENSE.txt +5 -0
- package/dist/core-ar.chunk.5d925ec9.min.js +61 -0
- package/dist/core-ar.chunk.66c7fd24.min.js +2 -0
- package/dist/core-ar.chunk.66c7fd24.min.js.LICENSE.txt +6 -0
- package/dist/core-ar.chunk.86e9b748.min.js +77 -0
- package/dist/core-ar.chunk.86e9b748.min.js.LICENSE.txt +63 -0
- package/dist/core-ar.chunk.87bc2890.min.js +1 -0
- package/dist/core-ar.chunk.b35bb825.min.js +12 -0
- package/dist/{core-ar.chunk.3e37d1f5.min.js → core-ar.chunk.df43e0ae.min.js} +3 -3
- package/dist/core-ar.chunk.e2e05712.min.js +983 -0
- package/dist/{core-ar.chunk.09fa4463.min.js.LICENSE.txt → core-ar.chunk.e2e05712.min.js.LICENSE.txt} +0 -30
- package/dist/core-ar.chunk.f136c05d.min.js +6 -0
- package/dist/core-ar.chunk.f136c05d.min.js.LICENSE.txt +36 -0
- package/dist/core-ar.chunk.f52e1e86.min.js +2 -0
- package/dist/core-ar.chunk.f52e1e86.min.js.LICENSE.txt +9 -0
- package/dist/core-ar.embed.min.js +2 -2
- package/dist/index.js +203 -24
- package/dist/static/svg/camera-intro.59d57f3d.svg +139 -0
- package/dist/static/svg/gesture-rotate.03dbf61b.svg +100 -0
- package/dist/static/svg/scan-floor.5dee2ec3.svg +66 -0
- package/dist/static/svg/scan-wall.23490063.svg +58 -0
- package/package.json +4 -2
- package/dist/core-ar.chunk.09fa4463.min.js +0 -987
package/README.md
CHANGED
|
@@ -23,6 +23,19 @@ and Model Viewer. Load it once and then add any number of branded elements:
|
|
|
23
23
|
</vizbl-core>
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
On platform-owned `vizbl.com`, `vizbl.us`, `arizo.ru` and their subdomains,
|
|
27
|
+
`api-key` can be omitted. The widget reads public objects anonymously and opens
|
|
28
|
+
WebAR, the viewer or the native handoff without creating a merchant Widget Session.
|
|
29
|
+
The tag still selects the brand and `variant-id` selects the initial material.
|
|
30
|
+
On other hosts a public widget key is required. An explicitly supplied key always
|
|
31
|
+
uses the authenticated integration flow, including on platform hosts.
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<vizbl-core type="advanced-ar" object-id="OBJECT_TINUUID" variant-id="MATERIAL_HID">
|
|
35
|
+
View in my room
|
|
36
|
+
</vizbl-core>
|
|
37
|
+
```
|
|
38
|
+
|
|
26
39
|
The credential attribute is `api-key`, not `key`. React reserves `key` for its
|
|
27
40
|
own reconciliation and does not forward it to Custom Elements.
|
|
28
41
|
|