@firebase/database-compat 0.2.3-canary.691292b8d → 0.2.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.
@@ -5,7 +5,7 @@ import { errorPrefix, validateArgCount, validateCallback, validateContextObject,
5
5
  import { Logger } from '@firebase/logger';
6
6
 
7
7
  const name = "@firebase/database-compat";
8
- const version = "0.2.3-canary.691292b8d";
8
+ const version = "0.2.3-canary.e4eda86ea";
9
9
 
10
10
  /**
11
11
  * @license
@@ -6,7 +6,7 @@ import { __extends } from 'tslib';
6
6
  import { Logger } from '@firebase/logger';
7
7
 
8
8
  var name = "@firebase/database-compat";
9
- var version = "0.2.3-canary.691292b8d";
9
+ var version = "0.2.3-canary.e4eda86ea";
10
10
 
11
11
  /**
12
12
  * @license
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
13
13
 
14
14
  var name = "@firebase/database-compat";
15
- var version = "0.2.3-canary.691292b8d";
15
+ var version = "0.2.3-canary.e4eda86ea";
16
16
 
17
17
  /**
18
18
  * @license
@@ -16813,12 +16813,11 @@ function onChildRemoved(query, callback, cancelCallbackOrListenOptions, options)
16813
16813
  return addEventListener(query, 'child_removed', callback, cancelCallbackOrListenOptions, options);
16814
16814
  }
16815
16815
  /**
16816
- * Detaches a callback previously attached with `on()`.
16816
+ * Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
16817
+ * Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
16818
+ * the respective `on*` callbacks.
16817
16819
  *
16818
- * Detach a callback previously attached with `on()`. Note that if `on()` was
16819
- * called multiple times with the same eventType and callback, the callback
16820
- * will be called multiple times for each event, and `off()` must be called
16821
- * multiple times to remove the callback. Calling `off()` on a parent listener
16820
+ * Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
16822
16821
  * will not automatically remove listeners registered on child nodes, `off()`
16823
16822
  * must also be called on any child listeners to remove the callback.
16824
16823
  *