@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 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