@plattar/plattar-ar-adapter 1.168.1 → 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.
@@ -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
- viewer.setAttribute("config-state", configState.state.encode());
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.168.1";
1
+ declare const _default: "1.168.2";
2
2
  export default _default;
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = "1.168.1";
3
+ exports.default = "1.168.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plattar/plattar-ar-adapter",
3
- "version": "1.168.1",
3
+ "version": "1.168.2",
4
4
  "description": "Plattar AR Adapter for interfacing with Google & Apple WebAR",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",