Skip to content

Commit

Permalink
Merge pull request #18 from BlinkID/jenkins/stable-build
Browse files Browse the repository at this point in the history
Automatically built release by Jenkins
  • Loading branch information
MirzaMesic777 authored Feb 23, 2023
2 parents 371de63 + 4617136 commit ead7aec
Show file tree
Hide file tree
Showing 85 changed files with 3,656 additions and 3,027 deletions.
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
# Release notes

## 6.0.0

### Added support for 50 new versions of already supported documents:

* Mexico - Aguascalientes - Driving license
* Mexico - Baja California - Driving license
* Mexico - Hidalgo - Driving license
* USA - Delaware - Driving license
* USA - Florida - ID card
* USA - Hawaii - Driving license
* USA - Kentucky - ID card
* USA - Maryland - ID card
* USA - Michigan - ID card
* USA - Mississippi - Driving license
* USA - Mississippi - ID card
* USA - Missouri - ID card
* USA - Ohio - ID card
* USA - Oklahoma - ID card
* USA - Rhode Island - Driving license

### These documents are no longer BETA:

* Australia - New South Wales - ID card
* Australia - South Australia - Proof of Age Card
* Belgium - Minors ID card
* Belgium - Passport
* Canada - Tribal ID card
* Canada - Weapon Permit
* Canada - British Columbia - Minors Public Services Card
* Ireland - Public Services Card
* Israel - ID card
* Ivory Coast - Driving License
* Lebanon - ID card
* Libya - Polycarbonate Passport
* Mexico - Colima - Driving license
* Mexico - Michoacan - Driving license
* Mexico - Tamaulipas - Driving license
* Mexico - Zacatecas - Driving license
* Myanmar - Driving license
* Panama - Temporary Residence Permit
* Slovenia - Residence Permit
* Trinidad and Tobago - Driving license
* USA - Passport
* USA - Maine - ID card

### Added support for 2 new ID types in BETA:

#### Latin America and the Caribbean

* Cuba - ID card
* Cayman Islands - Drivers License

### Platform-related SDK changes

* The SDK can now be used with the `wasm-unsafe-eval` content security policy.

### Bugfixes

* We've fixed a problem with camera focus on iPhone devices that use iOS 16 or newer, most notably iPhone 14.

## 5.20.0

### New feature:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Check out live examples of BlinkID ImageCapture SDK in action:

