@plattar/plattar-ar-adapter 1.157.1 → 1.158.1

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.
@@ -72,7 +72,7 @@ class PlattarEmbed extends HTMLElement {
72
72
  attributes: true
73
73
  });
74
74
  }
75
- const productID = this.hasAttribute("product-id") ? this.getAttribute("product-id") : null;
75
+ const productID = this.hasAttribute("product-id") && !this.hasAttribute("scene-id") ? this.getAttribute("product-id") : null;
76
76
  if (productID) {
77
77
  this._currentType = EmbedType.Legacy;
78
78
  this._CreateLegacyEmbed();
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.157.1";
1
+ declare const _default: "1.158.1";
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.157.1";
3
+ exports.default = "1.158.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plattar/plattar-ar-adapter",
3
- "version": "1.157.1",
3
+ "version": "1.158.1",
4
4
  "description": "Plattar AR Adapter for interfacing with Google & Apple WebAR",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -40,15 +40,15 @@
40
40
  "@plattar/plattar-analytics": "^1.152.2",
41
41
  "@plattar/plattar-api": "^1.154.1",
42
42
  "@plattar/plattar-qrcode": "1.150.2",
43
- "@plattar/plattar-services": "^1.157.1",
43
+ "@plattar/plattar-services": "^1.120.1",
44
44
  "@plattar/plattar-web": "^1.154.3"
45
45
  },
46
46
  "devDependencies": {
47
- "@babel/cli": "^7.22.15",
48
- "@babel/core": "^7.22.15",
49
- "@babel/preset-env": "^7.22.15",
47
+ "@babel/cli": "^7.22.9",
48
+ "@babel/core": "^7.22.9",
49
+ "@babel/preset-env": "^7.22.9",
50
50
  "browserify": "^17.0.0",
51
- "typescript": "^5.2.2",
51
+ "typescript": "^5.1.6",
52
52
  "uglify-js": "^3.17.4"
53
53
  },
54
54
  "publishConfig": {