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 #9 from PhotoPay/jenkins/stable-build
Browse files Browse the repository at this point in the history
v7.7.6
  • Loading branch information
lukavrtaric committed Apr 30, 2021
2 parents 03fc912 + ad42daf commit 46e76b6
Show file tree
Hide file tree
Showing 22 changed files with 371 additions and 301 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release notes

## 7.7.6

### SDK changes

* We've exposed a couple of functions that are used by the SDK to determine which WebAssembly bundle to load and from which location
* Function `detectWasmType()` returns the best possible WebAssembly bundle based on the features a browser supports.
* Function `wasmFolder( WasmType )` returns the name of the resources subfolder of the provided WebAssembly bundle type.
* For more information on how to implement these functions, see [`WasmLoadUtils.ts`](src/MicroblinkSDK/WasmLoadUtils.ts) file.

### UI Improvements

* You can now set a camera feedback message to the user
* Set `showCameraFeedbackBarcodeMessage` property to display a custom message.
* Use `translations` property to translate a custom message.
* Camera rectangle cursor is more responsive now.

### Bugfixes

* Container width size on UI component for action label (`Scan or choose from gallery`) and action buttons (`Device camera` and `From gallery`) are now responsive on Safari.

## 7.7.5

* We've fixed a broken `rollup.config.js` which resulted in unusable UMD development bundle
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.5"
"@microblink/photopay-in-browser-sdk": "~7.7.6"
}
}
2 changes: 1 addition & 1 deletion examples/typescript/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function main()
*
* For more information see "Integration" section in the official documentation.
*/
loadSettings.wasmType = "BASIC";
loadSettings.wasmType = BlinkIDSDK.WasmType.Basic;

// [OPTIONAL] Change default settings

