@sythos/js_barcode_universal 1.5.7 → 1.5.8

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 (180) hide show
  1. package/NOTICE.md +1 -1
  2. package/README.md +44 -35
  3. package/bundle/sythos-barcode.esm.js +618 -465
  4. package/bundle/sythos-barcode.js +618 -465
  5. package/package.json +43 -43
  6. package/src/index.d.ts +363 -0
  7. package/src/index.js +286 -133
  8. package/src/{aztec → js/aztec}/decoder.js +0 -1
  9. package/src/{aztec → js/aztec}/detector.js +0 -1
  10. package/src/{aztec → js/aztec}/encoder.js +0 -1
  11. package/src/{aztec → js/aztec}/high-level.js +0 -1
  12. package/src/{aztec → js/aztec}/index.js +0 -1
  13. package/src/{aztec → js/aztec}/tables.js +0 -1
  14. package/src/{aztecrune → js/aztecrune}/decoder.js +0 -1
  15. package/src/{aztecrune → js/aztecrune}/detector.js +0 -1
  16. package/src/{aztecrune → js/aztecrune}/encoder.js +0 -1
  17. package/src/{aztecrune → js/aztecrune}/index.js +0 -1
  18. package/src/{aztecrune → js/aztecrune}/tables.js +0 -1
  19. package/src/{compactpdf417 → js/compactpdf417}/decoder.js +0 -1
  20. package/src/{compactpdf417 → js/compactpdf417}/detector.js +0 -1
  21. package/src/{compactpdf417 → js/compactpdf417}/encoder.js +0 -1
  22. package/src/{compactpdf417 → js/compactpdf417}/index.js +0 -5
  23. package/src/{compactpdf417 → js/compactpdf417}/tables.js +0 -1
  24. package/src/{core → js/core}/bit-buffer.js +0 -1
  25. package/src/{core → js/core}/bit-matrix.js +0 -1
  26. package/src/{core → js/core}/errors.js +0 -1
  27. package/src/{core → js/core}/galois-field.js +0 -1
  28. package/src/{core → js/core}/index.js +0 -1
  29. package/src/{core → js/core}/reed-solomon.js +0 -1
  30. package/src/{databar → js/databar}/codec.js +0 -1
  31. package/src/{databar → js/databar}/decoder.js +0 -1
  32. package/src/{databar → js/databar}/encoder.js +0 -1
  33. package/src/{databar → js/databar}/gs1.js +0 -1
  34. package/src/{databar → js/databar}/index.js +0 -1
  35. package/src/{databar → js/databar}/patterns.js +0 -1
  36. package/src/{databar → js/databar}/tables.js +0 -1
  37. package/src/{datamatrix → js/datamatrix}/decoder.js +0 -1
  38. package/src/{datamatrix → js/datamatrix}/detector.js +0 -1
  39. package/src/{datamatrix → js/datamatrix}/encoder.js +0 -1
  40. package/src/{datamatrix → js/datamatrix}/index.js +0 -1
  41. package/src/{datamatrix → js/datamatrix}/tables.js +0 -1
  42. package/src/{frameqr → js/frameqr}/decoder.js +15 -16
  43. package/src/{frameqr → js/frameqr}/detector.js +2 -3
  44. package/src/{frameqr → js/frameqr}/encoder.js +7 -8
  45. package/src/{frameqr → js/frameqr}/index.js +0 -1
  46. package/src/{frameqr → js/frameqr}/tables.js +10 -11
  47. package/src/{image → js/image}/binarizer.js +0 -1
  48. package/src/{image → js/image}/grid-sampler.js +0 -1
  49. package/src/{image → js/image}/index.js +0 -1
  50. package/src/{image → js/image}/luminance.js +0 -1
  51. package/src/{image → js/image}/perspective.js +0 -1
  52. package/src/{micropdf417 → js/micropdf417}/compaction.js +0 -1
  53. package/src/{micropdf417 → js/micropdf417}/decoder.js +0 -1
  54. package/src/{micropdf417 → js/micropdf417}/detector.js +0 -1
  55. package/src/{micropdf417 → js/micropdf417}/encoder.js +0 -1
  56. package/src/{micropdf417 → js/micropdf417}/error-correction.js +0 -1
  57. package/src/{micropdf417 → js/micropdf417}/index.js +0 -1
  58. package/src/{micropdf417 → js/micropdf417}/tables.js +0 -1
  59. package/src/{microqr → js/microqr}/decoder.js +0 -1
  60. package/src/{microqr → js/microqr}/detector.js +0 -1
  61. package/src/{microqr → js/microqr}/encoder.js +0 -1
  62. package/src/{microqr → js/microqr}/index.js +0 -1
  63. package/src/{microqr → js/microqr}/tables.js +0 -1
  64. package/src/{oned → js/oned}/addons.js +0 -1
  65. package/src/{oned → js/oned}/index.js +0 -1
  66. package/src/{oned → js/oned}/patterns.js +0 -1
  67. package/src/{oned → js/oned}/reader.js +0 -1
  68. package/src/{oned → js/oned}/writers.js +0 -1
  69. package/src/{pdf417 → js/pdf417}/compaction.js +0 -1
  70. package/src/{pdf417 → js/pdf417}/decoder.js +0 -1
  71. package/src/{pdf417 → js/pdf417}/detector.js +0 -1
  72. package/src/{pdf417 → js/pdf417}/encoder.js +0 -1
  73. package/src/{pdf417 → js/pdf417}/error-correction.js +0 -1
  74. package/src/{pdf417 → js/pdf417}/index.js +0 -5
  75. package/src/{pdf417 → js/pdf417}/tables.js +0 -1
  76. package/src/{qr → js/qr}/decoder.js +0 -1
  77. package/src/{qr → js/qr}/detector.js +0 -1
  78. package/src/{qr → js/qr}/encoder.js +0 -1
  79. package/src/{qr → js/qr}/index.js +0 -1
  80. package/src/{qr → js/qr}/tables.js +0 -1
  81. package/src/{render → js/render}/image-data.js +0 -1
  82. package/src/{render → js/render}/index.js +0 -1
  83. package/src/{render → js/render}/options.js +0 -1
  84. package/src/{render → js/render}/png.js +0 -1
  85. package/src/{render → js/render}/svg.js +0 -1
  86. package/src/{render → js/render}/webgl.js +0 -1
  87. package/src/{render → js/render}/webgpu.js +0 -1
  88. package/src/{rmqr → js/rmqr}/decoder.js +0 -1
  89. package/src/{rmqr → js/rmqr}/detector.js +0 -1
  90. package/src/{rmqr → js/rmqr}/encoder.js +0 -1
  91. package/src/{rmqr → js/rmqr}/index.js +0 -1
  92. package/src/{rmqr → js/rmqr}/tables.js +0 -1
  93. package/{typings → src/ts}/aztec/detector.d.ts +2 -2
  94. package/{typings → src/ts}/datamatrix/detector.d.ts +2 -2
  95. package/{typings → src/ts}/index.d.ts +3 -3
  96. /package/{typings → src/ts}/aztec/decoder.d.ts +0 -0
  97. /package/{typings → src/ts}/aztec/encoder.d.ts +0 -0
  98. /package/{typings → src/ts}/aztec/high-level.d.ts +0 -0
  99. /package/{typings → src/ts}/aztec/index.d.ts +0 -0
  100. /package/{typings → src/ts}/aztec/tables.d.ts +0 -0
  101. /package/{typings → src/ts}/aztecrune/decoder.d.ts +0 -0
  102. /package/{typings → src/ts}/aztecrune/detector.d.ts +0 -0
  103. /package/{typings → src/ts}/aztecrune/encoder.d.ts +0 -0
  104. /package/{typings → src/ts}/aztecrune/index.d.ts +0 -0
  105. /package/{typings → src/ts}/aztecrune/tables.d.ts +0 -0
  106. /package/{typings → src/ts}/bundle/sythos-barcode.d.ts +0 -0
  107. /package/{typings → src/ts}/bundle/sythos-barcode.esm.d.ts +0 -0
  108. /package/{typings → src/ts}/compactpdf417/decoder.d.ts +0 -0
  109. /package/{typings → src/ts}/compactpdf417/detector.d.ts +0 -0
  110. /package/{typings → src/ts}/compactpdf417/encoder.d.ts +0 -0
  111. /package/{typings → src/ts}/compactpdf417/index.d.ts +0 -0
  112. /package/{typings → src/ts}/compactpdf417/tables.d.ts +0 -0
  113. /package/{typings → src/ts}/core/bit-buffer.d.ts +0 -0
  114. /package/{typings → src/ts}/core/bit-matrix.d.ts +0 -0
  115. /package/{typings → src/ts}/core/errors.d.ts +0 -0
  116. /package/{typings → src/ts}/core/galois-field.d.ts +0 -0
  117. /package/{typings → src/ts}/core/index.d.ts +0 -0
  118. /package/{typings → src/ts}/core/reed-solomon.d.ts +0 -0
  119. /package/{typings → src/ts}/databar/codec.d.ts +0 -0
  120. /package/{typings → src/ts}/databar/decoder.d.ts +0 -0
  121. /package/{typings → src/ts}/databar/encoder.d.ts +0 -0
  122. /package/{typings → src/ts}/databar/gs1.d.ts +0 -0
  123. /package/{typings → src/ts}/databar/index.d.ts +0 -0
  124. /package/{typings → src/ts}/databar/patterns.d.ts +0 -0
  125. /package/{typings → src/ts}/databar/tables.d.ts +0 -0
  126. /package/{typings → src/ts}/datamatrix/decoder.d.ts +0 -0
  127. /package/{typings → src/ts}/datamatrix/encoder.d.ts +0 -0
  128. /package/{typings → src/ts}/datamatrix/index.d.ts +0 -0
  129. /package/{typings → src/ts}/datamatrix/tables.d.ts +0 -0
  130. /package/{typings → src/ts}/frameqr/decoder.d.ts +0 -0
  131. /package/{typings → src/ts}/frameqr/detector.d.ts +0 -0
  132. /package/{typings → src/ts}/frameqr/encoder.d.ts +0 -0
  133. /package/{typings → src/ts}/frameqr/index.d.ts +0 -0
  134. /package/{typings → src/ts}/frameqr/tables.d.ts +0 -0
  135. /package/{typings → src/ts}/image/binarizer.d.ts +0 -0
  136. /package/{typings → src/ts}/image/grid-sampler.d.ts +0 -0
  137. /package/{typings → src/ts}/image/index.d.ts +0 -0
  138. /package/{typings → src/ts}/image/luminance.d.ts +0 -0
  139. /package/{typings → src/ts}/image/perspective.d.ts +0 -0
  140. /package/{typings → src/ts}/micropdf417/compaction.d.ts +0 -0
  141. /package/{typings → src/ts}/micropdf417/decoder.d.ts +0 -0
  142. /package/{typings → src/ts}/micropdf417/detector.d.ts +0 -0
  143. /package/{typings → src/ts}/micropdf417/encoder.d.ts +0 -0
  144. /package/{typings → src/ts}/micropdf417/error-correction.d.ts +0 -0
  145. /package/{typings → src/ts}/micropdf417/index.d.ts +0 -0
  146. /package/{typings → src/ts}/micropdf417/tables.d.ts +0 -0
  147. /package/{typings → src/ts}/microqr/decoder.d.ts +0 -0
  148. /package/{typings → src/ts}/microqr/detector.d.ts +0 -0
  149. /package/{typings → src/ts}/microqr/encoder.d.ts +0 -0
  150. /package/{typings → src/ts}/microqr/index.d.ts +0 -0
  151. /package/{typings → src/ts}/microqr/tables.d.ts +0 -0
  152. /package/{typings → src/ts}/oned/addons.d.ts +0 -0
  153. /package/{typings → src/ts}/oned/index.d.ts +0 -0
  154. /package/{typings → src/ts}/oned/patterns.d.ts +0 -0
  155. /package/{typings → src/ts}/oned/reader.d.ts +0 -0
  156. /package/{typings → src/ts}/oned/writers.d.ts +0 -0
  157. /package/{typings → src/ts}/pdf417/compaction.d.ts +0 -0
  158. /package/{typings → src/ts}/pdf417/decoder.d.ts +0 -0
  159. /package/{typings → src/ts}/pdf417/detector.d.ts +0 -0
  160. /package/{typings → src/ts}/pdf417/encoder.d.ts +0 -0
  161. /package/{typings → src/ts}/pdf417/error-correction.d.ts +0 -0
  162. /package/{typings → src/ts}/pdf417/index.d.ts +0 -0
  163. /package/{typings → src/ts}/pdf417/tables.d.ts +0 -0
  164. /package/{typings → src/ts}/qr/decoder.d.ts +0 -0
  165. /package/{typings → src/ts}/qr/detector.d.ts +0 -0
  166. /package/{typings → src/ts}/qr/encoder.d.ts +0 -0
  167. /package/{typings → src/ts}/qr/index.d.ts +0 -0
  168. /package/{typings → src/ts}/qr/tables.d.ts +0 -0
  169. /package/{typings → src/ts}/render/image-data.d.ts +0 -0
  170. /package/{typings → src/ts}/render/index.d.ts +0 -0
  171. /package/{typings → src/ts}/render/options.d.ts +0 -0
  172. /package/{typings → src/ts}/render/png.d.ts +0 -0
  173. /package/{typings → src/ts}/render/svg.d.ts +0 -0
  174. /package/{typings → src/ts}/render/webgl.d.ts +0 -0
  175. /package/{typings → src/ts}/render/webgpu.d.ts +0 -0
  176. /package/{typings → src/ts}/rmqr/decoder.d.ts +0 -0
  177. /package/{typings → src/ts}/rmqr/detector.d.ts +0 -0
  178. /package/{typings → src/ts}/rmqr/encoder.d.ts +0 -0
  179. /package/{typings → src/ts}/rmqr/index.d.ts +0 -0
  180. /package/{typings → src/ts}/rmqr/tables.d.ts +0 -0
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -4,7 +4,6 @@
4
4
  * MIT License
