Comparing version 5.1.2 to 5.1.3
@@ -11,3 +11,3 @@ export interface Options { | ||
export interface DefaultObjects { | ||
export interface SealOptionsSub { | ||
saltBits: number; | ||
@@ -20,5 +20,5 @@ algorithm: string; | ||
export interface Defaults { | ||
encryption: DefaultObjects; | ||
integrity: DefaultObjects; | ||
export interface SealOptions { | ||
encryption: SealOptionsSub; | ||
integrity: SealOptionsSub; | ||
ttl: number; | ||
@@ -120,3 +120,3 @@ timestampSkewSec: number; | ||
export function seal(object: any, password: Password | password.Secret | password.Specific, options: Defaults): string | ||
export function seal(object: any, password: Password | password.Secret | password.Specific, options: SealOptions): string | ||
@@ -134,2 +134,2 @@ | ||
export function unseal(sealed: string, password: Password | password.Hash, options?: Defaults): object | ||
export function unseal(sealed: string, password: Password | password.Hash, options?: SealOptions): object |
{ | ||
"name": "@hapi/iron", | ||
"description": "Encapsulated tokens (encrypted and mac'ed objects)", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"repository": "git://github.com/hueniverse/iron", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
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
20868