Skip to content

Commit

Permalink
release/51.3.1 (chore): update to version 51.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammad-nasiri committed Feb 23, 2024
1 parent 0165e11 commit 72f7fc1
Show file tree
Hide file tree
Showing 40 changed files with 8,779 additions and 8,739 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Visit [js.anyline.com](https://js.anyline.com) for an official demo of Web SDK.

## Documentation

[API documentation](https://js.anyline.com/release/51.2.0/docs/index.html)
[API documentation](https://js.anyline.com/release/51.3.1/docs/index.html)

For full documentation visit: [https://documentation.anyline.com/web-sdk-component/latest/index.html](https://documentation.anyline.com/web-sdk-component/latest/index.html)

Expand Down Expand Up @@ -79,15 +79,17 @@ const anyline = init({
4. Start scanning

```JavaScript
anyline.startScanning().catch(console.error);
anyline.startScanning().catch((e) => {
alert(e.message);
});
```

5. Handle the scan result

```JavaScript
anyline.onResult((data) => {
console.log(data)
});
anyline.onResult = (result) => {
console.log(result)
};
```

### Preload assets
Expand Down
4 changes: 2 additions & 2 deletions anyline.js

Large diffs are not rendered by default.

Binary file modified anylinejs/anylinejs.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions anylinejs/anylinejs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion anylinejs/anylinejs2.js

Large diffs are not rendered by default.

Binary file modified anylinejs/anylinejs_simd.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion anylinejs/data_barcode.data

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions anylinejs/data_id.data

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion anylinejs/data_lpt.data

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion anylinejs/data_meter.data

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions anylinejs/data_ocr.data

Large diffs are not rendered by default.

17,309 changes: 8,671 additions & 8,638 deletions anylinejs/data_tire.data

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/classes/api.AnylineJS.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.AnylineError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.CameraStreamError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.DisposedError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.MediaDevicesError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.MountElementNotDefinedError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.MountError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.NotScanningError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.NotStoppedError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/exceptions.OnlyAndroidChromeError.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/enums/api.State.html

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/interfaces/types.AnylineJSConfig.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions docs/interfaces/types.AnylineJSParams.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/interfaces/types.AnylineJSResult.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/interfaces/types.CameraAPI.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/interfaces/types.LegacyErrorObject.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LegacyErrorObject | anyline-js</title><meta name="description" content="Documentation for anyline-js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">anyline-js</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">anyline-js</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.LegacyErrorObject.html">LegacyErrorObject</a></li></ul><h1>Interface LegacyErrorObject </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">LegacyErrorObject</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#code" class="tsd-kind-icon">code</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#message" class="tsd-kind-icon">message</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="code" class="tsd-anchor"></a><h3 class="tsd-anchor-link">code<a href="#code" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/anylinecom/web-sdk/anyline-websdk/-/blob/69c84966/src/Anyline-JS/interface/types.ts#L23">src/Anyline-JS/interface/types.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="message" class="tsd-anchor"></a><h3 class="tsd-anchor-link">message<a href="#message" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/anylinecom/web-sdk/anyline-websdk/-/blob/69c84966/src/Anyline-JS/interface/types.ts#L24">src/Anyline-JS/interface/types.ts:24</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Modules</a></li><li class=" tsd-kind-module"><a href="../modules/api.html">api</a></li><li class=" tsd-kind-module"><a href="../modules/exceptions.html">exceptions</a></li><li class=" tsd-kind-module"><a href="../modules/init.html">init</a></li><li class="current tsd-kind-module"><a href="../modules/types.html">types</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-parent-kind-module"><a href="types.LegacyErrorObject.html" class="tsd-kind-icon">Legacy<wbr/>Error<wbr/>Object</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#code" class="tsd-kind-icon">code</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#message" class="tsd-kind-icon">message</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LegacyErrorObject | anyline-js</title><meta name="description" content="Documentation for anyline-js"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">anyline-js</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">anyline-js</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.LegacyErrorObject.html">LegacyErrorObject</a></li></ul><h1>Interface LegacyErrorObject </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">LegacyErrorObject</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#code" class="tsd-kind-icon">code</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#message" class="tsd-kind-icon">message</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="code" class="tsd-anchor"></a><h3 class="tsd-anchor-link">code<a href="#code" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/anylinecom/web-sdk/anyline-websdk/-/blob/1bc0dabf/src/Anyline-JS/interface/types.ts#L23">src/Anyline-JS/interface/types.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="message" class="tsd-anchor"></a><h3 class="tsd-anchor-link">message<a href="#message" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/anylinecom/web-sdk/anyline-websdk/-/blob/1bc0dabf/src/Anyline-JS/interface/types.ts#L24">src/Anyline-JS/interface/types.ts:24</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Modules</a></li><li class=" tsd-kind-module"><a href="../modules/api.html">api</a></li><li class=" tsd-kind-module"><a href="../modules/exceptions.html">exceptions</a></li><li class=" tsd-kind-module"><a href="../modules/init.html">init</a></li><li class="current tsd-kind-module"><a href="../modules/types.html">types</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-parent-kind-module"><a href="types.LegacyErrorObject.html" class="tsd-kind-icon">Legacy<wbr/>Error<wbr/>Object</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#code" class="tsd-kind-icon">code</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="types.LegacyErrorObject.html#message" class="tsd-kind-icon">message</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
Loading

0 comments on commit 72f7fc1

Please sign in to comment.