rxing-wasm 0.2.9 → 0.2.10

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "rxing-wasm",
3
3
  "type": "module",
4
4
  "description": "wasm bindings for rxing to provide commong barcode operations (decode/encode)",
5
- "version": "0.2.9",
5
+ "version": "0.2.10",
6
6
  "license": "Apache 2.0",
7
7
  "repository": {
8
8
  "type": "git",
package/rxing_wasm.d.ts CHANGED
@@ -241,83 +241,6 @@ export enum EncodeHintTypes {
241
241
  TelepenAsNumeric = 19,
242
242
  }
243
243
  /**
244
- * Available barcode types
245
- */
246
- export enum BarcodeFormat {
247
- /**
248
- * Aztec 2D barcode format.
249
- */
250
- AZTEC = 0,
251
- /**
252
- * CODABAR 1D format.
253
- */
254
- CODABAR = 1,
255
- /**
256
- * Code 39 1D format.
257
- */
258
- Code39 = 2,
259
- /**
260
- * Code 93 1D format.
261
- */
262
- Code93 = 3,
263
- /**
264
- * Code 128 1D format.
265
- */
266
- Code128 = 4,
267
- /**
268
- * Data Matrix 2D barcode format.
269
- */
270
- DataMatrix = 5,
271
- /**
272
- * EAN-8 1D format.
273
- */
274
- Ean8 = 6,
275
- /**
276
- * EAN-13 1D format.
277
- */
278
- Ean13 = 7,
279
- /**
280
- * ITF (Interleaved Two of Five) 1D format.
281
- */
282
- ITF = 8,
283
- /**
284
- * MaxiCode 2D barcode format.
285
- */
286
- MAXICODE = 9,
287
- /**
288
- * PDF417 format.
289
- */
290
- Pdf417 = 10,
291
- /**
292
- * QR Code 2D barcode format.
293
- */
294
- QrCode = 11,
295
- /**
296
- * RSS 14
297
- */
298
- Rss14 = 12,
299
- /**
300
- * RSS EXPANDED
301
- */
302
- RssExpanded = 13,
303
- /**
304
- * UPC-A 1D format.
305
- */
306
- UpcA = 14,
307
- /**
308
- * UPC-E 1D format.
309
- */
310
- UpcE = 15,
311
- /**
312
- * UPC/EAN extension format. Not a stand-alone format.
313
- */
314
- UpcEanExtension = 16,
315
- MicroQR = 17,
316
- Telepen = 18,
317
- RectangularMicroQR = 19,
318
- UnsuportedFormat = 20,
319
- }
320
- /**
321
244
  */
322
245
  export enum DecodeHintTypes {
323
246
  /**
@@ -414,6 +337,83 @@ export enum DecodeHintTypes {
414
337
  TelepenAsNumeric = 12,
415
338
  }
416
339
  /**
340
+ * Available barcode types
341
+ */
342
+ export enum BarcodeFormat {
343
+ /**
344
+ * Aztec 2D barcode format.
345
+ */
346
+ AZTEC = 0,
347
+ /**
348
+ * CODABAR 1D format.
349
+ */
350
+ CODABAR = 1,
351
+ /**
352
+ * Code 39 1D format.
353
+ */
354
+ Code39 = 2,
355
+ /**
356
+ * Code 93 1D format.
357
+ */
358
+ Code93 = 3,
359
+ /**
360
+ * Code 128 1D format.
361
+ */
362
+ Code128 = 4,
363
+ /**
364
+ * Data Matrix 2D barcode format.
365
+ */
366
+ DataMatrix = 5,
367
+ /**
368
+ * EAN-8 1D format.
369
+ */
370
+ Ean8 = 6,
371
+ /**
372
+ * EAN-13 1D format.
373
+ */
374
+ Ean13 = 7,
375
+ /**
376
+ * ITF (Interleaved Two of Five) 1D format.
377
+ */
378
+ ITF = 8,
379
+ /**
380
+ * MaxiCode 2D barcode format.
381
+ */
382
+ MAXICODE = 9,
383
+ /**
384
+ * PDF417 format.
385
+ */
386
+ Pdf417 = 10,
387
+ /**
388
+ * QR Code 2D barcode format.
389
+ */
390
+ QrCode = 11,
391
+ /**
392
+ * RSS 14
393
+ */
394
+ Rss14 = 12,
395
+ /**
396
+ * RSS EXPANDED
397
+ */
398
+ RssExpanded = 13,
399
+ /**
400
+ * UPC-A 1D format.
401
+ */
402
+ UpcA = 14,
403
+ /**
404
+ * UPC-E 1D format.
405
+ */
406
+ UpcE = 15,
407
+ /**
408
+ * UPC/EAN extension format. Not a stand-alone format.
409
+ */
410
+ UpcEanExtension = 16,
411
+ MicroQR = 17,
412
+ Telepen = 18,
413
+ RectangularMicroQR = 19,
414
+ UnsuportedFormat = 20,
415
+ }
416
+ /**
417
417
  */
418
418
  export class BarcodeResult {
419
419
  free(): void;
package/rxing_wasm_bg.js CHANGED
@@ -546,78 +546,6 @@ ForceC40:17,"17":"ForceC40",
546
546
  */
547
547
  Code128Compact:18,"18":"Code128Compact",TelepenAsNumeric:19,"19":"TelepenAsNumeric", });
548
548
  /**
549
- * Available barcode types
550
- */
551
- export const BarcodeFormat = Object.freeze({
552
- /**
553
- * Aztec 2D barcode format.
554
- */
555
- AZTEC:0,"0":"AZTEC",
556
- /**
557
- * CODABAR 1D format.
558
- */
559
- CODABAR:1,"1":"CODABAR",
560
- /**
561
- * Code 39 1D format.
562
- */
563
- Code39:2,"2":"Code39",
564
- /**
565
- * Code 93 1D format.
566
- */
567
- Code93:3,"3":"Code93",
568
- /**
569
- * Code 128 1D format.
570
- */
571
- Code128:4,"4":"Code128",
572
- /**
573
- * Data Matrix 2D barcode format.
574
- */
575
- DataMatrix:5,"5":"DataMatrix",
576
- /**
577
- * EAN-8 1D format.
578
- */
579
- Ean8:6,"6":"Ean8",
580
- /**
581
- * EAN-13 1D format.
582
- */
583
- Ean13:7,"7":"Ean13",
584
- /**
585
- * ITF (Interleaved Two of Five) 1D format.
586
- */
587
- ITF:8,"8":"ITF",
588
- /**
589
- * MaxiCode 2D barcode format.
590
- */
591
- MAXICODE:9,"9":"MAXICODE",
592
- /**
593
- * PDF417 format.
594
- */
595
- Pdf417:10,"10":"Pdf417",
596
- /**
597
- * QR Code 2D barcode format.
598
- */
599
- QrCode:11,"11":"QrCode",
600
- /**
601
- * RSS 14
602
- */
603
- Rss14:12,"12":"Rss14",
604
- /**
605
- * RSS EXPANDED
606
- */
607
- RssExpanded:13,"13":"RssExpanded",
608
- /**
609
- * UPC-A 1D format.
610
- */
611
- UpcA:14,"14":"UpcA",
612
- /**
613
- * UPC-E 1D format.
614
- */
615
- UpcE:15,"15":"UpcE",
616
- /**
617
- * UPC/EAN extension format. Not a stand-alone format.
618
- */
619
- UpcEanExtension:16,"16":"UpcEanExtension",MicroQR:17,"17":"MicroQR",Telepen:18,"18":"Telepen",RectangularMicroQR:19,"19":"RectangularMicroQR",UnsuportedFormat:20,"20":"UnsuportedFormat", });
620
- /**
621
549
  */
622
550
  export const DecodeHintTypes = Object.freeze({
623
551
  /**
@@ -712,6 +640,78 @@ AlsoInverted:11,"11":"AlsoInverted",
712
640
  *
713
641
  */
714
642
  TelepenAsNumeric:12,"12":"TelepenAsNumeric", });
643
+ /**
644
+ * Available barcode types
645
+ */
646
+ export const BarcodeFormat = Object.freeze({
647
+ /**
648
+ * Aztec 2D barcode format.
649
+ */
650
+ AZTEC:0,"0":"AZTEC",
651
+ /**
652
+ * CODABAR 1D format.
653
+ */
654
+ CODABAR:1,"1":"CODABAR",
655
+ /**
656
+ * Code 39 1D format.
657
+ */
658
+ Code39:2,"2":"Code39",
659
+ /**
660
+ * Code 93 1D format.
661
+ */
662
+ Code93:3,"3":"Code93",
663
+ /**
664
+ * Code 128 1D format.
665
+ */
666
+ Code128:4,"4":"Code128",
667
+ /**
668
+ * Data Matrix 2D barcode format.
669
+ */
670
+ DataMatrix:5,"5":"DataMatrix",
671
+ /**
672
+ * EAN-8 1D format.
673
+ */
674
+ Ean8:6,"6":"Ean8",
675
+ /**
676
+ * EAN-13 1D format.
677
+ */
678
+ Ean13:7,"7":"Ean13",
679
+ /**
680
+ * ITF (Interleaved Two of Five) 1D format.
681
+ */
682
+ ITF:8,"8":"ITF",
683
+ /**
684
+ * MaxiCode 2D barcode format.
685
+ */
686
+ MAXICODE:9,"9":"MAXICODE",
687
+ /**
688
+ * PDF417 format.
689
+ */
690
+ Pdf417:10,"10":"Pdf417",
691
+ /**
692
+ * QR Code 2D barcode format.
693
+ */
694
+ QrCode:11,"11":"QrCode",
695
+ /**
696
+ * RSS 14
697
+ */
698
+ Rss14:12,"12":"Rss14",
699
+ /**
700
+ * RSS EXPANDED
701
+ */
702
+ RssExpanded:13,"13":"RssExpanded",
703
+ /**
704
+ * UPC-A 1D format.
705
+ */
706
+ UpcA:14,"14":"UpcA",
707
+ /**
708
+ * UPC-E 1D format.
709
+ */
710
+ UpcE:15,"15":"UpcE",
711
+ /**
712
+ * UPC/EAN extension format. Not a stand-alone format.
713
+ */
714
+ UpcEanExtension:16,"16":"UpcEanExtension",MicroQR:17,"17":"MicroQR",Telepen:18,"18":"Telepen",RectangularMicroQR:19,"19":"RectangularMicroQR",UnsuportedFormat:20,"20":"UnsuportedFormat", });
715
715
 
716
716
  const BarcodeResultFinalization = (typeof FinalizationRegistry === 'undefined')
717
717
  ? { register: () => {}, unregister: () => {} }
Binary file