Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hapi/iron

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/iron - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

12

lib/index.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc