firebase-admin 10.2.0 → 10.3.0
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/README.md +2 -1
- package/lib/app/core.d.ts +1 -1
- package/lib/app/core.js +1 -1
- package/lib/app/credential-factory.d.ts +1 -1
- package/lib/app/credential-factory.js +1 -1
- package/lib/app/credential-internal.d.ts +1 -1
- package/lib/app/credential-internal.js +1 -1
- package/lib/app/credential.d.ts +1 -1
- package/lib/app/credential.js +1 -1
- package/lib/app/firebase-app.d.ts +1 -1
- package/lib/app/firebase-app.js +1 -1
- package/lib/app/firebase-namespace.d.ts +1 -1
- package/lib/app/firebase-namespace.js +1 -1
- package/lib/app/index.d.ts +1 -1
- package/lib/app/index.js +1 -1
- package/lib/app/lifecycle.d.ts +1 -1
- package/lib/app/lifecycle.js +1 -1
- package/lib/app-check/app-check-api-client-internal.d.ts +1 -1
- package/lib/app-check/app-check-api-client-internal.js +1 -1
- package/lib/app-check/app-check-api.d.ts +1 -1
- package/lib/app-check/app-check-api.js +1 -1
- package/lib/app-check/app-check-namespace.d.ts +1 -1
- package/lib/app-check/app-check-namespace.js +1 -1
- package/lib/app-check/app-check.d.ts +1 -1
- package/lib/app-check/app-check.js +1 -1
- package/lib/app-check/index.d.ts +1 -1
- package/lib/app-check/index.js +1 -1
- package/lib/app-check/token-generator.d.ts +1 -1
- package/lib/app-check/token-generator.js +1 -1
- package/lib/app-check/token-verifier.d.ts +1 -1
- package/lib/app-check/token-verifier.js +1 -1
- package/lib/auth/action-code-settings-builder.d.ts +1 -1
- package/lib/auth/action-code-settings-builder.js +1 -1
- package/lib/auth/auth-api-request.d.ts +1 -1
- package/lib/auth/auth-api-request.js +1 -1
- package/lib/auth/auth-config.d.ts +1 -1
- package/lib/auth/auth-config.js +1 -1
- package/lib/auth/auth-namespace.d.ts +1 -1
- package/lib/auth/auth-namespace.js +1 -1
- package/lib/auth/auth.d.ts +1 -1
- package/lib/auth/auth.js +1 -1
- package/lib/auth/base-auth.d.ts +1 -1
- package/lib/auth/base-auth.js +1 -1
- package/lib/auth/identifier.d.ts +1 -1
- package/lib/auth/identifier.js +1 -1
- package/lib/auth/index.d.ts +1 -1
- package/lib/auth/index.js +1 -1
- package/lib/auth/tenant-manager.d.ts +1 -1
- package/lib/auth/tenant-manager.js +1 -1
- package/lib/auth/tenant.d.ts +1 -1
- package/lib/auth/tenant.js +1 -1
- package/lib/auth/token-generator.d.ts +1 -1
- package/lib/auth/token-generator.js +1 -1
- package/lib/auth/token-verifier.d.ts +1 -1
- package/lib/auth/token-verifier.js +1 -1
- package/lib/auth/user-import-builder.d.ts +1 -1
- package/lib/auth/user-import-builder.js +1 -1
- package/lib/auth/user-record.d.ts +1 -1
- package/lib/auth/user-record.js +1 -1
- package/lib/credential/index.d.ts +1 -1
- package/lib/credential/index.js +1 -1
- package/lib/database/database-namespace.d.ts +1 -1
- package/lib/database/database-namespace.js +1 -1
- package/lib/database/database.d.ts +1 -1
- package/lib/database/database.js +1 -1
- package/lib/database/index.d.ts +1 -1
- package/lib/database/index.js +1 -1
- package/lib/default-namespace.d.ts +1 -1
- package/lib/default-namespace.js +1 -1
- package/lib/eventarc/cloudevent.d.ts +1 -1
- package/lib/eventarc/cloudevent.js +1 -1
- package/lib/eventarc/eventarc-client-internal.d.ts +1 -1
- package/lib/eventarc/eventarc-client-internal.js +1 -1
- package/lib/eventarc/eventarc-utils.d.ts +1 -1
- package/lib/eventarc/eventarc-utils.js +1 -1
- package/lib/eventarc/eventarc.d.ts +1 -1
- package/lib/eventarc/eventarc.js +1 -1
- package/lib/eventarc/index.d.ts +1 -1
- package/lib/eventarc/index.js +1 -1
- package/lib/firebase-namespace-api.d.ts +1 -1
- package/lib/firebase-namespace-api.js +1 -1
- package/lib/firestore/firestore-internal.d.ts +1 -1
- package/lib/firestore/firestore-internal.js +1 -1
- package/lib/firestore/firestore-namespace.d.ts +1 -1
- package/lib/firestore/firestore-namespace.js +1 -1
- package/lib/firestore/index.d.ts +1 -1
- package/lib/firestore/index.js +1 -1
- package/lib/functions/functions-api-client-internal.d.ts +1 -1
- package/lib/functions/functions-api-client-internal.js +1 -1
- package/lib/functions/functions-api.d.ts +1 -1
- package/lib/functions/functions-api.js +1 -1
- package/lib/functions/functions.d.ts +1 -1
- package/lib/functions/functions.js +1 -1
- package/lib/functions/index.d.ts +1 -1
- package/lib/functions/index.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/installations/index.d.ts +1 -1
- package/lib/installations/index.js +1 -1
- package/lib/installations/installations-namespace.d.ts +1 -1
- package/lib/installations/installations-namespace.js +1 -1
- package/lib/installations/installations-request-handler.d.ts +1 -1
- package/lib/installations/installations-request-handler.js +1 -1
- package/lib/installations/installations.d.ts +1 -1
- package/lib/installations/installations.js +1 -1
- package/lib/instance-id/index.d.ts +1 -1
- package/lib/instance-id/index.js +1 -1
- package/lib/instance-id/instance-id-namespace.d.ts +1 -1
- package/lib/instance-id/instance-id-namespace.js +1 -1
- package/lib/instance-id/instance-id.d.ts +1 -1
- package/lib/instance-id/instance-id.js +1 -1
- package/lib/machine-learning/index.d.ts +1 -1
- package/lib/machine-learning/index.js +1 -1
- package/lib/machine-learning/machine-learning-api-client.d.ts +1 -1
- package/lib/machine-learning/machine-learning-api-client.js +1 -1
- package/lib/machine-learning/machine-learning-namespace.d.ts +1 -1
- package/lib/machine-learning/machine-learning-namespace.js +1 -1
- package/lib/machine-learning/machine-learning-utils.d.ts +1 -1
- package/lib/machine-learning/machine-learning-utils.js +1 -1
- package/lib/machine-learning/machine-learning.d.ts +1 -1
- package/lib/machine-learning/machine-learning.js +1 -1
- package/lib/messaging/batch-request-internal.d.ts +1 -1
- package/lib/messaging/batch-request-internal.js +1 -1
- package/lib/messaging/index.d.ts +1 -1
- package/lib/messaging/index.js +1 -1
- package/lib/messaging/messaging-api-request-internal.d.ts +1 -1
- package/lib/messaging/messaging-api-request-internal.js +1 -1
- package/lib/messaging/messaging-api.d.ts +1 -1
- package/lib/messaging/messaging-api.js +1 -1
- package/lib/messaging/messaging-errors-internal.d.ts +1 -1
- package/lib/messaging/messaging-errors-internal.js +1 -1
- package/lib/messaging/messaging-internal.d.ts +1 -1
- package/lib/messaging/messaging-internal.js +1 -1
- package/lib/messaging/messaging-namespace.d.ts +1 -1
- package/lib/messaging/messaging-namespace.js +1 -1
- package/lib/messaging/messaging.d.ts +1 -1
- package/lib/messaging/messaging.js +1 -1
- package/lib/project-management/android-app.d.ts +1 -1
- package/lib/project-management/android-app.js +1 -1
- package/lib/project-management/app-metadata.d.ts +1 -1
- package/lib/project-management/app-metadata.js +1 -1
- package/lib/project-management/index.d.ts +1 -1
- package/lib/project-management/index.js +1 -1
- package/lib/project-management/ios-app.d.ts +1 -1
- package/lib/project-management/ios-app.js +1 -1
- package/lib/project-management/project-management-api-request-internal.d.ts +1 -1
- package/lib/project-management/project-management-api-request-internal.js +1 -1
- package/lib/project-management/project-management-namespace.d.ts +1 -1
- package/lib/project-management/project-management-namespace.js +1 -1
- package/lib/project-management/project-management.d.ts +1 -1
- package/lib/project-management/project-management.js +1 -1
- package/lib/remote-config/index.d.ts +1 -1
- package/lib/remote-config/index.js +1 -1
- package/lib/remote-config/remote-config-api-client-internal.d.ts +1 -1
- package/lib/remote-config/remote-config-api-client-internal.js +1 -1
- package/lib/remote-config/remote-config-api.d.ts +1 -1
- package/lib/remote-config/remote-config-api.js +1 -1
- package/lib/remote-config/remote-config-namespace.d.ts +1 -1
- package/lib/remote-config/remote-config-namespace.js +1 -1
- package/lib/remote-config/remote-config.d.ts +1 -1
- package/lib/remote-config/remote-config.js +1 -1
- package/lib/security-rules/index.d.ts +1 -1
- package/lib/security-rules/index.js +1 -1
- package/lib/security-rules/security-rules-api-client-internal.d.ts +1 -1
- package/lib/security-rules/security-rules-api-client-internal.js +1 -1
- package/lib/security-rules/security-rules-internal.d.ts +1 -1
- package/lib/security-rules/security-rules-internal.js +1 -1
- package/lib/security-rules/security-rules-namespace.d.ts +1 -1
- package/lib/security-rules/security-rules-namespace.js +1 -1
- package/lib/security-rules/security-rules.d.ts +1 -1
- package/lib/security-rules/security-rules.js +1 -1
- package/lib/storage/index.d.ts +1 -1
- package/lib/storage/index.js +1 -1
- package/lib/storage/storage-namespace.d.ts +1 -1
- package/lib/storage/storage-namespace.js +1 -1
- package/lib/storage/storage.d.ts +1 -1
- package/lib/storage/storage.js +1 -1
- package/lib/utils/api-request.d.ts +1 -1
- package/lib/utils/api-request.js +3 -3
- package/lib/utils/crypto-signer.d.ts +1 -1
- package/lib/utils/crypto-signer.js +1 -1
- package/lib/utils/deep-copy.d.ts +1 -1
- package/lib/utils/deep-copy.js +1 -1
- package/lib/utils/error.d.ts +1 -1
- package/lib/utils/error.js +1 -1
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/jwt.d.ts +1 -1
- package/lib/utils/jwt.js +1 -1
- package/lib/utils/validator.d.ts +1 -1
- package/lib/utils/validator.js +1 -1
- package/package.json +19 -4
package/lib/storage/index.js
CHANGED
package/lib/storage/storage.d.ts
CHANGED
package/lib/storage/storage.js
CHANGED
package/lib/utils/api-request.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! firebase-admin v10.
|
|
1
|
+
/*! firebase-admin v10.3.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*!
|
|
4
4
|
* @license
|
|
@@ -455,8 +455,8 @@ var AsyncHttpCall = /** @class */ (function () {
|
|
|
455
455
|
};
|
|
456
456
|
AsyncHttpCall.prototype.handleMultipartResponse = function (response, respStream, boundary) {
|
|
457
457
|
var _this = this;
|
|
458
|
-
var
|
|
459
|
-
var multipartParser = new
|
|
458
|
+
var busboy = require('@fastify/busboy'); // eslint-disable-line @typescript-eslint/no-var-requires
|
|
459
|
+
var multipartParser = new busboy.Dicer({ boundary: boundary });
|
|
460
460
|
var responseBuffer = [];
|
|
461
461
|
multipartParser.on('part', function (part) {
|
|
462
462
|
var tempBuffers = [];
|
package/lib/utils/deep-copy.d.ts
CHANGED
package/lib/utils/deep-copy.js
CHANGED
package/lib/utils/error.d.ts
CHANGED
package/lib/utils/error.js
CHANGED
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/index.js
CHANGED
package/lib/utils/jwt.d.ts
CHANGED
package/lib/utils/jwt.js
CHANGED
package/lib/utils/validator.d.ts
CHANGED
package/lib/utils/validator.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-admin",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.3.0",
|
|
4
4
|
"description": "Firebase admin SDK for Node.js",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -112,71 +112,86 @@
|
|
|
112
112
|
"exports": {
|
|
113
113
|
".": "./lib/index.js",
|
|
114
114
|
"./app": {
|
|
115
|
+
"types": "./lib/app/index.d.ts",
|
|
115
116
|
"require": "./lib/app/index.js",
|
|
116
117
|
"import": "./lib/esm/app/index.js"
|
|
117
118
|
},
|
|
118
119
|
"./app-check": {
|
|
120
|
+
"types": "./lib/app-check/index.d.ts",
|
|
119
121
|
"require": "./lib/app-check/index.js",
|
|
120
122
|
"import": "./lib/esm/app-check/index.js"
|
|
121
123
|
},
|
|
122
124
|
"./auth": {
|
|
125
|
+
"types": "./lib/auth/index.d.ts",
|
|
123
126
|
"require": "./lib/auth/index.js",
|
|
124
127
|
"import": "./lib/esm/auth/index.js"
|
|
125
128
|
},
|
|
126
129
|
"./database": {
|
|
130
|
+
"types": "./lib/database/index.d.ts",
|
|
127
131
|
"require": "./lib/database/index.js",
|
|
128
132
|
"import": "./lib/esm/database/index.js"
|
|
129
133
|
},
|
|
130
134
|
"./eventarc": {
|
|
135
|
+
"types": "./lib/eventarc/index.d.ts",
|
|
131
136
|
"require": "./lib/eventarc/index.js",
|
|
132
137
|
"import": "./lib/esm/eventarc/index.js"
|
|
133
138
|
},
|
|
134
139
|
"./firestore": {
|
|
140
|
+
"types": "./lib/firestore/index.d.ts",
|
|
135
141
|
"require": "./lib/firestore/index.js",
|
|
136
142
|
"import": "./lib/esm/firestore/index.js"
|
|
137
143
|
},
|
|
138
144
|
"./functions": {
|
|
145
|
+
"types": "./lib/functions/index.d.ts",
|
|
139
146
|
"require": "./lib/functions/index.js",
|
|
140
147
|
"import": "./lib/esm/functions/index.js"
|
|
141
148
|
},
|
|
142
149
|
"./installations": {
|
|
150
|
+
"types": "./lib/installations/index.d.ts",
|
|
143
151
|
"require": "./lib/installations/index.js",
|
|
144
152
|
"import": "./lib/esm/installations/index.js"
|
|
145
153
|
},
|
|
146
154
|
"./instance-id": {
|
|
155
|
+
"types": "./lib/instance-id/index.d.ts",
|
|
147
156
|
"require": "./lib/instance-id/index.js",
|
|
148
157
|
"import": "./lib/esm/instance-id/index.js"
|
|
149
158
|
},
|
|
150
159
|
"./machine-learning": {
|
|
160
|
+
"types": "./lib/machine-learning/index.d.ts",
|
|
151
161
|
"require": "./lib/machine-learning/index.js",
|
|
152
162
|
"import": "./lib/esm/machine-learning/index.js"
|
|
153
163
|
},
|
|
154
164
|
"./messaging": {
|
|
165
|
+
"types": "./lib/messaging/index.d.ts",
|
|
155
166
|
"require": "./lib/messaging/index.js",
|
|
156
167
|
"import": "./lib/esm/messaging/index.js"
|
|
157
168
|
},
|
|
158
169
|
"./project-management": {
|
|
170
|
+
"types": "./lib/project-management/index.d.ts",
|
|
159
171
|
"require": "./lib/project-management/index.js",
|
|
160
172
|
"import": "./lib/esm/project-management/index.js"
|
|
161
173
|
},
|
|
162
174
|
"./remote-config": {
|
|
175
|
+
"types": "./lib/remote-config/index.d.ts",
|
|
163
176
|
"require": "./lib/remote-config/index.js",
|
|
164
177
|
"import": "./lib/esm/remote-config/index.js"
|
|
165
178
|
},
|
|
166
179
|
"./security-rules": {
|
|
180
|
+
"types": "./lib/security-rules/index.d.ts",
|
|
167
181
|
"require": "./lib/security-rules/index.js",
|
|
168
182
|
"import": "./lib/esm/security-rules/index.js"
|
|
169
183
|
},
|
|
170
184
|
"./storage": {
|
|
185
|
+
"types": "./lib/storage/index.d.ts",
|
|
171
186
|
"require": "./lib/storage/index.js",
|
|
172
187
|
"import": "./lib/esm/storage/index.js"
|
|
173
188
|
}
|
|
174
189
|
},
|
|
175
190
|
"dependencies": {
|
|
176
|
-
"@firebase/database-compat": "^0.
|
|
191
|
+
"@firebase/database-compat": "^0.2.0",
|
|
177
192
|
"@firebase/database-types": "^0.9.7",
|
|
178
193
|
"@types/node": ">=12.12.47",
|
|
179
|
-
"
|
|
194
|
+
"@fastify/busboy": "^1.1.0",
|
|
180
195
|
"jsonwebtoken": "^8.5.1",
|
|
181
196
|
"jwks-rsa": "^2.0.2",
|
|
182
197
|
"node-forge": "^1.3.1",
|
|
@@ -232,7 +247,7 @@
|
|
|
232
247
|
"request": "^2.75.0",
|
|
233
248
|
"request-promise": "^4.1.1",
|
|
234
249
|
"run-sequence": "^2.2.1",
|
|
235
|
-
"sinon": "^
|
|
250
|
+
"sinon": "^14.0.0",
|
|
236
251
|
"sinon-chai": "^3.0.0",
|
|
237
252
|
"ts-node": "^10.2.0",
|
|
238
253
|
"typescript": "^3.7.3",
|