rxing-wasm 0.1.7 → 0.1.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.
package/README.md CHANGED
@@ -41,6 +41,7 @@ The following values are available for the `DecodeHintTypes` enum.
41
41
  * `AllowedEanExtensions`: Allowed extension lengths for EAN or UPC barcodes. Other formats will ignore this. A comma separated list of the allowed extension lengths, for example "2", "5" or "2,5". If it is optional to have an extension, do not set this hint. If this is set, and a UPC or EAN barcode is found but an extension is not, then no result will be returned at all.
42
42
  * `AlsoInverted`: If true, also tries to decode as inverted image. All configured decoders are simply called a second time with an inverted image. A string with either "true" or "false".
43
43
 
44
+ <!--
44
45
  ## Result Metadata
45
46
  Result metadata is now available through the `get_result_metadata_name` method of the `BarcodeResult` class. The returned result is a javascript `Map` object representing availble decoded metadata. The possible keys are:
46
47
  * `OTHER`
@@ -56,7 +57,9 @@ Result metadata is now available through the `get_result_metadata_name` method o
56
57
  * `Structured_Append_Parity`
57
58
  * `Symbology_Identifier`
58
59
 
60
+
59
61
  It is important to note that not all values will be set for all results.
62
+ -->
60
63
 
61
64
  ## Functions
62
65
  ```rust
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rxing-wasm",
3
3
  "description": "wasm bindings for rxing to provide commong barcode operations (decode/encode)",
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "license": "Apache 2.0",
6
6
  "repository": {
7
7
  "type": "git",
package/rxing_wasm.d.ts CHANGED
@@ -241,10 +241,6 @@ export class BarcodeResult {
241
241
  * @returns {string}
242
242
  */
243
243
  text(): string;
244
- /**
245
- * @returns {Map<any, any>}
246
- */
247
- get_meta_data(): Map<any, any>;
248
244
  }
249
245
  /**
250
246
  */
package/rxing_wasm_bg.js CHANGED
@@ -554,13 +554,6 @@ export class BarcodeResult {
554
554
  wasm.__wbindgen_free(r0, r1);
555
555
  }
556
556
  }
557
- /**
558
- * @returns {Map<any, any>}
559
- */
560
- get_meta_data() {
561
- const ret = wasm.barcoderesult_get_meta_data(this.ptr);
562
- return takeObject(ret);
563
- }
564
557
  }
565
558
  /**
566
559
  */
@@ -636,16 +629,6 @@ export function __wbindgen_object_drop_ref(arg0) {
636
629
  takeObject(arg0);
637
630
  };
638
631
 
639
- export function __wbg_new_f841cc6f2098f4b5() {
640
- const ret = new Map();
641
- return addHeapObject(ret);
642
- };
643
-
644
- export function __wbg_set_388c4c6422704173(arg0, arg1, arg2) {
645
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
646
- return addHeapObject(ret);
647
- };
648
-
649
632
  export function __wbg_getTime_7c59072d1651a3cf(arg0) {
650
633
  const ret = getObject(arg0).getTime();
651
634
  return ret;
Binary file