@auth/firebase-adapter 1.0.3 → 1.0.4
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 +4 -10
- package/index.d.ts.map +1 -1
- package/index.js +4 -10
- package/package.json +3 -6
- package/src/index.ts +4 -10
package/index.d.ts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* using the <a href="https://firebase.google.com/docs/admin/setup">Firebase Admin SDK</a>
|
|
6
|
-
* and <a href="https://firebase.google.com/docs/firestore">Firestore</a>.</span>
|
|
7
|
-
* <a href="https://firebase.google.com/">
|
|
8
|
-
* <img style={{display: "block"}} src="https://authjs.dev/img/adapters/firebase.svg" height="48" width="48"/>
|
|
9
|
-
* </a>
|
|
10
|
-
* </div>
|
|
2
|
+
* Official **Firebase** adapter for Auth.js / NextAuth.js, using the [Firebase Admin SDK](https://firebase.google.com/docs/admin/setup)
|
|
3
|
+
* and [Firestore](https://firebase.google.com/docs/firestore).
|
|
4
|
+
* [](https://firebase.google.com)
|
|
11
5
|
*
|
|
12
6
|
* ## Installation
|
|
13
7
|
*
|
|
14
|
-
* ```bash
|
|
8
|
+
* ```bash npm2yarn
|
|
15
9
|
* npm install @auth/firebase-adapter firebase-admin
|
|
16
10
|
* ```
|
|
17
11
|
*
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,KAAK,UAAU,EAA0B,MAAM,oBAAoB,CAAA;AAE5E,OAAO,EACL,SAAS,EAIV,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EACV,OAAO,EAKR,MAAM,qBAAqB,CAAA;AAE5B,sCAAsC;AACtC,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACvD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,CAAC,EAAE,YAAY,CAAA;CAC9B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,GACzC,OAAO,CAgKT;AA8HD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,aAAa,CAC3B,OAAO,GAAE,UAAU,GAAG;IAAE,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAA;CAAO,aAQpE"}
|
package/index.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* using the <a href="https://firebase.google.com/docs/admin/setup">Firebase Admin SDK</a>
|
|
6
|
-
* and <a href="https://firebase.google.com/docs/firestore">Firestore</a>.</span>
|
|
7
|
-
* <a href="https://firebase.google.com/">
|
|
8
|
-
* <img style={{display: "block"}} src="https://authjs.dev/img/adapters/firebase.svg" height="48" width="48"/>
|
|
9
|
-
* </a>
|
|
10
|
-
* </div>
|
|
2
|
+
* Official **Firebase** adapter for Auth.js / NextAuth.js, using the [Firebase Admin SDK](https://firebase.google.com/docs/admin/setup)
|
|
3
|
+
* and [Firestore](https://firebase.google.com/docs/firestore).
|
|
4
|
+
* [](https://firebase.google.com)
|
|
11
5
|
*
|
|
12
6
|
* ## Installation
|
|
13
7
|
*
|
|
14
|
-
* ```bash
|
|
8
|
+
* ```bash npm2yarn
|
|
15
9
|
* npm install @auth/firebase-adapter firebase-admin
|
|
16
10
|
* ```
|
|
17
11
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auth/firebase-adapter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Firebase 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.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"firebase-admin": "^11.4.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"firebase-admin": "^11.4.1",
|
|
47
|
-
"firebase-tools": "^11.16.1"
|
|
48
|
-
"jest": "^29.3.1",
|
|
49
|
-
"@auth/adapter-test": "0.0.0",
|
|
50
|
-
"@auth/tsconfig": "0.0.0"
|
|
47
|
+
"firebase-tools": "^11.16.1"
|
|
51
48
|
},
|
|
52
49
|
"scripts": {
|
|
53
50
|
"dev": "tsc -w",
|
package/src/index.ts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* using the <a href="https://firebase.google.com/docs/admin/setup">Firebase Admin SDK</a>
|
|
6
|
-
* and <a href="https://firebase.google.com/docs/firestore">Firestore</a>.</span>
|
|
7
|
-
* <a href="https://firebase.google.com/">
|
|
8
|
-
* <img style={{display: "block"}} src="https://authjs.dev/img/adapters/firebase.svg" height="48" width="48"/>
|
|
9
|
-
* </a>
|
|
10
|
-
* </div>
|
|
2
|
+
* Official **Firebase** adapter for Auth.js / NextAuth.js, using the [Firebase Admin SDK](https://firebase.google.com/docs/admin/setup)
|
|
3
|
+
* and [Firestore](https://firebase.google.com/docs/firestore).
|
|
4
|
+
* [](https://firebase.google.com)
|
|
11
5
|
*
|
|
12
6
|
* ## Installation
|
|
13
7
|
*
|
|
14
|
-
* ```bash
|
|
8
|
+
* ```bash npm2yarn
|
|
15
9
|
* npm install @auth/firebase-adapter firebase-admin
|
|
16
10
|
* ```
|
|
17
11
|
*
|