@plattar/plattar-ar-adapter 1.123.4 → 1.123.5
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/build/es2015/plattar-ar-adapter.js +9 -3
- package/build/es2015/plattar-ar-adapter.min.js +1 -1
- package/build/es2019/plattar-ar-adapter.js +7 -3
- package/build/es2019/plattar-ar-adapter.min.js +1 -1
- package/dist/embed/controllers/product-controller.js +3 -1
- package/dist/embed/controllers/viewer-controller.js +3 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -1394,7 +1394,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1394
1394
|
|
|
1395
1395
|
if (viewer) {
|
|
1396
1396
|
var variationID = this.getAttribute("variation-id");
|
|
1397
|
-
|
|
1397
|
+
|
|
1398
|
+
if (variationID && viewer.messenger) {
|
|
1399
|
+
viewer.messenger.selectVariation(variationID);
|
|
1400
|
+
}
|
|
1398
1401
|
}
|
|
1399
1402
|
|
|
1400
1403
|
return;
|
|
@@ -1605,7 +1608,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1605
1608
|
if (viewer) {
|
|
1606
1609
|
var productID = this.getAttribute("product-id");
|
|
1607
1610
|
var variationID = this.getAttribute("variation-id");
|
|
1608
|
-
|
|
1611
|
+
|
|
1612
|
+
if (productID && variationID && viewer.messenger) {
|
|
1613
|
+
viewer.messenger.selectVariation(productID, variationID);
|
|
1614
|
+
}
|
|
1609
1615
|
}
|
|
1610
1616
|
|
|
1611
1617
|
return;
|
|
@@ -2642,7 +2648,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2642
2648
|
Object.defineProperty(exports, "__esModule", {
|
|
2643
2649
|
value: true
|
|
2644
2650
|
});
|
|
2645
|
-
exports["default"] = "1.123.
|
|
2651
|
+
exports["default"] = "1.123.5";
|
|
2646
2652
|
}, {}],
|
|
2647
2653
|
16: [function (require, module, exports) {
|
|
2648
2654
|
"use strict";
|