@logto/next 2.1.0 → 2.1.2
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.
- package/lib/src/storage.d.ts +1 -1
- package/package.json +12 -2
package/lib/src/storage.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Storage, StorageKey } from '@logto/node';
|
|
2
2
|
import { type IronSession } from 'iron-session';
|
|
3
|
-
export default class NextStorage implements Storage {
|
|
3
|
+
export default class NextStorage implements Storage<StorageKey> {
|
|
4
4
|
private readonly session;
|
|
5
5
|
private sessionChanged;
|
|
6
6
|
constructor(session: IronSession);
|
package/package.json
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/next",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/src/index.cjs",
|
|
6
6
|
"module": "./lib/src/index.js",
|
|
7
7
|
"types": "./lib/src/index.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
"*": {
|
|
10
|
+
"*": [
|
|
11
|
+
"./lib/src/index.d.ts"
|
|
12
|
+
],
|
|
13
|
+
"edge": [
|
|
14
|
+
"./lib/edge/index.d.ts"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
8
18
|
"exports": {
|
|
9
19
|
".": {
|
|
10
20
|
"require": "./lib/src/index.cjs",
|
|
@@ -27,7 +37,7 @@
|
|
|
27
37
|
"directory": "packages/next"
|
|
28
38
|
},
|
|
29
39
|
"dependencies": {
|
|
30
|
-
"@logto/node": "^2.1.
|
|
40
|
+
"@logto/node": "^2.1.1",
|
|
31
41
|
"iron-session": "^6.3.1"
|
|
32
42
|
},
|
|
33
43
|
"devDependencies": {
|