New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@plattar/plattar-ar-adapter

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plattar/plattar-ar-adapter - npm Package Compare versions

Comparing version

to
1.167.13

32

dist/embed/controllers/product-controller.js

@@ -74,10 +74,11 @@ "use strict";

viewer.setAttribute("url", opt.url || dst);
viewer.onload = () => {
return accept(viewer);
};
this.append(viewer);
this._element = viewer;
this._state = plattar_controller_1.ControllerState.QRCode;
this._prevQROpt = opt;
return;
return new Promise((accept, reject) => {
viewer.onload = () => {
return accept(viewer);
};
this.append(viewer);
});
}

@@ -152,9 +153,11 @@ return reject(new Error("ProductController.startQRCode() - minimum required attributes not set, use product-id as a minimum"));

viewer.setAttribute("url", opt.url || dst);
viewer.onload = () => {
return accept(viewer);
};
this._element = viewer;
this._state = plattar_controller_1.ControllerState.QRCode;
this._prevQROpt = opt;
this.append(viewer);
return new Promise((accept, reject) => {
viewer.onload = () => {
return accept(viewer);
};
this.append(viewer);
});
});

@@ -190,9 +193,10 @@ }

}
viewer.onload = () => {
return accept(viewer);
};
this.append(viewer);
this._element = viewer;
this._state = plattar_controller_1.ControllerState.Renderer;
return;
return new Promise((accept, reject) => {
viewer.onload = () => {
return accept(viewer);
};
this.append(viewer);
});
}

@@ -199,0 +203,0 @@ return reject(new Error("ProductController.startRenderer() - minimum required attributes not set, use scene-id as a minimum"));

@@ -1,2 +0,2 @@

declare const _default: "1.167.12";
declare const _default: "1.167.13";
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = "1.167.12";
exports.default = "1.167.13";
{
"name": "@plattar/plattar-ar-adapter",
"version": "1.167.12",
"version": "1.167.13",
"description": "Plattar AR Adapter for interfacing with Google & Apple WebAR",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display