fastify-session-better-sqlite3-store 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # fastify-better-sqlite3-session-store
1
+ # fastify-session-better-sqlite3-store
2
2
 
3
- ![ci](https://github.com/mrdcvlsc/fastify-better-sqlite3-session-store/actions/workflows/ci.yml/badge.svg)
4
- ![standard](https://github.com/mrdcvlsc/fastify-better-sqlite3-session-store/actions/workflows/standard.yml/badge.svg)
3
+ ![ci](https://github.com/mrdcvlsc/fastify-session-better-sqlite3-store/actions/workflows/ci.yml/badge.svg)
4
+ ![standard](https://github.com/mrdcvlsc/fastify-session-better-sqlite3-store/actions/workflows/standard.yml/badge.svg)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
6
6
 
7
7
  Session store for [@fastify/session](https://github.com/fastify/session) using [better-sqlite3](https://github.com/WiseLibs/better-sqlite3). By default [@fastify/session](https://github.com/fastify/session) stores sessions in-memory. Using this package's class you can store sessions on an **SQLite3** database instead.
@@ -9,7 +9,7 @@ Session store for [@fastify/session](https://github.com/fastify/session) using [
9
9
  ## Installation
10
10
 
11
11
  ```
12
- npm install fastify-better-sqlite3-session-store
12
+ npm install fastify-session-better-sqlite3-store
13
13
  ```
14
14
 
15
15
  ## Example
@@ -23,7 +23,7 @@ const fastifySession = require('@fastify/session')
23
23
  const db = require('better-sqlite3')(`./sqlite.db`)
24
24
 
25
25
  // require module
26
- const SqliteStore = require('fastify-better-sqlite3-session-store')
26
+ const SqliteStore = require('fastify-session-better-sqlite3-store')
27
27
 
28
28
  fastify.register(fastifyCookie)
29
29
  fastify.register(fastifySession,{
@@ -44,4 +44,4 @@ fastify.register(fastifySession,{
44
44
 
45
45
  ## License
46
46
 
47
- [MIT Licence](https://github.com/mrdcvlsc/fastify-better-sqlite3-session-store/blob/main/LICENSE)
47
+ [MIT Licence](https://github.com/mrdcvlsc/fastify-session-better-sqlite3-store/blob/main/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastify-session-better-sqlite3-store",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "A simple session store for fastify-session using better-sqlite3",
5
5
  "main": "index.js",
6
6
  "scripts": {