@plattar/plattar-qrcode 1.150.1 → 1.160.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.
@@ -211,7 +211,7 @@ class BaseElement extends HTMLElement {
211
211
 
212
212
  this._UpdateCanvas(width, height);
213
213
 
214
- div.style.display = "block";
214
+ div.style.display = "flex";
215
215
 
216
216
  return;
217
217
  }
@@ -242,7 +242,7 @@ class BaseElement extends HTMLElement {
242
242
  }
243
243
 
244
244
  try {
245
- const b64Link = new Buffer(url).toString("base64");
245
+ const b64Link = btoa(url);
246
246
 
247
247
  fetch("https://c.plattar.com/shorten", {
248
248
  cache: "no-store",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plattar/plattar-qrcode",
3
- "version": "1.150.1",
3
+ "version": "1.160.1",
4
4
  "description": "Allows embedding Plattar-Style QR Codes for existing websites.",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/version.js CHANGED
@@ -1 +1 @@
1
- module.exports = "1.150.1";
1
+ module.exports = "1.160.1";