Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [
"fixed": [
[
"@microblink/blinkid",
"@microblink/blinkid-core",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:
inputs:
debug:
description: 'Enable debug mode'
description: "Enable debug mode"
required: false
type: boolean
default: false
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
node-version: "24"

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand All @@ -64,7 +64,7 @@ jobs:
pnpm exec playwright install chromium
- name: Build packages
run: pnpm build
run: pnpm build:publish

- name: Lint
run: pnpm lint
Expand All @@ -76,4 +76,4 @@ jobs:
run: pnpm publish-test

- name: Dry run publish
run: pnpm publish --filter "./packages/**" --dry-run --no-git-checks
run: pnpm publish --filter "./packages/**" --dry-run --no-git-checks
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm build
pnpm lint-staged
pnpm lint-staged
2 changes: 0 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm build
pnpm lint
Expand Down
7 changes: 7 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 7.6.1

### What's New

- For some documents, the document type was returned as `none`, which was causing confusion. To prevent this, we are filling in the document type from the barcode in case customers are using `barcode-id` mode.
- The fix is applied to all the AAMVA types, plus some others (Argentina, Canada, Colombia, Nigeria, Panama, Paraguay, SouthAfrica).

## v7.6.0

### What's New
Expand Down
20 changes: 10 additions & 10 deletions apps/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ This directory contains example applications demonstrating the capabilities of t

## Available Examples

* [BlinkID Simple](./blinkid-simple/): A simple example of how to use the BlinkID SDK.
* [BlinkID Advanced Setup](./blinkid-advanced-setup/): Demonstrates advanced setup and customization of the BlinkID SDK.
* [BlinkID UI Customization](./blinkid-ui-customization/): Shows how to implement custom UI, such as replacing UI for various error states (camera errors, timeouts, unsupported documents, filtered documents).
* [BlinkID Photo Upload](./blinkid-photo-upload/): An example of how to use the BlinkID SDK with photo upload functionality.
* [BlinkID Core API](./blinkid-core-api/): Shows how to use the core API of the BlinkID SDK.
* [BlinkID Preload](./blinkid-preload/): Demonstrates how to preload the BlinkID SDK for faster initialization.
* [Camera Manager](./camera-manager/): An example of how to use the camera manager.
* [Camera Selection](./camera-selection/): An example of how to use the camera selection feature.
- [BlinkID Simple](./blinkid-simple/): A simple example of how to use the BlinkID SDK.
- [BlinkID Advanced Setup](./blinkid-advanced-setup/): Demonstrates advanced setup and customization of the BlinkID SDK.
- [BlinkID UI Customization](./blinkid-ui-customization/): Shows how to implement custom UI, such as replacing UI for various error states (camera errors, timeouts, unsupported documents, filtered documents).
- [BlinkID Photo Upload](./blinkid-photo-upload/): An example of how to use the BlinkID SDK with photo upload functionality.
- [BlinkID Core API](./blinkid-core-api/): Shows how to use the core API of the BlinkID SDK.
- [BlinkID Preload](./blinkid-preload/): Demonstrates how to preload the BlinkID SDK for faster initialization.
- [Camera Manager](./camera-manager/): An example of how to use the camera manager.
- [Camera Selection](./camera-selection/): An example of how to use the camera selection feature.

## Getting Started

Expand All @@ -30,7 +30,7 @@ pnpm install
Before running the example applications, you need to build the monorepo packages. From the root of the monorepo, run:

```bash
pnpm build:dev
pnpm build:packages
```

### 3. Set up the License Key
Expand Down Expand Up @@ -58,4 +58,4 @@ cd apps/examples/blinkid-simple
pnpm dev
```

This will start a development server, and you can view the application in your browser at the address provided in the terminal.
This will start a development server, and you can view the application in your browser at the address provided in the terminal.
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"private": true,
"version": "7.6.0",
"scripts": {
"build": "turbo build",
"build:packages": "turbo build --filter={./packages/*}",
"build:dev": "turbo build:dev --filter={./packages/*}",
"build:publish": "turbo build:publish --filter={./packages/*}",
"clean": "turbo clean && rimraf .turbo .venv",
"create-github": "pnpm run clean && pnpm run build:publish && pnpm --filter 'github-release' create-github",
"lint": "turbo lint",
"prepare": "husky install",
"prepare": "husky",
"publish-test": "turbo publish-test",
"test": "turbo test",
"test:watch": "turbo test:watch",
Expand All @@ -18,11 +16,11 @@
},
"devDependencies": {
"@changesets/cli": "2.29.7",
"husky": "^8.0.3",
"lint-staged": "^15.2.10",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"rimraf": "^6.0.1",
"syncpack": "13.0.3",
"turbo": "^2.5.8",
"turbo": "^2.6.0",
"vitest": "^3.0.8"
},
"license": "ISC",
Expand Down
8 changes: 8 additions & 0 deletions packages/blinkid-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @microblink/blinkid-core

## 7.6.1

### Patch Changes

- Updated dependencies
- @microblink/blinkid-wasm@7.6.1
- @microblink/blinkid-worker@7.6.1

## 7.6.0

### Minor Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

# Type Alias: AnonymizationMode

> **AnonymizationMode** = `"image-only"` \| `"result-fields-only"` \| `"full-result"`
> **AnonymizationMode** = `"none"` \| `"image-only"` \| `"result-fields-only"` \| `"full-result"`

Represents level of anonymization performed on the scanning result.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Type Alias: BarcodeElementKey

> **BarcodeElementKey** = `"document-type"` \| `"standard-version-number"` \| `"customer-family-name"` \| `"customer-first-name"` \| `"customer-full-name"` \| `"date-of-birth"` \| `"sex"` \| `"eye-color"` \| `"address-street"` \| `"address-city"` \| `"address-jurisdiction-code"` \| `"address-postal-code"` \| `"full-address"` \| `"height"` \| `"height-in"` \| `"height-cm"` \| `"customer-middle-name"` \| `"hair-color"` \| `"name-suffix"` \| `"aka-full-name"` \| `"aka-family-name"` \| `"aka-given-name"` \| `"aka-suffix-name"` \| `"weight-range"` \| `"weight-pounds"` \| `"weight-kilograms"` \| `"customer-id-number"` \| `"family-name-truncation"` \| `"first-name-truncation"` \| `"middle-name-truncation"` \| `"place-of-birth"` \| `"address-street-2"` \| `"race-ethnicity"` \| `"name-prefix"` \| `"country-identification"` \| `"residence-street-address"` \| `"residence-street-address-2"` \| `"residence-city"` \| `"residence-jurisdiction-code"` \| `"residence-postal-code"` \| `"residence-full-address"` \| `"under-18"` \| `"under-19"` \| `"under-21"` \| `"social-security-number"` \| `"aka-social-security-number"` \| `"aka-middle-name"` \| `"aka-prefix-name"` \| `"organ-donor"` \| `"veteran"` \| `"aka-date-of-birth"` \| `"issuer-identification-number"` \| `"document-expiration-date"` \| `"jurisdiction-version-number"` \| `"jurisdiction-vehicle-class"` \| `"jurisdiction-restriction-codes"` \| `"jurisdiction-endorsement-codes"` \| `"document-issue-date"` \| `"federal-commercial-vehicle-codes"` \| `"issuing-jurisdiction"` \| `"standard-vehicle-classification"` \| `"issuing-jurisdiction-name"` \| `"standard-endorsement-code"` \| `"standard-restriction-code"` \| `"jurisdiction-vehicle-classification-description"` \| `"jurisdiction-endorsement-code-description"` \| `"jurisdiction-restriction-code-description"` \| `"inventory-control-number"` \| `"card-revision-date"` \| `"document-discriminator"` \| `"limited-duration-document"` \| `"audit-information"` \| `"compliance-type"` \| `"issue-timestamp"` \| `"permit-expiration-date"` \| `"permit-identifier"` \| `"permit-issue-date"` \| `"number-of-duplicates"` \| `"hazmat-expiration-date"` \| `"medical-indicator"` \| `"non-resident"` \| `"unique-customer-id"` \| `"data-discriminator"` \| `"document-expiration-month"` \| `"document-nonexpiring"` \| `"security-version"`
> **BarcodeElementKey** = `"document-type"` \| `"standard-version-number"` \| `"customer-family-name"` \| `"customer-first-name"` \| `"customer-full-name"` \| `"date-of-birth"` \| `"sex"` \| `"eye-color"` \| `"address-street"` \| `"address-city"` \| `"address-jurisdiction-code"` \| `"address-postal-code"` \| `"full-address"` \| `"height"` \| `"height-in"` \| `"height-cm"` \| `"customer-middle-name"` \| `"hair-color"` \| `"name-suffix"` \| `"aka-full-name"` \| `"aka-family-name"` \| `"aka-given-name"` \| `"aka-suffix-name"` \| `"weight-range"` \| `"weight-pounds"` \| `"weight-kilograms"` \| `"customer-id-number"` \| `"family-name-truncation"` \| `"first-name-truncation"` \| `"middle-name-truncation"` \| `"place-of-birth"` \| `"address-street-2"` \| `"race-ethnicity"` \| `"name-prefix"` \| `"country-identification"` \| `"residence-street-address"` \| `"residence-street-address-2"` \| `"residence-city"` \| `"residence-jurisdiction-code"` \| `"residence-postal-code"` \| `"residence-full-address"` \| `"under-18"` \| `"under-19"` \| `"under-21"` \| `"social-security-number"` \| `"aka-social-security-number"` \| `"aka-middle-name"` \| `"aka-prefix-name"` \| `"organ-donor"` \| `"veteran"` \| `"aka-date-of-birth"` \| `"issuer-identification-number"` \| `"document-expiration-date"` \| `"jurisdiction-version-number"` \| `"jurisdiction-vehicle-class"` \| `"jurisdiction-restriction-codes"` \| `"jurisdiction-endorsement-codes"` \| `"document-issue-date"` \| `"federal-commercial-vehicle-codes"` \| `"issuing-jurisdiction"` \| `"standard-vehicle-classification"` \| `"issuing-jurisdiction-name"` \| `"standard-endorsement-code"` \| `"standard-restriction-code"` \| `"jurisdiction-vehicle-classification-description"` \| `"jurisdiction-endorsement-code-description"` \| `"jurisdiction-restriction-code-description"` \| `"inventory-control-number"` \| `"card-revision-date"` \| `"document-discriminator"` \| `"limited-duration-document"` \| `"audit-information"` \| `"compliance-type"` \| `"issue-timestamp"` \| `"permit-expiration-date"` \| `"permit-identifier"` \| `"permit-issue-date"` \| `"number-of-duplicates"` \| `"hazmat-expiration-date"` \| `"medical-indicator"` \| `"non-resident"` \| `"unique-customer-id"` \| `"data-discriminator"` \| `"document-expiration-month"` \| `"document-nonexpiring"` \| `"security-version"` \| `"sub-field-designator"`

BarcodeElementKey defines additional fields present in the barcode.
Currently, this is only used for AAMVACompliant documents.
3 changes: 1 addition & 2 deletions packages/blinkid-core/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "@microblink/blinkid-core",
"description": "BlinkID Core SDK",
"version": "7.6.0",
"version": "7.6.1",
"author": "Microblink",
"scripts": {
"build": "concurrently pnpm:build:js pnpm:build:types",
"build:dev": "concurrently pnpm:build:js-dev pnpm:build:types",
"build:js": "vite build",
"build:js-dev": "vite build --mode development",
"build:publish": "pnpm build && pnpm type-rollup",
Expand Down
6 changes: 6 additions & 0 deletions packages/blinkid-ux-manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @microblink/blinkid-ux-manager

## 7.6.1

### Patch Changes

- @microblink/blinkid-core@7.6.1

## 7.6.0

### Minor Changes
Expand Down
3 changes: 1 addition & 2 deletions packages/blinkid-ux-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "@microblink/blinkid-ux-manager",
"description": "BlinkID UX Manager provides user feedback based on the blinkid process results.",
"version": "7.6.0",
"version": "7.6.1",
"author": "Microblink",
"scripts": {
"build": "concurrently pnpm:build:js pnpm:build:types",
"build:dev": "concurrently pnpm:build:js-dev pnpm:build:types",
"build:js": "vite build",
"build:js-dev": "vite build --mode development",
"build:publish": "pnpm build && pnpm type-rollup",
Expand Down
7 changes: 7 additions & 0 deletions packages/blinkid-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @microblink/blinkid-wasm

## 7.6.1

### Patch Changes

- For some documents, the document type was returned as `none`, which was causing confusion. To prevent this, we are filling in the document type from the barcode in case customers are using `barcode-id` mode. The fix is applied to all the AAMVA types, plus some others (Argentina, Canada, Colombia, Nigeria, Panama, Paraguay, SouthAfrica).
- Added `sub-field-designator` value to `BarcodeElementKey` type

## 7.6.0

### Minor Changes
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified packages/blinkid-wasm/dist/full/advanced-threads/BlinkIdModule.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/blinkid-wasm/dist/full/advanced/BlinkIdModule.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified packages/blinkid-wasm/dist/full/advanced/BlinkIdModule.wasm
Binary file not shown.
Loading