Skip to content

Commit

Permalink
style: check:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Oct 29, 2024
1 parent fa5dea0 commit 3a66a08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"type": "module",
"name": "@otterhttp/session",
"description": "Simple promise-based session utility for otterhttp",
"keywords": [
"otterhttp",
"session",
"promise"
],
"keywords": ["otterhttp", "session", "promise"],
"main": "./dist/index.js",
"exports": {
".": {
Expand All @@ -17,10 +13,7 @@
}
},
"types": "./dist/session.d.ts",
"files": [
"dist",
"licenses"
],
"files": ["dist", "licenses"],
"sideEffects": false,
"scripts": {
"build": "tsup",
Expand Down
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ type Cookie = {
)

type SetCookieOptions = SerializeOptions & {
/**
* `otterhttp` cookie `sign` function, will be passed to `res.cookie`.
* @default undefined
*/
sign?: ((value: string) => string) | null | undefined
/**
* `otterhttp` cookie `sign` function, will be passed to `res.cookie`.
* @default undefined
*/
sign?: ((value: string) => string) | null | undefined
}

export interface SessionStore {
Expand Down

0 comments on commit 3a66a08

Please sign in to comment.