@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 CHANGED
@@ -10,16 +10,8 @@ _plattar-ar-adapter_ allows easy interfacing with Apple Quicklook and Google Sce
10
10
 
11
11
  ### _Quick Use_
12
12
 
13
- - ES2015 & ES2019 Builds via [jsDelivr](https://www.jsdelivr.com/)
14
-
15
13
  ```javascript
16
- // Minified Version ES2015 & ES2019 (Latest)
17
- https://cdn.jsdelivr.net/npm/@plattar/plattar-ar-adapter/build/es2015/plattar-ar-adapter.min.js
18
- https://cdn.jsdelivr.net/npm/@plattar/plattar-ar-adapter/build/es2019/plattar-ar-adapter.min.js
19
-
20
- // Standard Version ES2015 & ES2019 (Latest)
21
- https://cdn.jsdelivr.net/npm/@plattar/plattar-ar-adapter/build/es2015/plattar-ar-adapter.js
22
- https://cdn.jsdelivr.net/npm/@plattar/plattar-ar-adapter/build/es2019/plattar-ar-adapter.js
14
+ https://sdk.plattar.com/plattar-plugin.min.js
23
15
  ```
24
16
 
25
17
  ### _Installation_
@@ -32,4 +24,4 @@ npm install @plattar/plattar-ar-adapter
32
24
 
33
25
  ### _Documentation and Examples_
34
26
 
35
- - Visit [Documentation](https://plattar.github.io/plattar-ar-adapter) page for usage, guides and code examples
27
+ - Visit [Documentation](https://docs.plattar.com) page for usage, guides and code examples
@@ -1636,7 +1636,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1636
1636
  value: function () {
1637
1637
  var _startRenderer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
1638
1638
  var _this16 = this;
1639
- var sceneID, configState, dState, product, controller, width, height, server, viewer, showAR, showUI;
1639
+ var sceneID, configState, dState, product, controller, width, height, server, viewer, showAR, showUI, encodedState;
1640
1640
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
1641
1641
  while (1) switch (_context8.prev = _context8.next) {
1642
1642
  case 0:
@@ -1700,7 +1700,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1700
1700
  showAR = this.getAttribute("show-ar");
1701
1701
  showUI = this.getAttribute("show-ui");
1702
1702
  if (configState) {
1703
- viewer.setAttribute("config-state", configState.state.encode());
1703
+ encodedState = configState.state.encode();
1704
+ if (encodedState.length < 6000) {
1705
+ viewer.setAttribute("config-state", configState.state.encode());
1706
+ }
1704
1707
  }
1705
1708
  if (showAR) {
1706
1709
  viewer.setAttribute("show-ar", showAR);
@@ -4250,7 +4253,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4250
4253
  Object.defineProperty(exports, "__esModule", {
4251
4254
  value: true
4252
4255
  });
4253
- exports["default"] = "1.167.13";
4256
+ exports["default"] = "1.168.2";
4254
4257
  }, {}],
4255
4258
  17: [function (require, module, exports) {
4256
4259
  "use strict";