@auth/fauna-adapter 1.0.3 → 1.0.5
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 +3 -3
- package/index.js +3 -3
- package/package.json +3 -6
- package/src/index.ts +3 -3
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 @auth/fauna-adapter faunadb
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
@@ -47,7 +47,7 @@ export declare function query(f: FaunaClient, format: (...args: any) => any): <T
|
|
|
47
47
|
*
|
|
48
48
|
* This is the Fauna Adapter for [`next-auth`](https://authjs.dev). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.
|
|
49
49
|
*
|
|
50
|
-
* You can find the Fauna schema and seed information in the docs at [authjs.dev/reference/adapters/fauna](https://authjs.dev/reference/adapters/fauna).
|
|
50
|
+
* You can find the Fauna schema and seed information in the docs at [authjs.dev/reference/core/adapters/fauna](https://authjs.dev/reference/core/adapters/fauna).
|
|
51
51
|
*
|
|
52
52
|
* ### Configure Auth.js
|
|
53
53
|
*
|
|
@@ -114,7 +114,7 @@ export declare function query(f: FaunaClient, format: (...args: any) => any): <T
|
|
|
114
114
|
* })
|
|
115
115
|
* ```
|
|
116
116
|
*
|
|
117
|
-
* > This schema is adapted for use in Fauna and based upon our main [schema](https://authjs.dev/reference/adapters#models)
|
|
117
|
+
* > This schema is adapted for use in Fauna and based upon our main [schema](https://authjs.dev/reference/core/adapters#models)
|
|
118
118
|
**/
|
|
119
119
|
export declare function FaunaAdapter(f: FaunaClient): Adapter;
|
|
120
120
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ## Installation
|
|
11
11
|
*
|
|
12
|
-
* ```bash
|
|
12
|
+
* ```bash npm2yarn
|
|
13
13
|
* npm install @auth/fauna-adapter faunadb
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
@@ -89,7 +89,7 @@ export function query(f, format) {
|
|
|
89
89
|
*
|
|
90
90
|
* This is the Fauna Adapter for [`next-auth`](https://authjs.dev). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.
|
|
91
91
|
*
|
|
92
|
-
* You can find the Fauna schema and seed information in the docs at [authjs.dev/reference/adapters/fauna](https://authjs.dev/reference/adapters/fauna).
|
|
92
|
+
* You can find the Fauna schema and seed information in the docs at [authjs.dev/reference/core/adapters/fauna](https://authjs.dev/reference/core/adapters/fauna).
|
|
93
93
|
*
|
|
94
94
|
* ### Configure Auth.js
|
|
95
95
|
*
|
|
@@ -156,7 +156,7 @@ export function query(f, format) {
|
|
|
156
156
|
* })
|
|
157
157
|
* ```
|
|
158
158
|
*
|
|
159
|
-
* > This schema is adapted for use in Fauna and based upon our main [schema](https://authjs.dev/reference/adapters#models)
|
|
159
|
+
* > This schema is adapted for use in Fauna and based upon our main [schema](https://authjs.dev/reference/core/adapters#models)
|
|
160
160
|
**/
|
|
161
161
|
export function FaunaAdapter(f) {
|
|
162
162
|
const { Users, Accounts, Sessions, VerificationTokens } = collections;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auth/fauna-adapter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Fauna Adapter for Auth.js",
|
|
5
5
|
"homepage": "https://authjs.dev",
|
|
6
6
|
"repository": "https://github.com/nextauthjs/next-auth",
|
|
@@ -37,17 +37,14 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@auth/core": "0.18.
|
|
40
|
+
"@auth/core": "0.18.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"faunadb": "^4.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@fauna-labs/fauna-schema-migrate": "^2.1.3",
|
|
47
|
-
"faunadb": "^4.3.0"
|
|
48
|
-
"jest": "^27.4.3",
|
|
49
|
-
"@auth/adapter-test": "0.0.0",
|
|
50
|
-
"@auth/tsconfig": "0.0.0"
|
|
47
|
+
"faunadb": "^4.3.0"
|
|
51
48
|
},
|
|
52
49
|
"jest": {
|
|
53
50
|
"preset": "@auth/adapter-test/jest"
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ## Installation
|
|
11
11
|
*
|
|
12
|
-
* ```bash
|
|
12
|
+
* ```bash npm2yarn
|
|
13
13
|
* npm install @auth/fauna-adapter faunadb
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
@@ -130,7 +130,7 @@ export function query(f: FaunaClient, format: (...args: any) => any) {
|
|
|
130
130
|
*
|
|
131
131
|
* This is the Fauna Adapter for [`next-auth`](https://authjs.dev). This package can only be used in conjunction with the primary `next-auth` package. It is not a standalone package.
|
|
132
132
|
*
|
|
133
|
-
* You can find the Fauna schema and seed information in the docs at [authjs.dev/reference/adapters/fauna](https://authjs.dev/reference/adapters/fauna).
|
|
133
|
+
* You can find the Fauna schema and seed information in the docs at [authjs.dev/reference/core/adapters/fauna](https://authjs.dev/reference/core/adapters/fauna).
|
|
134
134
|
*
|
|
135
135
|
* ### Configure Auth.js
|
|
136
136
|
*
|
|
@@ -197,7 +197,7 @@ export function query(f: FaunaClient, format: (...args: any) => any) {
|
|
|
197
197
|
* })
|
|
198
198
|
* ```
|
|
199
199
|
*
|
|
200
|
-
* > This schema is adapted for use in Fauna and based upon our main [schema](https://authjs.dev/reference/adapters#models)
|
|
200
|
+
* > This schema is adapted for use in Fauna and based upon our main [schema](https://authjs.dev/reference/core/adapters#models)
|
|
201
201
|
**/
|
|
202
202
|
export function FaunaAdapter(f: FaunaClient): Adapter {
|
|
203
203
|
const { Users, Accounts, Sessions, VerificationTokens } = collections
|