@firebase/database 0.13.3-canary.f36d627af → 0.13.3-canary.f5426a512

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.
@@ -4,7 +4,7 @@ import { stringify, jsonEval, contains, assert, isNodeSdk, base64, stringToByteA
4
4
  import { Logger, LogLevel } from '@firebase/logger';
5
5
 
6
6
  const name = "@firebase/database";
7
- const version = "0.13.3-canary.f36d627af";
7
+ const version = "0.13.3-canary.f5426a512";
8
8
 
9
9
  /**
10
10
  * @license
@@ -13046,12 +13046,11 @@ function onChildRemoved(query, callback, cancelCallbackOrListenOptions, options)
13046
13046
  return addEventListener(query, 'child_removed', callback, cancelCallbackOrListenOptions, options);
13047
13047
  }
13048
13048
  /**
13049
- * Detaches a callback previously attached with `on()`.
13049
+ * Detaches a callback previously attached with the corresponding `on*()` (`onValue`, `onChildAdded`) listener.
13050
+ * Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from
13051
+ * the respective `on*` callbacks.
13050
13052
  *
13051
- * Detach a callback previously attached with `on()`. Note that if `on()` was
13052
- * called multiple times with the same eventType and callback, the callback
13053
- * will be called multiple times for each event, and `off()` must be called
13054
- * multiple times to remove the callback. Calling `off()` on a parent listener
13053
+ * Detach a callback previously attached with `on*()`. Calling `off()` on a parent listener
13055
13054
  * will not automatically remove listeners registered on child nodes, `off()`
13056
13055
  * must also be called on any child listeners to remove the callback.
13057
13056
  *