Skip to content

Commit

Permalink
Merge PR cozmo#150
Browse files Browse the repository at this point in the history
  • Loading branch information
danimoh committed Jul 9, 2020
2 parents 79fbb28 + 4b31e72 commit d79ed51
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { BitMatrix } from "./BitMatrix";
import { Chunks } from "./decoder/decodeData";
import { Point } from "./locator";
export interface QRCode {
Expand All @@ -14,6 +15,7 @@ export interface QRCode {
bottomLeftFinderPattern: Point;
bottomRightAlignmentPattern?: Point;
};
matrix: BitMatrix;
}
export interface Options {
inversionAttempts?: "dontInvert" | "onlyInvert" | "attemptBoth" | "invertFirst";
Expand Down
3 changes: 2 additions & 1 deletion dist/jsQR.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jsQR.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface QRCode {

bottomRightAlignmentPattern?: Point;
};
matrix: BitMatrix;
}

function scan(matrix: BitMatrix): QRCode | null {
Expand Down Expand Up @@ -49,6 +50,7 @@ function scan(matrix: BitMatrix): QRCode | null {

bottomRightAlignmentPattern: location.alignmentPattern,
},
matrix: extracted.matrix,
};
}
}
Expand Down

0 comments on commit d79ed51

Please sign in to comment.