@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.
@@ -1180,7 +1180,10 @@ class ConfiguratorController extends plattar_controller_1.PlattarController {
1180
1180
  const showAR = this.getAttribute("show-ar");
1181
1181
  const showUI = this.getAttribute("show-ui");
1182
1182
  if (configState) {
1183
- viewer.setAttribute("config-state", configState.state.encode());
1183
+ let encodedState = configState.state.encode();
1184
+ if (encodedState.length < 6000) {
1185
+ viewer.setAttribute("config-state", configState.state.encode());
1186
+ }
1184
1187
  }
1185
1188
  if (showAR) {
1186
1189
  viewer.setAttribute("show-ar", showAR);
@@ -2881,7 +2884,7 @@ exports.Util = Util;
2881
2884
  },{}],16:[function(require,module,exports){
2882
2885
  "use strict";
2883
2886
  Object.defineProperty(exports, "__esModule", { value: true });
2884
- exports.default = "1.167.13";
2887
+ exports.default = "1.168.2";
2885
2888
 
2886
2889
  },{}],17:[function(require,module,exports){
2887
2890
  "use strict";