scrypt-async-modern
Advanced tools
Comparing version 3.0.11 to 3.0.12
@@ -0,1 +1,5 @@ | ||
## 3.0.12 - 2019-01-05 | ||
- Fix password/salt typings | ||
## 3.0.11 - 2019-01-05 | ||
@@ -2,0 +6,0 @@ |
@@ -22,3 +22,3 @@ /*! | ||
* | ||
* password and salt are strings or arrays of bytes (Array of Uint8Array) | ||
* password and salt are strings or arrays of bytes (Array or Uint8Array) | ||
* options is | ||
@@ -49,13 +49,13 @@ * | ||
*/ | ||
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & { | ||
encoding?: null; | ||
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & { | ||
encoding: null | undefined; | ||
}): Promise<number[]>; | ||
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & { | ||
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & { | ||
encoding: "hex"; | ||
}): Promise<string>; | ||
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & { | ||
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & { | ||
encoding: "base64"; | ||
}): Promise<string>; | ||
export default function scrypt(password: any, salt: any, options?: IScryptBaseOptions & { | ||
export default function scrypt(password: string | number[] | Uint8Array | ArrayBuffer, salt: string | number[] | Uint8Array | ArrayBuffer, options?: IScryptBaseOptions & { | ||
encoding: "binary"; | ||
}): Promise<Uint8Array>; |
{ | ||
"name": "scrypt-async-modern", | ||
"version": "3.0.11", | ||
"version": "3.0.12", | ||
"description": "Fast \"async\" scrypt implementation in modern JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
54223