@firebase/database 0.13.3-canary.691292b8d → 0.13.3-canary.e4eda86ea
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/dist/index.esm2017.js +5 -6
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +5 -6
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5 -6
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +4 -5
- package/dist/index.standalone.js.map +1 -1
- package/dist/internal.d.ts +4 -5
- package/dist/node-esm/index.node.esm.js +5 -6
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/api/Reference_impl.d.ts +4 -5
- package/dist/private.d.ts +4 -5
- package/dist/public.d.ts +4 -5
- package/dist/src/api/Reference_impl.d.ts +4 -5
- package/package.json +6 -6
|
@@ -842,12 +842,11 @@ export declare function onChildRemoved(query: Query, callback: (snapshot: DataSn
|
|
|
842
842
|
export declare function onChildRemoved(query: Query, callback: (snapshot: DataSnapshot) => unknown, cancelCallback: (error: Error) => unknown, options: ListenOptions): Unsubscribe;
|
|
843
843
|
export { EventType };
|
|
844
844
|
/**
|
|
845
|
-
* Detaches a callback previously attached with `on()
|
|
845
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
846
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
847
|
+
* the respective `on*` callbacks.
|
|
846
848
|
*
|
|
847
|
-
* Detach a callback previously attached with `on()`.
|
|
848
|
-
* called multiple times with the same eventType and callback, the callback
|
|
849
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
850
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
849
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
851
850
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
852
851
|
* must also be called on any child listeners to remove the callback.
|
|
853
852
|
*
|
package/dist/private.d.ts
CHANGED
|
@@ -1151,12 +1151,11 @@ declare interface NodeFilter_2 {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
/**
|
|
1154
|
-
* Detaches a callback previously attached with `on()
|
|
1154
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
1155
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
1156
|
+
* the respective `on*` callbacks.
|
|
1155
1157
|
*
|
|
1156
|
-
* Detach a callback previously attached with `on()`.
|
|
1157
|
-
* called multiple times with the same eventType and callback, the callback
|
|
1158
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
1159
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
1158
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
1160
1159
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
1161
1160
|
* must also be called on any child listeners to remove the callback.
|
|
1162
1161
|
*
|
package/dist/public.d.ts
CHANGED
|
@@ -403,12 +403,11 @@ export declare interface ListenOptions {
|
|
|
403
403
|
readonly onlyOnce?: boolean;
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
|
-
* Detaches a callback previously attached with `on()
|
|
406
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
407
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
408
|
+
* the respective `on*` callbacks.
|
|
407
409
|
*
|
|
408
|
-
* Detach a callback previously attached with `on()`.
|
|
409
|
-
* called multiple times with the same eventType and callback, the callback
|
|
410
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
411
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
410
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
412
411
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
413
412
|
* must also be called on any child listeners to remove the callback.
|
|
414
413
|
*
|
|
@@ -842,12 +842,11 @@ export declare function onChildRemoved(query: Query, callback: (snapshot: DataSn
|
|
|
842
842
|
export declare function onChildRemoved(query: Query, callback: (snapshot: DataSnapshot) => unknown, cancelCallback: (error: Error) => unknown, options: ListenOptions): Unsubscribe;
|
|
843
843
|
export { EventType };
|
|
844
844
|
/**
|
|
845
|
-
* Detaches a callback previously attached with `on()
|
|
845
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
846
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
847
|
+
* the respective `on*` callbacks.
|
|
846
848
|
*
|
|
847
|
-
* Detach a callback previously attached with `on()`.
|
|
848
|
-
* called multiple times with the same eventType and callback, the callback
|
|
849
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
850
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
849
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
851
850
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
852
851
|
* must also be called on any child listeners to remove the callback.
|
|
853
852
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/database",
|
|
3
|
-
"version": "0.13.3-canary.
|
|
3
|
+
"version": "0.13.3-canary.e4eda86ea",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"license": "Apache-2.0",
|
|
46
46
|
"peerDependencies": {},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@firebase/logger": "0.3.3-canary.
|
|
49
|
-
"@firebase/util": "1.6.3-canary.
|
|
50
|
-
"@firebase/component": "0.5.17-canary.
|
|
51
|
-
"@firebase/auth-interop-types": "0.1.6-canary.
|
|
48
|
+
"@firebase/logger": "0.3.3-canary.e4eda86ea",
|
|
49
|
+
"@firebase/util": "1.6.3-canary.e4eda86ea",
|
|
50
|
+
"@firebase/component": "0.5.17-canary.e4eda86ea",
|
|
51
|
+
"@firebase/auth-interop-types": "0.1.6-canary.e4eda86ea",
|
|
52
52
|
"faye-websocket": "0.11.4",
|
|
53
53
|
"tslib": "^2.1.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@firebase/app": "0.7.28-canary.
|
|
56
|
+
"@firebase/app": "0.7.28-canary.e4eda86ea",
|
|
57
57
|
"rollup": "2.72.1",
|
|
58
58
|
"rollup-plugin-typescript2": "0.31.2",
|
|
59
59
|
"typescript": "4.2.2"
|