Skip to content

Commit

Permalink
fix(types): update password type to accept string or array of ids and…
Browse files Browse the repository at this point in the history
… passwords (#134)

Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Jun 9, 2020
1 parent 924c170 commit 9ef64bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type SessionOptions = {
/** Password of the cookie
*
* Required */
password: string;
password: string | { id: number; password: string }[];

/** Time to live in seconds.
*
Expand Down

1 comment on commit 9ef64bf

@vercel
Copy link

@vercel vercel bot commented on 9ef64bf Jun 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.