qrcode-matrix 1.0.0-beta.3 → 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.
package/dist/qrcodeMatrix.umd.js
CHANGED
package/lib/qrcode.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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
|
|
11
|
+
(data: any, mode?: any): QRMatrix;
|
|
12
12
|
splitMake(): any;
|
|
13
|
-
make():
|
|
13
|
+
make(): QRMatrix;
|
|
14
14
|
addData(data: any, mode?: any): any;
|
|
15
15
|
setData(data: any, mode?: any): any;
|
|
16
16
|
}
|
package/lib/qrcodeMatrix.es.js
CHANGED
package/lib/qrcodeMatrix.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qrcode-matrix",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
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",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"precompile": "npm run clean",
|
|
17
17
|
"compile": "rollup -c",
|
|
18
18
|
"build": "npm run compile",
|
|
19
|
-
"prepack": "npm run compile"
|
|
19
|
+
"prepack": "npm run compile",
|
|
20
|
+
"test": "tsx test/index.ts"
|
|
20
21
|
},
|
|
21
22
|
"author": {
|
|
22
23
|
"name": "cnwhy",
|
|
@@ -37,8 +38,8 @@
|
|
|
37
38
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
38
39
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
39
40
|
"rollup-plugin-uglify": "^6.0.2",
|
|
40
|
-
"ts-node": "^8.3.0",
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
+
"tsx": "^4.20.6",
|
|
42
43
|
"typescript": "^3.5.3"
|
|
43
44
|
}
|
|
44
45
|
}
|