Skip to content

Commit 169223f

Browse files
committed
chore: various fix and minor typo
1 parent 99ab313 commit 169223f

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"./package.json": "./package.json"
1414
},
1515
"types": "./dist/index.d.cts",
16-
"typings": "./dist/index.d.ts",
1716
"keywords": [
1817
"connect",
1918
"mongo",

src/lib/MongoStore.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,7 @@ test.serial(
815815
marker: true,
816816
})
817817
const unserialize = (payload: unknown) => {
818+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
818819
const { marker, ...rest } = payload as Record<string, unknown>
819820
return rest as SessionData
820821
}

src/lib/cryptoAdapters.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export type CryptoOptions = {
1919

2020
export type ConcretCryptoOptions = Required<CryptoOptions>
2121

22+
/* eslint-disable camelcase */
2223
export const defaultCryptoOptions: ConcretCryptoOptions = {
2324
secret: false,
2425
algorithm: 'aes-256-gcm',
@@ -28,6 +29,7 @@ export const defaultCryptoOptions: ConcretCryptoOptions = {
2829
iv_size: 16,
2930
at_size: 16,
3031
}
32+
/* eslint-enable camelcase */
3133

3234
export const createKrupteinAdapter = (
3335
options: CryptoOptions

src/test/integration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function createSupertestAgentWithDefault(
5858
{ secret: 'foo', ...sessionOpts },
5959
{
6060
mongoUrl: 'mongodb://root:example@127.0.0.1:27017',
61-
dbName: 'itegration-test-db',
61+
dbName: 'integration-test-db',
6262
stringify: false,
6363
...mongoStoreOpts,
6464
}

0 commit comments

Comments
 (0)