@plattar/plattar-ar-adapter 1.140.3 → 1.147.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.
@@ -12,12 +12,6 @@ var ControllerState;
12
12
  * All Plattar Controllers are derived from the same interface
13
13
  */
14
14
  class PlattarController {
15
- constructor(parent) {
16
- this._state = ControllerState.None;
17
- this._element = null;
18
- this._prevQROpt = null;
19
- this._parent = parent;
20
- }
21
15
  /**
22
16
  * Default QR Code rendering options
23
17
  */
@@ -25,11 +19,17 @@ class PlattarController {
25
19
  return {
26
20
  color: this.getAttribute("qr-color") || "#101721",
27
21
  qrType: this.getAttribute("qr-style") || "default",
28
- shorten: this.getAttribute("qr-shorten") || false,
22
+ shorten: this.getAttribute("qr-shorten") || true,
29
23
  margin: 0
30
24
  };
31
25
  }
32
26
  ;
27
+ constructor(parent) {
28
+ this._state = ControllerState.None;
29
+ this._element = null;
30
+ this._prevQROpt = null;
31
+ this._parent = parent;
32
+ }
33
33
  /**
34
34
  * Initialise and start AR mode if available
35
35
  */
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.140.3";
1
+ declare const _default: "1.147.2";
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.140.3";
3
+ exports.default = "1.147.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plattar/plattar-ar-adapter",
3
- "version": "1.140.3",
3
+ "version": "1.147.2",
4
4
  "description": "Plattar AR Adapter for interfacing with Google & Apple WebAR",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -37,18 +37,18 @@
37
37
  },
38
38
  "homepage": "https://www.plattar.com",
39
39
  "dependencies": {
40
- "@plattar/plattar-analytics": "^1.134.3",
41
- "@plattar/plattar-api": "^1.120.1",
42
- "@plattar/plattar-qrcode": "1.134.1",
40
+ "@plattar/plattar-analytics": "^1.144.2",
41
+ "@plattar/plattar-api": "^1.147.2",
42
+ "@plattar/plattar-qrcode": "1.147.1",
43
43
  "@plattar/plattar-services": "^1.120.1",
44
44
  "@plattar/plattar-web": "^1.135.2"
45
45
  },
46
46
  "devDependencies": {
47
- "@babel/cli": "^7.19.3",
48
- "@babel/core": "^7.20.2",
47
+ "@babel/cli": "^7.21.0",
48
+ "@babel/core": "^7.21.0",
49
49
  "@babel/preset-env": "^7.20.2",
50
50
  "browserify": "^17.0.0",
51
- "typescript": "^4.8.4",
51
+ "typescript": "^4.9.5",
52
52
  "uglify-js": "^3.17.4"
53
53
  },
54
54
  "publishConfig": {