@perceptimagery/dita-configurator-staging 0.2.1301 → 0.2.1305
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/dist/index.js +5 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ var __publicField = (obj, key, value) => {
|
|
|
112
112
|
host: "https://api.sprie.io"
|
|
113
113
|
};
|
|
114
114
|
const config$1 = Object.freeze(Config$2);
|
|
115
|
-
const version$1 = "0.2.
|
|
115
|
+
const version$1 = "0.2.1305";
|
|
116
116
|
function modifyLensArr$1(arr, element) {
|
|
117
117
|
const index = arr.findIndex((e) => e["sku"] === element["sku"]);
|
|
118
118
|
if (index !== -1) {
|
|
@@ -226,7 +226,7 @@ var __publicField = (obj, key, value) => {
|
|
|
226
226
|
if (desktopContainer && desktopContainer.hasAttribute("open")) {
|
|
227
227
|
desktopContainer.removeAttribute("open");
|
|
228
228
|
}
|
|
229
|
-
const mobileContainer = document.querySelector(".popover.hidden-lap-and-up.popover
|
|
229
|
+
const mobileContainer = document.querySelector(".popover.hidden-lap-and-up.popover-full");
|
|
230
230
|
if (mobileContainer && mobileContainer.hasAttribute("open")) {
|
|
231
231
|
mobileContainer.removeAttribute("open");
|
|
232
232
|
}
|
|
@@ -43255,8 +43255,9 @@ bool bvhIntersectFirstHit(
|
|
|
43255
43255
|
-0.13425621157020154,
|
|
43256
43256
|
-0.2564218846390263
|
|
43257
43257
|
);
|
|
43258
|
-
|
|
43259
|
-
|
|
43258
|
+
this.renderer.getSize(new Vector2());
|
|
43259
|
+
const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
|
|
43260
|
+
if (!isMobile) {
|
|
43260
43261
|
this.camera.position.set(
|
|
43261
43262
|
2.2,
|
|
43262
43263
|
2.2,
|
|
@@ -43435,7 +43436,6 @@ bool bvhIntersectFirstHit(
|
|
|
43435
43436
|
}
|
|
43436
43437
|
async Init() {
|
|
43437
43438
|
if (!this.customRenderer.isInitialised) {
|
|
43438
|
-
console.log("Intializing custom rendereer");
|
|
43439
43439
|
await this.customRenderer.intialize();
|
|
43440
43440
|
this.customRenderer.setupAndRenderScene();
|
|
43441
43441
|
}
|
|
@@ -51295,7 +51295,6 @@ bool bvhIntersectFirstHit(
|
|
|
51295
51295
|
* @returns
|
|
51296
51296
|
*/
|
|
51297
51297
|
async Post(data) {
|
|
51298
|
-
console.log(this.config.addToCartUrl);
|
|
51299
51298
|
const response = await fetch(this.config.addToCartUrl, this.RequestOptions("POST", data || {}));
|
|
51300
51299
|
const result = response.json();
|
|
51301
51300
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perceptimagery/dita-configurator-staging",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1305",
|
|
4
4
|
"author": "Rohan Satpute <rohan@perceptimagery.com>",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"preview": "vite preview"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@perceptimagery/3d-configurator": "^1.2.
|
|
18
|
+
"@perceptimagery/3d-configurator": "^1.2.1",
|
|
19
19
|
"@perceptimagery/sprie-asset-auth": "^1.2.1016",
|
|
20
20
|
"dat.gui": "^0.7.9",
|
|
21
21
|
"events": "^3.3.0",
|