firebase-admin
Advanced tools
Comparing version 8.1.0 to 8.2.0
@@ -5,2 +5,9 @@ # Unreleased | ||
# v8.2.0 | ||
- [fixed] Gracefully handling array-like objects in `messaging.sendAll()` and | ||
`messaging.sendMulticast()` APIs. | ||
- [fixed] Updated the metadata server URL (used by the application default credentials) | ||
to the `v1` endpoint. | ||
# v8.1.0 | ||
@@ -7,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -35,3 +35,3 @@ /*! | ||
var FIREBASE_AUTH_HEADER = { | ||
'X-Client-Version': 'Node/Admin/8.1.0', | ||
'X-Client-Version': 'Node/Admin/8.2.0', | ||
}; | ||
@@ -38,0 +38,0 @@ /** Firebase Auth request timeout duration in milliseconds. */ |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -30,3 +30,3 @@ /*! | ||
var GOOGLE_METADATA_SERVICE_HOST = 'metadata.google.internal'; | ||
var GOOGLE_METADATA_SERVICE_PATH = '/computeMetadata/v1beta1/instance/service-accounts/default/token'; | ||
var GOOGLE_METADATA_SERVICE_PATH = '/computeMetadata/v1/instance/service-accounts/default/token'; | ||
var configDir = (function () { | ||
@@ -278,2 +278,5 @@ // Windows has a dedicated low-rights location for apps at ~/Application Data | ||
url: "http://" + GOOGLE_METADATA_SERVICE_HOST + GOOGLE_METADATA_SERVICE_PATH, | ||
headers: { | ||
'Metadata-Flavor': 'Google', | ||
}, | ||
httpAgent: this.httpAgent, | ||
@@ -280,0 +283,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -249,3 +249,3 @@ /*! | ||
this.credential = firebaseCredential; | ||
this.SDK_VERSION = '8.1.0'; | ||
this.SDK_VERSION = '8.2.0'; | ||
/* tslint:disable */ | ||
@@ -252,0 +252,0 @@ // TODO(jwenger): Database is the only consumer of firebase.Promise. We should update it to use |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -27,6 +27,6 @@ /*! | ||
var FIREBASE_MESSAGING_HEADERS = { | ||
'X-Firebase-Client': 'fire-admin-node/8.1.0', | ||
'X-Firebase-Client': 'fire-admin-node/8.2.0', | ||
}; | ||
var LEGACY_FIREBASE_MESSAGING_HEADERS = { | ||
'X-Firebase-Client': 'fire-admin-node/8.1.0', | ||
'X-Firebase-Client': 'fire-admin-node/8.2.0', | ||
'access_token_auth': 'true', | ||
@@ -33,0 +33,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -249,2 +249,8 @@ /*! | ||
var _this = this; | ||
if (validator.isArray(messages) && messages.constructor !== Array) { | ||
// In more recent JS specs, an array-like object might have a constructor that is not of | ||
// Array type. Our deepCopy() method doesn't handle them properly. Convert such objects to | ||
// a regular array here before calling deepCopy(). See issue #566 for details. | ||
messages = Array.from(messages); | ||
} | ||
var copy = deep_copy_1.deepCopy(messages); | ||
@@ -251,0 +257,0 @@ if (!validator.isNonEmptyArray(copy)) { |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -30,3 +30,3 @@ /*! | ||
var PROJECT_MANAGEMENT_HEADERS = { | ||
'X-Client-Version': 'Node/Admin/8.1.0', | ||
'X-Client-Version': 'Node/Admin/8.2.0', | ||
}; | ||
@@ -33,0 +33,0 @@ /** Project management request timeout duration in milliseconds. */ |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
@@ -1,2 +0,2 @@ | ||
/*! firebase-admin v8.1.0 */ | ||
/*! firebase-admin v8.2.0 */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ /*! |
{ | ||
"name": "firebase-admin", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"description": "Firebase admin SDK for Node.js", | ||
@@ -57,4 +57,4 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"dependencies": { | ||
"@firebase/app": "^0.3.4", | ||
"@firebase/database": "^0.3.6", | ||
"@firebase/app": "^0.4.4", | ||
"@firebase/database": "^0.4.4", | ||
"@types/node": "^8.0.53", | ||
@@ -70,3 +70,3 @@ "dicer": "^0.3.0", | ||
"devDependencies": { | ||
"@firebase/auth": "0.5.2", | ||
"@firebase/auth": "^0.11.3", | ||
"@types/bcrypt": "^2.0.0", | ||
@@ -73,0 +73,0 @@ "@types/chai": "^3.4.34", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
652377
13955
+ Added@firebase/app@0.4.26(transitive)
+ Added@firebase/app-types@0.4.9(transitive)
+ Added@firebase/component@0.1.0(transitive)
+ Added@firebase/database@0.4.12(transitive)
+ Added@firebase/database-types@0.4.2(transitive)
+ Added@firebase/logger@0.1.220.1.32(transitive)
+ Added@firebase/util@0.2.250.2.35(transitive)
+ Addedfaye-websocket@0.11.3(transitive)
+ Addedtslib@1.10.0(transitive)
- Removed@firebase/app@0.3.17(transitive)
- Removed@firebase/app-types@0.3.10(transitive)
- Removed@firebase/database@0.3.20(transitive)
- Removed@firebase/database-types@0.3.11(transitive)
- Removed@firebase/logger@0.1.13(transitive)
- Removed@firebase/util@0.2.14(transitive)
- Removedfaye-websocket@0.11.1(transitive)
- Removedtslib@1.9.3(transitive)
Updated@firebase/app@^0.4.4
Updated@firebase/database@^0.4.4