@plattar/plattar-ar-adapter 1.167.13 → 1.168.2
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 +2 -10
- package/build/es2015/plattar-ar-adapter.js +6 -3
- package/build/es2015/plattar-ar-adapter.min.js +1 -1
- package/build/es2019/plattar-ar-adapter.js +5 -2
- package/build/es2019/plattar-ar-adapter.min.js +1 -1
- package/dist/embed/controllers/configurator-controller.js +4 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -210,7 +210,10 @@ class ConfiguratorController extends plattar_controller_1.PlattarController {
|
|
|
210
210
|
const showAR = this.getAttribute("show-ar");
|
|
211
211
|
const showUI = this.getAttribute("show-ui");
|
|
212
212
|
if (configState) {
|
|
213
|
-
|
|
213
|
+
let encodedState = configState.state.encode();
|
|
214
|
+
if (encodedState.length < 6000) {
|
|
215
|
+
viewer.setAttribute("config-state", configState.state.encode());
|
|
216
|
+
}
|
|
214
217
|
}
|
|
215
218
|
if (showAR) {
|
|
216
219
|
viewer.setAttribute("show-ar", showAR);
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.
|
|
1
|
+
declare const _default: "1.168.2";
|
|
2
2
|
export default _default;
|
package/dist/version.js
CHANGED