5
5
  *
6
6
  * Copyright (c) 2026 Sythos
7
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
8
7
  *
9
8
  * Permission is hereby granted, free of charge, to any person obtaining a copy
10
9
  * of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -4,7 +4,6 @@
4
4
  * MIT License
5
5
  *
6
6
  * Copyright (c) 2026 Sythos
7
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
8
7
  *
9
8
  * Permission is hereby granted, free of charge, to any person obtaining a copy
10
9
  * of this software and associated documentation files (the "Software"), to deal
@@ -4,7 +4,6 @@
4
4
  * MIT License
5
5
  *
6
6
  * Copyright (c) 2026 Sythos
7
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
8
7
  *
9
8
  * Permission is hereby granted, free of charge, to any person obtaining a copy
10
9
  * of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -1,8 +1,3 @@
1
- /*!
2
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
3
- * SPDX-License-Identifier: MIT
4
- */
5
-
6
1
  export { compactPdf417, compactPdf417Text, compactPdf417Bytes, compactPdf417Numeric, decodePdf417Compaction, decodePdf417CompactionDetailed } from './compaction.js';
7
2
  export { encodePDF417 } from './encoder.js';
8
3
  export { decodePDF417 } from './decoder.js';
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -23,7 +23,6 @@
23
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
24
  * SOFTWARE.
