img-hasher
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -93,3 +93,3 @@ /* tslint:disable */ | ||
*/ | ||
export function getHash(input: Buffer | string, hashAlgo?: HashAlgorithm | undefined | null): Promise<void>; | ||
export function getHash(input: Buffer | string, hashAlgo?: HashAlgorithm | undefined | null): Promise<string>; | ||
/** | ||
@@ -110,3 +110,3 @@ * get hamming distance of two image hashes | ||
*/ | ||
export function hammingDistanceFromHash(input1: string, input2: string): Promise<void>; | ||
export function hammingDistanceFromHash(input1: string, input2: string): Promise<number>; | ||
/** | ||
@@ -130,2 +130,2 @@ * get hamming distance of two images | ||
hashAlgo?: HashAlgorithm | undefined | null, | ||
): Promise<void>; | ||
): Promise<number>; |
{ | ||
"name": "img-hasher", | ||
"description": "A fast image hash generator and hamming distance calculator using multiple algorithms", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "index.js", | ||
@@ -56,8 +56,8 @@ "types": "index.d.ts", | ||
"optionalDependencies": { | ||
"@imranbarbhuiya/img-hasher-win32-x64-msvc": "0.0.6", | ||
"@imranbarbhuiya/img-hasher-darwin-x64": "0.0.6", | ||
"@imranbarbhuiya/img-hasher-linux-x64-gnu": "0.0.6", | ||
"@imranbarbhuiya/img-hasher-darwin-arm64": "0.0.6", | ||
"@imranbarbhuiya/img-hasher-linux-x64-musl": "0.0.6" | ||
"@imranbarbhuiya/img-hasher-win32-x64-msvc": "0.0.7", | ||
"@imranbarbhuiya/img-hasher-darwin-x64": "0.0.7", | ||
"@imranbarbhuiya/img-hasher-linux-x64-gnu": "0.0.7", | ||
"@imranbarbhuiya/img-hasher-darwin-arm64": "0.0.7", | ||
"@imranbarbhuiya/img-hasher-linux-x64-musl": "0.0.7" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13694