Skip to content

Commit 143eea8

Browse files
colerogersinlined
andauthored
Add auth blocking handlers (#1080)
* adding inital components for v1 * getting the sdk to work with the cli * more tinkering * reverting package-lock * cleaning up things * adding back old package-lock * adding current package & check before using admin api * cleaning up & starting tests * removing old token verification peices & adding tests for v1/v2 handlers * remove node-fetch * bumping admin version & removing node-fetch types * add back in the @types * add RS256 alg to broken test * adding DOM to fix tsc errors * adding skip lib check * address comments * exporting HttpsError from v1 & v2 namespaces * wrap the handlers, remove skipLibCheck, and add back in node-fetch * Add polyfill to avoid depending on DOM or using skipLibCheck (#1085) * Add polyfill to avoid depending on DOM or using skipLibCheck * Formatter * Linter Co-authored-by: Thomas Bouldin <[email protected]>
1 parent 78dae73 commit 143eea8

File tree

19 files changed

+2318
-8351
lines changed

19 files changed

+2318
-8351
lines changed

package-lock.json

Lines changed: 1367 additions & 7661 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
"./v2/alerts/appDistribution": "./lib/v2/providers/alerts/appDistribution.js",
6565
"./v2/alerts/billing": "./lib/v2/providers/alerts/billing.js",
6666
"./v2/alerts/crashlytics": "./lib/v2/providers/alerts/crashlytics.js",
67-
"./v2/eventarc": "./lib/v2/providers/eventarc.js"
67+
"./v2/eventarc": "./lib/v2/providers/eventarc.js",
68+
"./v2/identity": "./lib/v2/providers/identity.js"
6869
},
6970
"typesVersions": {
7071
"*": {
@@ -128,6 +129,9 @@
128129
"v2/eventarc": [
129130
"lib/v2/providers/eventarc"
130131
],
132+
"v2/identity": [
133+
"lib/v2/providers/identity"
134+
],
131135
"v2/options": [
132136
"lib/v2/options"
133137
],
@@ -186,7 +190,7 @@
186190
"chai": "^4.2.0",
187191
"chai-as-promised": "^7.1.1",
188192
"child-process-promise": "^2.2.1",
189-
"firebase-admin": "10.0.0",
193+
"firebase-admin": "^10.1.0",
190194
"js-yaml": "^3.13.1",
191195
"jsdom": "^16.2.1",
192196
"jsonwebtoken": "^8.5.1",

0 commit comments

Comments
 (0)