From bf837799ed54dd4f5d1e54d4f8545b89e1ff95d8 Mon Sep 17 00:00:00 2001 From: Aliaksandr Drozd Date: Thu, 14 Mar 2024 10:12:12 +0100 Subject: [PATCH] Fix authenticity ident --- package.json | 2 +- .../get-authenticity-check-list.recipe.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 123d737..4d7f10e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.0.34", + "version": "0.0.35", "author": "Regula Forensics, Inc.", "name": "@regulaforensics/document-reader-recipes", "description": "Document Reader Recipes", diff --git a/src/recipes/authenticity/get-authenticity-check-list/get-authenticity-check-list.recipe.ts b/src/recipes/authenticity/get-authenticity-check-list/get-authenticity-check-list.recipe.ts index 7afd5a1..845d284 100644 --- a/src/recipes/authenticity/get-authenticity-check-list/get-authenticity-check-list.recipe.ts +++ b/src/recipes/authenticity/get-authenticity-check-list/get-authenticity-check-list.recipe.ts @@ -47,10 +47,6 @@ export const getAuthenticityCheckList = (input: ProcessResponse): RAuthenticityC if (AuthenticityIdentCheckResult.isBelongs(item)) { item.List.forEach((subItem) => { - if (subItem.Type !== eAuthenticity.IMAGE_PATTERN) { - return - } - current.ident.push(RAuthenticityIdentCheckListItem.fromPlain({ securityFeatureType: subItem.Type, checkResult: subItem.ElementResult ?? eCheckResult.WAS_NOT_DONE,