@auth/dynamodb-adapter 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.
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +3 -6
- package/src/index.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ## Installation
|
|
10
10
|
*
|
|
11
|
-
* ```bash
|
|
11
|
+
* ```bash npm2yarn
|
|
12
12
|
* npm install next-auth @auth/dynamodb-adapter
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
@@ -90,7 +90,7 @@ export interface DynamoDBAdapterOptions {
|
|
|
90
90
|
* - Querying relations is faster than with multi-table schemas (for eg. retrieving all sessions for a user).
|
|
91
91
|
* - Only one table needs to be replicated if you want to go multi-region.
|
|
92
92
|
*
|
|
93
|
-
* > This schema is adapted for use in DynamoDB and based upon our main [schema](https://authjs.dev/reference/adapters#models)
|
|
93
|
+
* > This schema is adapted for use in DynamoDB and based upon our main [schema](https://authjs.dev/reference/core/adapters#models)
|
|
94
94
|
*
|
|
95
95
|
* 
|
|
96
96
|
*
|
package/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ## Installation
|
|
10
10
|
*
|
|
11
|
-
* ```bash
|
|
11
|
+
* ```bash npm2yarn
|
|
12
12
|
* npm install next-auth @auth/dynamodb-adapter
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
* - Querying relations is faster than with multi-table schemas (for eg. retrieving all sessions for a user).
|
|
81
81
|
* - Only one table needs to be replicated if you want to go multi-region.
|
|
82
82
|
*
|
|
83
|
-
* > This schema is adapted for use in DynamoDB and based upon our main [schema](https://authjs.dev/reference/adapters#models)
|
|
83
|
+
* > This schema is adapted for use in DynamoDB and based upon our main [schema](https://authjs.dev/reference/core/adapters#models)
|
|
84
84
|
*
|
|
85
85
|
* 
|
|
86
86
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auth/dynamodb-adapter",
|
|
3
3
|
"repository": "https://github.com/nextauthjs/next-auth",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"description": "AWS DynamoDB adapter for next-auth.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"next-auth",
|
|
@@ -42,13 +42,10 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@aws-sdk/client-dynamodb": "^3.36.1",
|
|
44
44
|
"@aws-sdk/lib-dynamodb": "^3.36.1",
|
|
45
|
-
"@shelf/jest-dynamodb": "^2.1.0"
|
|
46
|
-
"jest": "^27.4.3",
|
|
47
|
-
"@auth/adapter-test": "0.0.0",
|
|
48
|
-
"@auth/tsconfig": "0.0.0"
|
|
45
|
+
"@shelf/jest-dynamodb": "^2.1.0"
|
|
49
46
|
},
|
|
50
47
|
"dependencies": {
|
|
51
|
-
"@auth/core": "0.18.
|
|
48
|
+
"@auth/core": "0.18.1"
|
|
52
49
|
},
|
|
53
50
|
"scripts": {
|
|
54
51
|
"test:default": "jest",
|
package/src/index.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ## Installation
|
|
10
10
|
*
|
|
11
|
-
* ```bash
|
|
11
|
+
* ```bash npm2yarn
|
|
12
12
|
* npm install next-auth @auth/dynamodb-adapter
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
@@ -102,7 +102,7 @@ export interface DynamoDBAdapterOptions {
|
|
|
102
102
|
* - Querying relations is faster than with multi-table schemas (for eg. retrieving all sessions for a user).
|
|
103
103
|
* - Only one table needs to be replicated if you want to go multi-region.
|
|
104
104
|
*
|
|
105
|
-
* > This schema is adapted for use in DynamoDB and based upon our main [schema](https://authjs.dev/reference/adapters#models)
|
|
105
|
+
* > This schema is adapted for use in DynamoDB and based upon our main [schema](https://authjs.dev/reference/core/adapters#models)
|
|
106
106
|
*
|
|
107
107
|
* 
|
|
108
108
|
*
|