firebase 9.9.0 → 9.9.1
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/CHANGELOG.md +12 -0
- package/app/dist/index.cjs.js +1 -1
- package/app/dist/index.esm.js +1 -1
- package/app/dist/index.mjs +1 -1
- package/compat/app/dist/index.cjs.js +1 -1
- package/compat/app/dist/index.esm.js +1 -1
- package/compat/app/dist/index.mjs +1 -1
- package/compat/dist/index.esm.js +2 -2
- package/compat/dist/index.node.cjs +2 -2
- package/compat/dist/index.rn.cjs.js +2 -2
- package/firebase-analytics.js +3 -3
- package/firebase-app-check-compat.js +1 -1
- package/firebase-app-check-compat.js.map +1 -1
- package/firebase-app-check.js +11 -11
- package/firebase-app-check.js.map +1 -1
- package/firebase-app-compat.js +2 -2
- package/firebase-app.js +9 -9
- package/firebase-auth-cordova.js +1 -1
- package/firebase-auth-react-native.js +1 -1
- package/firebase-auth.js +2 -2
- package/firebase-compat.js +3 -3
- package/firebase-compat.js.map +1 -1
- package/firebase-database-compat.js.map +1 -1
- package/firebase-database.js +8 -9
- package/firebase-database.js.map +1 -1
- package/firebase-firestore-compat.js +1 -1
- package/firebase-firestore-compat.js.map +1 -1
- package/firebase-firestore-lite.js +7 -7
- package/firebase-firestore-lite.js.map +1 -1
- package/firebase-firestore.js +8 -8
- package/firebase-firestore.js.map +1 -1
- package/firebase-functions.js +2 -2
- package/firebase-installations.js +3 -3
- package/firebase-messaging-sw.js +1 -1
- package/firebase-messaging.js +1 -1
- package/firebase-performance-standalone-compat.es2017.js +5 -5
- package/firebase-performance-standalone-compat.js +1 -1
- package/firebase-performance.js +3 -3
- package/firebase-remote-config.js +2 -2
- package/firebase-storage.js +1 -1
- package/package.json +7 -7
package/firebase-database.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getApp, _getProvider, _registerComponent, registerVersion, SDK_VERSION as SDK_VERSION$1 } from 'https://www.gstatic.com/firebasejs/9.9.
|
|
1
|
+
import { getApp, _getProvider, _registerComponent, registerVersion, SDK_VERSION as SDK_VERSION$1 } from 'https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -14358,12 +14358,11 @@ function onChildRemoved(query, callback, cancelCallbackOrListenOptions, options)
|
|
|
14358
14358
|
return addEventListener(query, 'child_removed', callback, cancelCallbackOrListenOptions, options);
|
|
14359
14359
|
}
|
|
14360
14360
|
/**
|
|
14361
|
-
* Detaches a callback previously attached with `on()
|
|
14361
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
14362
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
14363
|
+
* the respective `on*` callbacks.
|
|
14362
14364
|
*
|
|
14363
|
-
* Detach a callback previously attached with `on()`.
|
|
14364
|
-
* called multiple times with the same eventType and callback, the callback
|
|
14365
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
14366
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
14365
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
14367
14366
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
14368
14367
|
* must also be called on any child listeners to remove the callback.
|
|
14369
14368
|
*
|
|
@@ -14958,7 +14957,7 @@ function repoManagerForceRestClient(forceRestClient) {
|
|
|
14958
14957
|
class Database {
|
|
14959
14958
|
/** @hideconstructor */
|
|
14960
14959
|
constructor(_repoInternal,
|
|
14961
|
-
/** The {@link https://www.gstatic.com/firebasejs/9.9.
|
|
14960
|
+
/** The {@link https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js#FirebaseApp} associated with this Realtime Database instance. */
|
|
14962
14961
|
app) {
|
|
14963
14962
|
this._repoInternal = _repoInternal;
|
|
14964
14963
|
this.app = app;
|
|
@@ -15016,11 +15015,11 @@ function forceLongPolling() {
|
|
|
15016
15015
|
}
|
|
15017
15016
|
/**
|
|
15018
15017
|
* Returns the instance of the Realtime Database SDK that is associated
|
|
15019
|
-
* with the provided {@link https://www.gstatic.com/firebasejs/9.9.
|
|
15018
|
+
* with the provided {@link https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js#FirebaseApp}. Initializes a new instance with
|
|
15020
15019
|
* with default settings if no instance exists or if the existing instance uses
|
|
15021
15020
|
* a custom database URL.
|
|
15022
15021
|
*
|
|
15023
|
-
* @param app - The {@link https://www.gstatic.com/firebasejs/9.9.
|
|
15022
|
+
* @param app - The {@link https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js#FirebaseApp} instance that the returned Realtime
|
|
15024
15023
|
* Database instance is associated with.
|
|
15025
15024
|
* @param url - The URL of the Realtime Database instance to connect to. If not
|
|
15026
15025
|
* provided, the SDK connects to the default instance of the Firebase App.
|