Expand Down
4 changes: 2 additions & 2 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/photopay-in-browser-sdk@7.7.5/dist/photopay-sdk.js"></script>
<script type="text/javascript" src="/dist/photopay-sdk.js"></script>
<script type="text/javascript">
/**
* PhotoPay In-browser SDK demo app which demonstrates how to:
Expand Down Expand Up @@ -77,7 +77,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/photopay-in-browser-sdk@7.7.5/resources/";
loadSettings.engineLocation = "https://unpkg.com/@microblink/photopay-in-browser-sdk@7.7.6/resources/";

// 3. Load SDK
PhotoPaySDK.loadWasmModule( loadSettings ).then
Expand Down
89 changes: 52 additions & 37 deletions oss-dependencies/npm.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
├─ @babel/cli@7.13.14
├─ @babel/cli@7.13.16
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
Expand All @@ -12,21 +12,21 @@
│ ├─ email: sebmck@gmail.com
│ ├─ path: node_modules/@babel/code-frame
│ └─ licenseFile: node_modules/@babel/code-frame/LICENSE
├─ @babel/compat-data@7.13.15
├─ @babel/compat-data@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: The Babel Team
│ ├─ url: https://babel.dev/team
│ ├─ path: node_modules/@babel/compat-data
│ └─ licenseFile: node_modules/@babel/compat-data/LICENSE
├─ @babel/core@7.13.15
├─ @babel/core@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
│ ├─ email: sebmck@gmail.com
│ ├─ path: node_modules/@babel/core
│ └─ licenseFile: node_modules/@babel/core/LICENSE
├─ @babel/generator@7.13.9
├─ @babel/generator@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
Expand All @@ -43,14 +43,14 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/helper-builder-binary-assignment-operator-visitor
│ └─ licenseFile: node_modules/@babel/helper-builder-binary-assignment-operator-visitor/LICENSE
├─ @babel/helper-compilation-targets@7.13.13
├─ @babel/helper-compilation-targets@7.13.16
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: The Babel Team
│ ├─ url: https://babel.dev/team
│ ├─ path: node_modules/@babel/helper-compilation-targets
│ └─ licenseFile: node_modules/@babel/helper-compilation-targets/LICENSE
├─ @babel/helper-create-class-features-plugin@7.13.11
├─ @babel/helper-create-class-features-plugin@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: The Babel Team
Expand Down Expand Up @@ -84,7 +84,7 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/helper-get-function-arity
│ └─ licenseFile: node_modules/@babel/helper-get-function-arity/LICENSE
├─ @babel/helper-hoist-variables@7.13.0
├─ @babel/helper-hoist-variables@7.13.16
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/helper-hoist-variables
Expand All @@ -103,7 +103,7 @@
│ ├─ email: loganfsmyth@gmail.com
│ ├─ path: node_modules/@babel/helper-module-imports
│ └─ licenseFile: node_modules/@babel/helper-module-imports/LICENSE
├─ @babel/helper-module-transforms@7.13.14
├─ @babel/helper-module-transforms@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Logan Smyth
Expand Down Expand Up @@ -149,7 +149,7 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/helper-split-export-declaration
│ └─ licenseFile: node_modules/@babel/helper-split-export-declaration/LICENSE
├─ @babel/helper-validator-identifier@7.12.11
├─ @babel/helper-validator-identifier@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/helper-validator-identifier
Expand All @@ -164,21 +164,21 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/helper-wrap-function
│ └─ licenseFile: node_modules/@babel/helper-wrap-function/LICENSE
├─ @babel/helpers@7.13.10
├─ @babel/helpers@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
│ ├─ email: sebmck@gmail.com
│ ├─ path: node_modules/@babel/helpers
│ └─ licenseFile: node_modules/@babel/helpers/LICENSE
├─ @babel/highlight@7.13.10
├─ @babel/highlight@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: suchipi
│ ├─ email: me@suchipi.com
│ ├─ path: node_modules/@babel/highlight
│ └─ licenseFile: node_modules/@babel/highlight/LICENSE
├─ @babel/parser@7.13.15
├─ @babel/parser@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
Expand All @@ -200,6 +200,11 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-proposal-class-properties
│ └─ licenseFile: node_modules/@babel/plugin-proposal-class-properties/LICENSE
├─ @babel/plugin-proposal-class-static-block@7.13.11
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-proposal-class-static-block
│ └─ licenseFile: node_modules/@babel/plugin-proposal-class-static-block/LICENSE
├─ @babel/plugin-proposal-dynamic-import@7.13.8
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
Expand Down Expand Up @@ -250,6 +255,11 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-proposal-private-methods
│ └─ licenseFile: node_modules/@babel/plugin-proposal-private-methods/LICENSE
├─ @babel/plugin-proposal-private-property-in-object@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-proposal-private-property-in-object
│ └─ licenseFile: node_modules/@babel/plugin-proposal-private-property-in-object/LICENSE
├─ @babel/plugin-proposal-unicode-property-regex@7.12.13
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
Expand All @@ -265,6 +275,11 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-syntax-class-properties
│ └─ licenseFile: node_modules/@babel/plugin-syntax-class-properties/LICENSE
├─ @babel/plugin-syntax-class-static-block@7.12.13
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-syntax-class-static-block
│ └─ licenseFile: node_modules/@babel/plugin-syntax-class-static-block/LICENSE
├─ @babel/plugin-syntax-dynamic-import@7.8.3
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import
Expand Down Expand Up @@ -310,6 +325,11 @@
│ ├─ repository: https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining
│ ├─ path: node_modules/@babel/plugin-syntax-optional-chaining
│ └─ licenseFile: node_modules/@babel/plugin-syntax-optional-chaining/LICENSE
├─ @babel/plugin-syntax-private-property-in-object@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-syntax-private-property-in-object
│ └─ licenseFile: node_modules/@babel/plugin-syntax-private-property-in-object/LICENSE
├─ @babel/plugin-syntax-top-level-await@7.12.13
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
Expand All @@ -330,7 +350,7 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-block-scoped-functions
│ └─ licenseFile: node_modules/@babel/plugin-transform-block-scoped-functions/LICENSE
├─ @babel/plugin-transform-block-scoping@7.12.13
├─ @babel/plugin-transform-block-scoping@7.13.16
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-block-scoping
Expand All @@ -345,7 +365,7 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-computed-properties
│ └─ licenseFile: node_modules/@babel/plugin-transform-computed-properties/LICENSE
├─ @babel/plugin-transform-destructuring@7.13.0
├─ @babel/plugin-transform-destructuring@7.13.17
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-destructuring
Expand Down Expand Up @@ -385,12 +405,12 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-member-expression-literals
│ └─ licenseFile: node_modules/@babel/plugin-transform-member-expression-literals/LICENSE
├─ @babel/plugin-transform-modules-amd@7.13.0
├─ @babel/plugin-transform-modules-amd@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-modules-amd
│ └─ licenseFile: node_modules/@babel/plugin-transform-modules-amd/LICENSE
├─ @babel/plugin-transform-modules-commonjs@7.13.8
├─ @babel/plugin-transform-modules-commonjs@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-modules-commonjs
Expand All @@ -400,7 +420,7 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-modules-systemjs
│ └─ licenseFile: node_modules/@babel/plugin-transform-modules-systemjs/LICENSE
├─ @babel/plugin-transform-modules-umd@7.13.0
├─ @babel/plugin-transform-modules-umd@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-modules-umd
Expand Down Expand Up @@ -477,7 +497,7 @@
│ ├─ repository: https://github.com/babel/babel
│ ├─ path: node_modules/@babel/plugin-transform-unicode-regex
│ └─ licenseFile: node_modules/@babel/plugin-transform-unicode-regex/LICENSE
├─ @babel/preset-env@7.13.15
├─ @babel/preset-env@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Henry Zhu
Expand All @@ -488,7 +508,7 @@
│ ├─ licenses: MIT
│ ├─ path: node_modules/@babel/preset-modules
│ └─ licenseFile: node_modules/@babel/preset-modules/LICENSE
├─ @babel/runtime@7.13.10
├─ @babel/runtime@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
Expand All @@ -502,24 +522,24 @@
│ ├─ email: sebmck@gmail.com
│ ├─ path: node_modules/@babel/template
│ └─ licenseFile: node_modules/@babel/template/LICENSE
├─ @babel/traverse@7.13.15
├─ @babel/traverse@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
│ ├─ email: sebmck@gmail.com
│ ├─ path: node_modules/@babel/traverse
│ └─ licenseFile: node_modules/@babel/traverse/LICENSE
├─ @babel/types@7.13.14
├─ @babel/types@7.14.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/babel/babel
│ ├─ publisher: Sebastian McKenzie
│ ├─ email: sebmck@gmail.com
│ ├─ path: node_modules/@babel/types
│ └─ licenseFile: node_modules/@babel/types/LICENSE
├─ @microblink/photopay-in-browser-sdk@7.7.5
├─ @microblink/photopay-in-browser-sdk@7.7.6
│ ├─ licenses: Custom: https://travis-ci.org/PhotoPay/photopay-in-browser.svg
│ ├─ repository: https://github.com/PhotoPay/photopay-in-browser
│ ├─ path: /Users/mbp/Projects/core-webassembly-sdks/SDKs/PhotoPay/photopay-in-browser
│ ├─ path: /opt/jenkins/android-arm64-oneplus7t/root/E0/core-webassembly-sdks/SDKs/PhotoPay/photopay-in-browser
│ └─ licenseFile: README.md
├─ @nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents
│ ├─ licenses: MIT
Expand Down Expand Up @@ -563,7 +583,7 @@
│ ├─ repository: https://github.com/DefinitelyTyped/DefinitelyTyped
│ ├─ path: node_modules/@types/json-schema
│ └─ licenseFile: node_modules/@types/json-schema/LICENSE
├─ @types/node@14.14.41
├─ @types/node@15.0.1
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/DefinitelyTyped/DefinitelyTyped
│ ├─ path: node_modules/@types/node
Expand Down Expand Up @@ -810,7 +830,7 @@
│ ├─ url: https://github.com/jonschlinkert
│ ├─ path: node_modules/chokidar/node_modules/braces
│ └─ licenseFile: node_modules/chokidar/node_modules/braces/LICENSE
├─ browserslist@4.16.4
├─ browserslist@4.16.6
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/browserslist/browserslist
│ ├─ publisher: Andrey Sitnik
Expand Down Expand Up @@ -852,7 +872,7 @@
│ ├─ url: sindresorhus.com
│ ├─ path: node_modules/callsites
│ └─ licenseFile: node_modules/callsites/license
├─ caniuse-lite@1.0.30001212
├─ caniuse-lite@1.0.30001219
│ ├─ licenses: CC-BY-4.0
│ ├─ repository: https://github.com/ben-eb/caniuse-lite
│ ├─ publisher: Ben Briggs
Expand All @@ -865,7 +885,7 @@
│ ├─ repository: https://github.com/chalk/chalk
│ ├─ path: node_modules/chalk
│ └─ licenseFile: node_modules/chalk/license
├─ chalk@4.1.0
├─ chalk@4.1.1
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/chalk/chalk
│ ├─ path: node_modules/eslint/node_modules/chalk
Expand Down Expand Up @@ -982,7 +1002,7 @@
│ ├─ url: https://github.com/jonschlinkert
│ ├─ path: node_modules/copy-descriptor
│ └─ licenseFile: node_modules/copy-descriptor/LICENSE
├─ core-js-compat@3.10.2
├─ core-js-compat@3.11.1
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/zloirock/core-js
│ ├─ path: node_modules/core-js-compat
Expand Down Expand Up @@ -1077,7 +1097,7 @@
│ ├─ repository: https://github.com/eslint/doctrine
│ ├─ path: node_modules/doctrine
│ └─ licenseFile: node_modules/doctrine/LICENSE
├─ electron-to-chromium@1.3.717
├─ electron-to-chromium@1.3.723
│ ├─ licenses: ISC
│ ├─ repository: https://github.com/kilian/electron-to-chromium
│ ├─ publisher: Kilian Valkhof
Expand Down Expand Up @@ -1326,11 +1346,6 @@
│ ├─ url: http://blog.izs.me/
│ ├─ path: node_modules/fs.realpath
│ └─ licenseFile: node_modules/fs.realpath/LICENSE
├─ fsevents@2.3.2
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/fsevents/fsevents
│ ├─ path: node_modules/fsevents
│ └─ licenseFile: node_modules/fsevents/LICENSE
├─ function-bind@1.1.1
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/Raynos/function-bind
Expand Down Expand Up @@ -1553,7 +1568,7 @@
│ ├─ url: http://feross.org/
│ ├─ path: node_modules/is-buffer
│ └─ licenseFile: node_modules/is-buffer/LICENSE
├─ is-core-module@2.2.0
├─ is-core-module@2.3.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/inspect-js/is-core-module
│ ├─ publisher: Jordan Harband
Expand Down Expand Up @@ -2320,7 +2335,7 @@
│ ├─ publisher: @ezolenko
│ ├─ path: node_modules/rollup-plugin-typescript2
│ └─ licenseFile: node_modules/rollup-plugin-typescript2/LICENSE
├─ rollup@2.45.2
├─ rollup@2.46.0
│ ├─ licenses: MIT
│ ├─ repository: https://github.com/rollup/rollup
│ ├─ publisher: Rich Harris
Expand Down Expand Up @@ -2645,7 +2660,7 @@
│ ├─ publisher: Microsoft Corp.
│ ├─ path: node_modules/typescript
│ └─ licenseFile: node_modules/typescript/LICENSE.txt
├─ uglify-js@3.13.4
├─ uglify-js@3.13.5
│ ├─ licenses: BSD-2-Clause
│ ├─ repository: https://github.com/mishoo/UglifyJS
│ ├─ publisher: Mihai Bazon
Expand Down
Loading

0 comments on commit 46e76b6

Please sign in to comment.