@undecaf/barcode-detector-polyfill
Advanced tools
Comparing version 0.9.19 to 0.9.20
@@ -6,7 +6,12 @@ type Point = { | ||
/** | ||
* @see https://wicg.github.io/shape-detection-api/#detectedbarcode-section | ||
* @see https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector/detect#return_value | ||
*/ | ||
interface DetectedBarcode { | ||
boundingBox: DOMRectReadOnly; | ||
cornerPoints: Array<Point>; | ||
cornerPoints: [ | ||
Point, | ||
Point, | ||
Point, | ||
Point | ||
]; | ||
format: string; | ||
@@ -13,0 +18,0 @@ rawValue: string; |
/*! | ||
* @undecaf/barcode-detector-polyfill v0.9.19 | ||
* @undecaf/barcode-detector-polyfill v0.9.20 | ||
* A WebAssembly polyfill for the Barcode Detection API | ||
* Built 2023-07-28T13:59:19.053Z | ||
* Built 2023-07-29T22:09:21.713Z | ||
* (c) 2021-present Ferdinand Kasper <fkasper@modus-operandi.at> | ||
@@ -6,0 +6,0 @@ * Released under the MIT license. |
@@ -6,7 +6,12 @@ type Point = { | ||
/** | ||
* @see https://wicg.github.io/shape-detection-api/#detectedbarcode-section | ||
* @see https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector/detect#return_value | ||
*/ | ||
interface DetectedBarcode { | ||
boundingBox: DOMRectReadOnly; | ||
cornerPoints: Array<Point>; | ||
cornerPoints: [ | ||
Point, | ||
Point, | ||
Point, | ||
Point | ||
]; | ||
format: string; | ||
@@ -13,0 +18,0 @@ rawValue: string; |
/*! | ||
* @undecaf/barcode-detector-polyfill v0.9.19 | ||
* @undecaf/barcode-detector-polyfill v0.9.20 | ||
* A WebAssembly polyfill for the Barcode Detection API | ||
* Built 2023-07-28T13:59:19.053Z | ||
* Built 2023-07-29T22:09:21.713Z | ||
* (c) 2021-present Ferdinand Kasper <fkasper@modus-operandi.at> | ||
@@ -6,0 +6,0 @@ * Released under the MIT license. |
{ | ||
"name": "@undecaf/barcode-detector-polyfill", | ||
"version": "0.9.19", | ||
"version": "0.9.20", | ||
"description": "A WebAssembly polyfill for the Barcode Detection API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -62,3 +62,3 @@ # A WebAssembly polyfill for the Barcode Detection API | ||
<script src="https://cdn.jsdelivr.net/npm/@undecaf/zbar-wasm@0.9.15/dist/index.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@undecaf/barcode-detector-polyfill@0.9.19/dist/index.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@undecaf/barcode-detector-polyfill@0.9.20/dist/index.js"></script> | ||
<script> | ||
@@ -65,0 +65,0 @@ try { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
110040
296