isite 2021.12.4 → 2021.12.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.
@@ -1084,7 +1084,7 @@
1084
1084
  text: options.text,
1085
1085
  width: options.width || 256,
1086
1086
  height: options.height || 256,
1087
- colorDark: options.colorDark || '#345BD1',
1087
+ colorDark: options.colorDark || '#000000',
1088
1088
  colorLight: options.colorLight || '#ffffff',
1089
1089
  correctLevel: options.correctLevel || QRCode.CorrectLevel.L,
1090
1090
  });
@@ -8,8 +8,8 @@
8
8
  <style>
9
9
  html,
10
10
  body {
11
- margin: 0px;
12
- padding: 0px;
11
+ margin: 0mm;
12
+ padding: 0mm;
13
13
  }
14
14
  img {
15
15
  width: 100%;
@@ -150,7 +150,7 @@ site.printAsImage = function (options, callback) {
150
150
  }
151
151
 
152
152
  domtoimage
153
- .toPng(node, { quality: 1, bgcolor: '#ffffff', cacheBust: true })
153
+ .toPng(node, { quality: 1, bgcolor: '#ffffff' })
154
154
  .then(function (dataUrl) {
155
155
  var img = new Image();
156
156
  img.src = dataUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2021.12.04",
3
+ "version": "2021.12.05",
4
4
  "description": "Create Enterprise Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {