qrcode-matrix 1.0.0-beta.4 → 1.0.0-beta.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.
@@ -701,7 +701,7 @@
701
701
  const Float64Matrix = getTypedMatrixClass(Float64Array);
702
702
 
703
703
  /*!
704
- * qrcode-matrix v1.0.0-beta.4
704
+ * qrcode-matrix v1.0.0-beta.5
705
705
  * Homepage https://github.com/cnwhy/QRCode-matrix
706
706
  * License MIT
707
707
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * qrcode-matrix v1.0.0-beta.4
2
+ * qrcode-matrix v1.0.0-beta.5
3
3
  * Homepage https://github.com/cnwhy/QRCode-matrix
4
4
  * License MIT
5
5
  */
package/lib/qrcode.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import BitMatrix from 'bitmatrix';
1
+ import QRMatrix from './lib/QRMatrix';
2
2
  declare namespace Class {
3
3
  interface qrcodeOptions {
4
4
  errorCorrectionLevel: string | number;
@@ -8,9 +8,9 @@ declare namespace Class {
8
8
  dataMode: string | object;
9
9
  }
10
10
  interface QRcom {
11
- (data: any, mode: any): BitMatrix;
11
+ (data: any, mode?: any): QRMatrix;
12
12
  splitMake(): any;
13
- make(): BitMatrix;
13
+ make(): QRMatrix;
14
14
  addData(data: any, mode?: any): any;
15
15
  setData(data: any, mode?: any): any;
16
16
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * qrcode-matrix v1.0.0-beta.4
2
+ * qrcode-matrix v1.0.0-beta.5
3
3
  * Homepage https://github.com/cnwhy/QRCode-matrix
4
4
  * License MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * qrcode-matrix v1.0.0-beta.4
2
+ * qrcode-matrix v1.0.0-beta.5
3
3
  * Homepage https://github.com/cnwhy/QRCode-matrix
4
4
  * License MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qrcode-matrix",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.5",
4
4
  "description": "QRCode matrix generator",
5
5
  "main": "lib/qrcodeMatrix.js",
6
6
  "browser": "dist/qrcodeMatrix.umd.js",