Skip to content

AutoCapture-v6.0.2

Choose a tag to compare

@richard-dc richard-dc released this 13 Nov 08:34
· 21 commits to main since this release

CHANGES v6.0.2

  • Bug Fix: Fixed Worker initialization failures caused by CORS restrictions when using different hostnames or CDN assets. Workers are now created from blob URLs with properly resolved WASM paths for reliable cross-origin support.

  • Backward Compatibility: Added mapping from ID to IDENTITY_CARD in settings for backward compatibility. Users can now use either ID or IDENTITY_CARD in the ALLOWED_DOCUMENTS configuration. When ID is used, it will automatically be mapped to IDENTITY_CARD internally. (see Allowed documents)

    Example:

    // Both configurations are now supported:
    ALLOWED_DOCUMENTS: {
        ID: ['FRONT', 'BACK'],  // Legacy - automatically mapped to IDENTITY_CARD
        IDENTITY_CARD: ['FRONT', 'BACK']  // Preferred
    }