@firebase/database 0.13.3-canary.39f4635eb → 0.13.3-canary.572e111e3
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 +7 -6
- 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 +7 -6
- package/dist/private.d.ts +7 -6
- package/dist/public.d.ts +7 -6
- package/dist/src/api/Reference_impl.d.ts +7 -6
- package/package.json +6 -6
package/dist/internal.d.ts
CHANGED
|
@@ -338,7 +338,9 @@ export declare class DataSnapshot {
|
|
|
338
338
|
* @returns true if enumeration was canceled due to your callback returning
|
|
339
339
|
* true.
|
|
340
340
|
*/
|
|
341
|
-
forEach(action: (child: DataSnapshot
|
|
341
|
+
forEach(action: (child: DataSnapshot & {
|
|
342
|
+
key: string;
|
|
343
|
+
}) => boolean | void): boolean;
|
|
342
344
|
/**
|
|
343
345
|
* Returns true if the specified child path has (non-null) data.
|
|
344
346
|
*
|
|
@@ -1150,12 +1152,11 @@ declare interface NodeFilter_2 {
|
|
|
1150
1152
|
}
|
|
1151
1153
|
|
|
1152
1154
|
/**
|
|
1153
|
-
* Detaches a callback previously attached with `on()
|
|
1155
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
1156
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
1157
|
+
* the respective `on*` callbacks.
|
|
1154
1158
|
*
|
|
1155
|
-
* Detach a callback previously attached with `on()`.
|
|
1156
|
-
* called multiple times with the same eventType and callback, the callback
|
|
1157
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
1158
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
1159
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
1159
1160
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
1160
1161
|
* must also be called on any child listeners to remove the callback.
|
|
1161
1162
|
*
|
|
@@ -1241,7 +1241,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
|
|
|
1241
1241
|
WebSocketConnection.healthyTimeout = 30000;
|
|
1242
1242
|
|
|
1243
1243
|
const name = "@firebase/database";
|
|
1244
|
-
const version = "0.13.3-canary.
|
|
1244
|
+
const version = "0.13.3-canary.572e111e3";
|
|
1245
1245
|
|
|
1246
1246
|
/**
|
|
1247
1247
|
* @license
|
|
@@ -13050,12 +13050,11 @@ function onChildRemoved(query, callback, cancelCallbackOrListenOptions, options)
|
|
|
13050
13050
|
return addEventListener(query, 'child_removed', callback, cancelCallbackOrListenOptions, options);
|
|
13051
13051
|
}
|
|
13052
13052
|
/**
|
|
13053
|
-
* Detaches a callback previously attached with `on()
|
|
13053
|
+
* Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
|
|
13054
|
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
|
|
13055
|
+
* the respective `on*` callbacks.
|
|
13054
13056
|
*
|
|
13055
|
-
* Detach a callback previously attached with `on()`.
|
|
13056
|
-
* called multiple times with the same eventType and callback, the callback
|
|
13057
|
-
* will be called multiple times for each event, and `off()` must be called
|
|
13058
|
-
* multiple times to remove the callback. Calling `off()` on a parent listener
|
|
13057
|
+
* Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
|
|
13059
13058
|
* will not automatically remove listeners registered on child nodes, `off()`
|
|
13060
13059
|
* must also be called on any child listeners to remove the callback.
|
|
13061
13060
|
*
|