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

@brc-dd/iron-session

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brc-dd/iron-session - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

dist/index.d.ts

@@ -62,3 +62,3 @@ import { CookieSerializeOptions } from 'cookie';

}) => Promise<string>;
declare const unsealData: <T extends Record<string, unknown> = Record<string, unknown>>(seal: string, { password, ttl }: {
declare const unsealData: <T extends {} = {}>(seal: string, { password, ttl }: {
password: string | {

@@ -69,4 +69,4 @@ [x: string]: string;

}) => Promise<T>;
declare const getIronSession: <T extends Record<string, unknown> = Record<string, unknown>>(req: http.IncomingMessage | Request, res: Response | http.ServerResponse<http.IncomingMessage>, userSessionOptions: IronSessionOptions) => Promise<IronSession<T>>;
declare const getIronSession: <T extends {} = {}>(req: http.IncomingMessage | Request, res: Response | http.ServerResponse<http.IncomingMessage>, userSessionOptions: IronSessionOptions) => Promise<IronSession<T>>;
export { IronSession, IronSessionOptions, getIronSession, sealData, unsealData };
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@brc-dd/iron-session",
"version": "0.0.1",
"version": "0.0.2",
"sideEffects": false,

@@ -17,2 +17,3 @@ "type": "module",

},
"types": "dist/index.d.ts",
"files": [

@@ -19,0 +20,0 @@ "dist/*"

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