25
25
  *
26
- * SPDX-FileCopyrightText: 2026 Sythos (https://www.sythos.net)
27
26
  * SPDX-License-Identifier: MIT
28
27
  *
29
28
  * Original work. No code from any other barcode implementation.
@@ -55,8 +55,8 @@ export declare function detectAztec(binaryImage: import('../core/bit-matrix.js')
55
55
  * images without an Aztec code, therefore invalid candidates return null.
56
56
  *
57
57
  * @param {import('../core/bit-matrix.js').BitMatrix} binaryImage
58
- * @returns {(import('./decoder.js').DecodeResult & {corners: Point[]}) | null}
58
+ * @returns {(import("./decoder.js").DecodeResult & {corners: Point[]}) | null}
59
59
  */
60
- export declare function detectAndDecodeAztec(binaryImage: import('../core/bit-matrix.js').BitMatrix): (import('./decoder.js').DecodeResult & {
60
+ export declare function detectAndDecodeAztec(binaryImage: import('../core/bit-matrix.js').BitMatrix): (import("./decoder.js").DecodeResult & {
61
61
  corners: Point[];
62
62
  }) | null;
@@ -52,8 +52,8 @@ export declare function detectDataMatrix(binaryImage: import('../core/bit-matrix
52
52
  * image without a symbol, so candidates that cannot decode are skipped.
53
53
  *
54
54
  * @param {import('../core/bit-matrix.js').BitMatrix} binaryImage
55
- * @returns {(import('./decoder.js').DecodeResult & {corners: Point[]}) | null}
55
+ * @returns {(import("./decoder.js").DecodeResult & {corners: Point[]}) | null}
56
56
  */
57
- export declare function detectAndDecodeDataMatrix(binaryImage: import('../core/bit-matrix.js').BitMatrix): (import('./decoder.js').DecodeResult & {
57
+ export declare function detectAndDecodeDataMatrix(binaryImage: import('../core/bit-matrix.js').BitMatrix): (import("./decoder.js").DecodeResult & {
58
58
  corners: Point[];
59
59
  }) | null;
@@ -248,7 +248,7 @@ export type DecodeResult = {
248
248
  /**
249
249
  * Camera-profile orientation in degrees.
250
250
  */
251
- rotation?: 0 | 90 | 180 | 270;
251
+ rotation?: 0 | 45 | 90 | 135 | 180 | 225 | 270 | 315;
252
252
  /**
253
253
  * Camera-profile validation evidence.
254
254
  */
@@ -310,7 +310,7 @@ export type DecodeResult = {
310
310
  * @property {{format:'ean2'|'ean5', text:string, parity:string, checksum?:number}} [addon] Attached EAN/UPC supplement.
311
311
  * @property {number} [confidence] Camera-profile confidence from 0 to 1.
312
312
  * @property {{x:number,y:number,width:number,height:number}} [bounds] Camera-profile bounds in the scanned orientation.
313
- * @property {0|90|180|270} [rotation] Camera-profile orientation in degrees.
313
+ * @property {0|45|90|135|180|225|270|315} [rotation] Camera-profile orientation in degrees.
314
314
  * @property {{quietZone:boolean,checksum:boolean|null,rows:number|null,consistency:number|null}} [quality] Camera-profile validation evidence.
315
315
  * @property {boolean} [gs1] Whether the physical symbol is classified as GS1.
316
316
  * @property {string} [symbologyIdentifier] GS1 symbology identifier.
@@ -360,4 +360,4 @@ export declare function decodeStrict(image: {
360
360
  height: number;
361
361
  }, options?: object): DecodeResult;
362
362
  /** Library version, matching package.json. */
363
- export declare const VERSION = "1.5.6";
363
+ export declare const VERSION = "1.5.8";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes