somdigi-qr-generator 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
  3. package/src/core.js +2 -2
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- const generateQR = require("./src/core");
1
+ const generateQr = require("./src/core");
2
2
 
3
3
  module.exports = {
4
- generateQR
4
+ generateQr
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "somdigi-qr-generator",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/src/core.js CHANGED
@@ -10,7 +10,7 @@ const {
10
10
  insertLogo
11
11
  } = require("./svg-helper");
12
12
 
13
- class FastDotQR {
13
+ class generateQr {
14
14
  static async toSVG(text, options = {}) {
15
15
  const rawSVG = await QRCode.toString(text, {
16
16
  type: "svg",
@@ -74,4 +74,4 @@ class FastDotQR {
74
74
  }
75
75
  }
76
76
 
77
- module.exports = FastDotQR;
77
+ module.exports = generateQr;