1. [BlinkID ImageCapture SDK with built-in UI](https://blinkid.github.io/blinkid-imagecapture-in-browser/ui/examples/javascript/index.html)
* See what the bare UI looks like at [Codepen](https://codepen.io/microblink/pen/ZEOVRVQ)
2. [BlinkID ImageCapture SDK UI - scan both document sides](https://blinkid.github.io/blinkid-imagecapture-in-browser/ui/examples/javascript-combined/index.html)
2. [BlinkID ImageCapture SDK UI - scan both document sides](https://blinkid.github.io/blinkid-imagecapture-in-browser/ui/examples/javascript-multi-side/index.html)
* See example for scanning of both document sides at [Codepen](https://codepen.io/microblink/pen/pobGzEY)
3. [Scan the front side of an identity document with a web camera](https://blinkid.github.io/blinkid-imagecapture-in-browser/examples/blinkid-camera/javascript/index.html)
* See example at [Codepen](https://codepen.io/microblink/pen/XWKoYPK)
4. [Scan the front side of an identity document by uploading its image](https://blinkid.github.io/blinkid-imagecapture-in-browser/examples/blinkid-file/javascript/index.html)
* See example at [Codepen](https://codepen.io/microblink/pen/bGeOKxZ)
5. [Scan both sides of an identity document with a web camera](https://blinkid.github.io/blinkid-imagecapture-in-browser/examples/combined/javascript/index.html)
5. [Scan both sides of an identity document with a web camera](https://blinkid.github.io/blinkid-imagecapture-in-browser/examples/multi-side/javascript/index.html)
* See example at [Codepen](https://codepen.io/microblink/pen/dyXwKgZ)
6. [Scan both sides of an identity document by uploading its image](https://blinkid.github.io/blinkid-imagecapture-in-browser/examples/combined-file/javascript/index.html)
6. [Scan both sides of an identity document by uploading its image](https://blinkid.github.io/blinkid-imagecapture-in-browser/examples/multi-side-file/javascript/index.html)
* See example at [Codepen](https://codepen.io/microblink/pen/yLVXdEp)

To see the source code of the above examples, check out the [examples directory](examples). If you'd like to run examples of the UI component, either through the browser or locally, see the [ui/examples](ui/examples) directory.
Expand Down Expand Up @@ -144,20 +144,20 @@ Alternatively, it's possible to use UMD builds which can be loaded from public C

However, **we strongly advise** that you host the JavaScript bundles on your infrastructure since there is no guarantee that the public CDN service has satisfactory uptime and availability throughout the world.

For example, it's possible to use UMD builds from [the `dist` folder on Unpkg CDN](https://unpkg.com/@microblink/blinkid-imagecapture-in-browser-sdk/dist/). The UMD builds make `BlinkIDImageCaptureSDK` available as a `window.BlinkIDImageCaptureSDK` global variable:
For example, it's possible to use UMD builds from [the `dist` folder on the jsDelivr CDN](https://cdn.jsdelivr.net/npm/@microblink/blinkid-imagecapture-in-browser-sdk/dist/). The UMD builds make `BlinkIDImageCaptureSDK` available as a `window.BlinkIDImageCaptureSDK` global variable:

```html
<!-- IMPORTANT: change "X.Y.Z" to the version number you wish to use! -->
<script src="https://unpkg.com/@microblink/[email protected]/dist/blinkid-imagecapture-sdk.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@microblink/[email protected]/dist/blinkid-imagecapture-sdk.min.js"></script>
```

Finally, it's possible to use ES builds, which can be downloaded from [the `es` folder on unpkg](https://unpkg.com/@microblink/blinkid-imagecapture-in-browser-sdk/es/). ES modules are used in a similar manner as NPM package:
Finally, it's possible to use ES builds, which can be downloaded from [the `es` folder on jsDelivr](https://cdn.jsdelivr.net/npm/@microblink/blinkid-imagecapture-in-browser-sdk/es/). ES modules are used in a similar manner as NPM package:

```javascript
import * as BlinkIDImageCaptureSDK from "./es/blinkid-imagecapture-sdk.js";
```

**Important:** Unpkg CDN is used here due to simplicity of usage. It's not intended to be used in production!
**Important:** the jsDelivr CDN is used here due to simplicity of usage. It's not intended to be used in production!

#### WASM Resources

Expand Down
10 changes: 5 additions & 5 deletions client-library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ However, **we strongly advise** that you host the JavaScript bundle on your infr
```html
<!-- After successful load, global variable `Client` is available. -->
<!-- IMPORTANT: change "X.Y.Z" to the version number you wish to use! -->
<script src="https://unpkg.com/@microblink/[email protected]/client-library/dist/client-library.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@microblink/[email protected]/client-library/dist/client-library.min.js"></script>
```

*Keep in mind that Unpkg CDN is used for demonstration, it's not intended to be used in production!*
*Keep in mind that the jsDelivr CDN is used for demonstration, it's not intended to be used in production!*

### <a name="installation-es-module"></a> ES module

Expand All @@ -59,10 +59,10 @@ However, **we strongly advise** that you host the JavaScript bundle on your infr

```js
/* IMPORTANT: change "X.Y.Z" to the version number you wish to use! */
import { Client } from "https://unpkg.com/@microblink/[email protected]/client-library/es/client-library.mjs";
import { Client } from "https://cdn.jsdelivr.net/npm/@microblink/[email protected]/client-library/es/client-library.mjs";
```

*Keep in mind that Unpkg CDN is used for demonstration, it's not intended to be used in production!*
*Keep in mind that the jsDelivr CDN is used for demonstration, it's not intended to be used in production!*

## <a name="usage"></a> Usage

Expand Down Expand Up @@ -98,7 +98,7 @@ client.getHealthcheck()
const image = "..."; // Base64 representation of image

/* See API documentation for full list of endpoints and body parameters */
client.recognize( "/v1/recognizers/blinkid", { "imageSource": image } )
client.recognize( "/v2/recognizers/blinkid-single-side", { "imageSource": image } )
.then( ( results: ResponseRecognition ) =>
{
const recognitionResults = results.response.data.result;
Expand Down
2 changes: 1 addition & 1 deletion client-library/examples/example.cloud.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>Results</h2>
scanStatus.innerText = "waiting for API response";
scanResults.value = "-";

client.recognize( "/v1/recognizers/blinkid", payload )
client.recognize( "/v2/recognizers/blinkid-single-side", payload )
.then( ( results ) =>
{
const recognitionResults = results.response.data.result;
Expand Down
4 changes: 2 additions & 2 deletions client-library/examples/example.self-hosted.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2>Results</h2>
const configuration =
{
apiLocation: "http://localhost",
healthcheckEndpoint: "/v1/hc",
healthcheckEndpoint: "/v2/hc",
headers:
{}
};
Expand Down Expand Up @@ -78,7 +78,7 @@ <h2>Results</h2>
scanStatus.innerText = "waiting for API response";
scanResults.value = "-";

client.recognize( "/v1/recognizers/blinkid", payload )
client.recognize( "/v2/recognizers/blinkid-single-side", payload )
.then( ( results ) =>
{
const recognitionResults = results.response.data.result;
Expand Down
Loading

0 comments on commit ead7aec

Please sign in to comment.