Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from PhotoPay/jenkins/stable-build
Browse files Browse the repository at this point in the history
Automatically built release by Jenkins
  • Loading branch information
vjekoart authored Apr 19, 2021
2 parents b52ddd4 + 18f19f0 commit 17543e4
Show file tree
Hide file tree
Showing 147 changed files with 6,904 additions and 2,679 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
dist/
es/
lib/
resources/
types/

# Generic
Expand Down Expand Up @@ -31,4 +30,4 @@ UserInterfaceState.xcuserstate
# UI components
demo/
ui/loader/
ui/resources/
ui/resources/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.18
12.18.0
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Release notes

## 7.7.4

### Breaking changes

* We've changed the way how recognizer options are set up when using the UI component
* You can now specify how a recognizer should behave by using the new `recognizerOptions` property.
* To see the full list of available recognizer options, as well as examples on how to use them, check out the [relevant source code](ui/src/components/blinkcard-in-browser/blinkcard-in-browser.tsx).

### Performance improvements

* We've added three different flavors of WebAssembly builds to the SDK, to provide better performance across all browsers
* Unless defined otherwise, the SDK will load the best possible bundle during initialization:
* `Basic` Same as the existing WebAssembly build, most compatible, but least performant.
* `Advanced` WebAssembly build that provides better performance but requires a browser with advanced features.
* `AdvancedWithThreads` Most performant WebAssembly build which requires a proper setup of COOP and COEP headers on the server-side.
* For more information about different WebAssembly builds and how to use them properly, check out the [relevant section](README.md/#deploymentGuidelines) in our official documentation

### SDK changes

* Constructor of `VideoRecognizer` class is now public

### Camera management updates

* We've enabled camera image flipping
* Method `flipCamera` has been added to [`VideoRecognizer`](src/MicroblinkSDK/VideoRecognizer.ts).
* You can now let your users mirror the camera image vertically in case they find it easier to scan that way.
* By default, the UI component will display a flip icon in the top left corner once the camera is live.
* We've improved camera management on devices with multiple cameras
* Method `createVideoRecognizerFromCameraStream` has been extended in [`VideoRecognizer` class](src/MicroblinkSDK/VideoRecognizer.ts).
* Attribute `[camera-id]` has been added to the UI component so that your users can preselect their desired camera.

### Bugfixes

* We fixed the initialization problem that prevented the SDK from loading on iOS 13 and older versions

## 7.7.3

* Fixed NPM package to include UI component.
Expand Down
632 changes: 338 additions & 294 deletions README.md

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion examples/es-module/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/

/**
* PhotoPay In-browser SDK demo app which demonstrates how to:
*
Expand Down Expand Up @@ -30,7 +34,7 @@ function main()
}

// 1. It's possible to obtain a free trial license key on microblink.com
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpHlVLi84YJhfzkKNDWt5k6TOIq/BqQY4bts33tGdQc7RawrRGyvbnbj5DEV92rrMkoGMUk3QCySYI9IPMLsIG1aPiOLf1Dhq9FZbGgJvTq6f1O/4pQzxtWn5rN+fs9TqjLz+ei2k0Bv12JREFNsBroMSZUuIDW7uU2bAnW4qW2cedBUaDI9KuhBAtS1B/78M3zb7Fm3dhvMvXj2Mlhl+iwFDwqAhHb5f8vxRICbnqjrb9GO34z4jgJFVQ/mDFZzgLASEJlUO01vfBs18GWt78ups4pIgiIpJph2DhMi76GMxoqQKJfoEs6Wl+VwmIftwWJQbMg==";
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpHlVKjc9YGS1TbhKMOp/628Nz+3wucEKOKiY/6REBB0awpfPXXng8x6oFT8mEe+eFZwM6UTZKMO58PYWB2BUoq3KuLZWA0iIrN5l0EOTf4y0aTFs1KXROvrx2TbPyeNjYtPqtuMZq7Mo6L0GGWp5zehmxpUnuWBsW8/tR/8NLpfFQHucZnA+nnsS3Oj/qzbaf96oTjl1Ov4T4WVRbNK4yjzUre+L+NleOrZygXTQnqPLtPnhKmoHjJ9dtyTRp1C89NxNHUqVeacwp0Q8v+plPxr+fS8zSCMVeEWgumsmmLhFiaFLxHQ14VPYB+ycRpMi6FAZVPNXPbXtfjWi0g==";

// 2. Create instance of SDK load settings with your license key
const loadSettings = new PhotoPaySDK.WasmSDKLoadSettings( licenseKey );
Expand Down
4 changes: 4 additions & 0 deletions examples/es-module/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/

*
{
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"typescript": "^3.9.5"
},
"dependencies": {
"@microblink/photopay-in-browser-sdk": "~7.7.3"
"@microblink/photopay-in-browser-sdk": "~7.7.4"
}
}
4 changes: 4 additions & 0 deletions examples/typescript/public/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/

*
{
box-sizing: border-box;
Expand Down
6 changes: 5 additions & 1 deletion examples/typescript/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/

/**
* PhotoPay In-browser SDK demo app which demonstrates how to:
*
Expand Down Expand Up @@ -29,7 +33,7 @@ function main()
}

// 1. It's possible to obtain a free trial license key on microblink.com
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpHlVLi84YJhfzkKNDWt5k6TOIq/BqQY4bts33tGdQc7RawrRGyvbnbj5DEV92rrMkoGMUk3QCySYI9IPMLsIG1aPiOLf1Dhq9FZbGgJvTq6f1O/4pQzxtWn5rN+fs9TqjLz+ei2k0Bv12JREFNsBroMSZUuIDW7uU2bAnW4qW2cedBUaDI9KuhBAtS1B/78M3zb7Fm3dhvMvXj2Mlhl+iwFDwqAhHb5f8vxRICbnqjrb9GO34z4jgJFVQ/mDFZzgLASEJlUO01vfBs18GWt78ups4pIgiIpJph2DhMi76GMxoqQKJfoEs6Wl+VwmIftwWJQbMg==";
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpHlVKjc9YGS1TbhKMOp/628Nz+3wucEKOKiY/6REBB0awpfPXXng8x6oFT8mEe+eFZwM6UTZKMO58PYWB2BUoq3KuLZWA0iIrN5l0EOTf4y0aTFs1KXROvrx2TbPyeNjYtPqtuMZq7Mo6L0GGWp5zehmxpUnuWBsW8/tR/8NLpfFQHucZnA+nnsS3Oj/qzbaf96oTjl1Ov4T4WVRbNK4yjzUre+L+NleOrZygXTQnqPLtPnhKmoHjJ9dtyTRp1C89NxNHUqVeacwp0Q8v+plPxr+fS8zSCMVeEWgumsmmLhFiaFLxHQ14VPYB+ycRpMi6FAZVPNXPbXtfjWi0g==";

// 2. Create instance of SDK load settings with your license key
const loadSettings = new PhotoPaySDK.WasmSDKLoadSettings( licenseKey );
Expand Down
79 changes: 0 additions & 79 deletions examples/ui/basic/index.html

This file was deleted.

6 changes: 3 additions & 3 deletions examples/umd/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 id="msg">Loading...</h1>
</div>
</body>

<script type="text/javascript" src="https://unpkg.com/@microblink/[email protected].3/dist/photopay-sdk.js"></script>
<script type="text/javascript" src="https://unpkg.com/@microblink/[email protected].4/dist/photopay-sdk.js"></script>
<script type="text/javascript">
/**
* PhotoPay In-browser SDK demo app which demonstrates how to:
Expand Down Expand Up @@ -55,7 +55,7 @@ <h1 id="msg">Loading...</h1>
}

// 1. It's possible to obtain a free trial license key on microblink.com
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpHlVLi84YJhfzkKNDWt5k6TOIq/BqQY4bts33tGdQc7RawrRGyvbnbj5DEV92rrMkoGMUk3QCySYI9IPMLsIG1aPiOLf1Dhq9FZbGgJvTq6f1O/4pQzxtWn5rN+fs9TqjLz+ei2k0Bv12JREFNsBroMSZUuIDW7uU2bAnW4qW2cedBUaDI9KuhBAtS1B/78M3zb7Fm3dhvMvXj2Mlhl+iwFDwqAhHb5f8vxRICbnqjrb9GO34z4jgJFVQ/mDFZzgLASEJlUO01vfBs18GWt78ups4pIgiIpJph2DhMi76GMxoqQKJfoEs6Wl+VwmIftwWJQbMg==";
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpHlVKjc9YGS1TbhKMOp/628Nz+3wucEKOKiY/6REBB0awpfPXXng8x6oFT8mEe+eFZwM6UTZKMO58PYWB2BUoq3KuLZWA0iIrN5l0EOTf4y0aTFs1KXROvrx2TbPyeNjYtPqtuMZq7Mo6L0GGWp5zehmxpUnuWBsW8/tR/8NLpfFQHucZnA+nnsS3Oj/qzbaf96oTjl1Ov4T4WVRbNK4yjzUre+L+NleOrZygXTQnqPLtPnhKmoHjJ9dtyTRp1C89NxNHUqVeacwp0Q8v+plPxr+fS8zSCMVeEWgumsmmLhFiaFLxHQ14VPYB+ycRpMi6FAZVPNXPbXtfjWi0g==";

// 2. Create instance of SDK load settings with your license key
const loadSettings = new PhotoPaySDK.WasmSDKLoadSettings( licenseKey );
Expand All @@ -69,7 +69,7 @@ <h1 id="msg">Loading...</h1>
loadSettings.loadProgressCallback = progress => ( progressEl.value = progress );

// Set absolute location of the engine, i.e. WASM and support JS files
loadSettings.engineLocation = "https://unpkg.com/@microblink/[email protected].3/resources/";
loadSettings.engineLocation = "https://unpkg.com/@microblink/[email protected].4/resources/";

// 3. Load SDK
PhotoPaySDK.loadWasmModule( loadSettings ).then
Expand Down
4 changes: 4 additions & 0 deletions examples/umd/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/

*
{
box-sizing: border-box;
Expand Down
40 changes: 20 additions & 20 deletions oss-dependencies/c++.json → oss-dependencies/c++-advanced.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[
{
"package": "Boost/1.72.0@microblink/stable",
"package": "Boost/1.75.0@microblink/stable",
"url": "https://bitbucket.org/microblink/boost",
"license": "Boost Software license",
"description": "Free peer-reviewed portable C++ source libraries."
},
{
"package": "ConcurrentQueue/1.0.4@microblink/stable",
"package": "ConcurrentQueue/3.0.0@microblink/stable",
"url": "https://github.com/microblink/concurrentqueue",
"license": "Dual licensed under Simplified BSD License and Boost Software License - Version 1.0",
"description": "A fast multi-producer, multi-consumer lock-free concurrent queue for C++11"
Expand All @@ -24,25 +24,25 @@
"description": "Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms. It is versatile, fast, elegant and works on many platforms (OS/Compilers)."
},
{
"package": "Err/1.1.1@microblink/stable",
"package": "Err/1.1.2@microblink/stable",
"url": "https://github.com/microblink/err",
"license": "Boost Software License",
"description": "err - yet another take on C++ error handling"
},
{
"package": "Functionoid/1.1.7@microblink/stable",
"package": "Functionoid/3.0.3@microblink/stable",
"url": "https://github.com/microblink/functionoid",
"license": "Boost Software License, Version 1.0",
"description": "a complete C++17 rewrite of boost/std::function"
},
{
"package": "Hash/8.0.0@microblink/stable",
"package": "Hash/8.0.1@microblink/stable",
"url": "https://github.com/microblink/hash-library",
"license": "zlib",
"description": "Portable C++ Hashing Library"
},
{
"package": "LZMA/15.11.0@microblink/stable",
"package": "LZMA/15.11.1@microblink/stable",
"url": "https://github.com/microblink/LZMA-SDK",
"license": "Public domain",
"description": "The LZMA compression library"
Expand All @@ -54,7 +54,7 @@
"description": "portable, lightweight, powerful, near-zero-overhead memory mapping and virtual memory management"
},
{
"package": "MicroECC/2.0.0@microblink/stable",
"package": "MicroECC/2.0.1@microblink/stable",
"url": "https://github.com/microblink/micro-ecc",
"license": "BSD 2-Clause \"Simplified\" License",
"description": "A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors."
Expand All @@ -66,37 +66,37 @@
"description": "Obfuscation library based on C++11/14 and metaprogramming"
},
{
"package": "OpenCV/3.2.0.9@microblink/stable",
"package": "OpenCV/3.2.0.14@microblink/stable",
"url": "https://bitbucket.org/microblink/opencvfork/src",
"license": "MIT",
"description": "Microblink's fork of OpenCV"
},
{
"package": "OpenCVAnalysis/3.2.0.9@microblink/stable",
"package": "OpenCVAnalysis/3.2.0.14@microblink/stable",
"url": "https://bitbucket.org/microblink/opencvfork/src",
"license": "MIT",
"description": null
},
{
"package": "OpenCVCore/3.2.0.9@microblink/stable",
"package": "OpenCVCore/3.2.0.14@microblink/stable",
"url": "https://bitbucket.org/microblink/opencvfork/src",
"license": "MIT",
"description": null
},
{
"package": "OpenCVImageIO/3.2.0.9@microblink/stable",
"package": "OpenCVImageIO/3.2.0.14@microblink/stable",
"url": "https://bitbucket.org/microblink/opencvfork/src",
"license": "MIT",
"description": null
},
{
"package": "OpenCVProcessing/3.2.0.9@microblink/stable",
"package": "OpenCVProcessing/3.2.0.14@microblink/stable",
"url": "https://bitbucket.org/microblink/opencvfork/src",
"license": "MIT",
"description": null
},
{
"package": "Pimpl/1.0.2@microblink/stable",
"package": "Pimpl/1.0.3@microblink/stable",
"url": "https://github.com/microblink/pimpl",
"license": "BSD 2-Clause \"Simplified\" License",
"description": "Proving pimpls do not require heap, exceptions or runtime polymorphism."
Expand All @@ -108,10 +108,10 @@
"description": "A fast JSON parser/generator for C++ with both SAX/DOM style API"
},
{
"package": "Sweater/3.2.6@microblink/stable",
"package": "Sweater/9.0.0@microblink/stable",
"url": "https://github.com/microblink/sweater",
"license": "MIT",
"description": "Humble Outed Dispatch"
"description": "Humble Outer Dispatch"
},
{
"package": "UTFCpp/3.1.1@microblink/stable",
Expand All @@ -120,25 +120,25 @@
"description": "UTF-8 with C++ in a Portable Way"
},
{
"package": "ZXing/2.2.3@microblink/stable",
"package": "ZXing/2.2.5@microblink/stable",
"url": "https://github.com/microblink/zxing",
"license": "Apache License 2.0",
"description": "ZXing (\"Zebra Crossing\") barcode scanning library for Java, Android"
},
{
"package": "Zlib/1.2.8.9@microblink/stable",
"package": "Zlib/1.2.8.14@microblink/stable",
"url": "https://bitbucket.org/microblink/opencvfork/src",
"license": "MIT",
"description": null
},
{
"package": "cpuinfo/2.1.0@microblink/stable",
"package": "cpuinfo/3.0.1@microblink/stable",
"url": "https://github.com/microblink/cpuinfo",
"license": "BSD 2-Clause \"Simplified\" License",
"description": "cpuinfo is a library to detect essential for performance optimization information about host CPU"
},
{
"package": "emsdk_installer/1.39.16@microblink/stable",
"package": "emsdk_installer/2.0.15@microblink/stable",
"url": "https://github.com/microblink/conan-emsdk_installer",
"license": "MIT",
"description": "Emscripten is an Open Source LLVM to JavaScript compiler"
Expand All @@ -150,7 +150,7 @@
"description": "Experimental range library for C++11/14/17"
},
{
"package": "tinyxml2/2.2.0@microblink/stable",
"package": "tinyxml2/2.2.1@microblink/stable",
"url": "https://github.com/microblink/tinyxml2",
"license": "Zlib",
"description": "a simple, small, efficient, C++ XML parser"
Expand Down
Loading

0 comments on commit 17543e4

Please sign in to comment.