@firebase/database 1.0.6 → 1.0.7-canary.b4c5ef3c3

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.
@@ -62,10 +62,9 @@ export declare function forceWebSockets(): void;
62
62
  */
63
63
  export declare function forceLongPolling(): void;
64
64
  /**
65
- * Returns the instance of the Realtime Database SDK that is associated
66
- * with the provided {@link @firebase/app#FirebaseApp}. Initializes a new instance with
67
- * with default settings if no instance exists or if the existing instance uses
68
- * a custom database URL.
65
+ * Returns the instance of the Realtime Database SDK that is associated with the provided
66
+ * {@link @firebase/app#FirebaseApp}. Initializes a new instance with default settings if
67
+ * no instance exists or if the existing instance uses a custom database URL.
69
68
  *
70
69
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned Realtime
71
70
  * Database instance is associated with.
@@ -22,7 +22,7 @@ import { Path } from './util/Path';
22
22
  import { CacheNode } from './view/CacheNode';
23
23
  /**
24
24
  * Defines a single user-initiated write operation. May be the result of a set(), transaction(), or update() call. In
25
- * the case of a set() or transaction, snap wil be non-null. In the case of an update(), children will be non-null.
25
+ * the case of a set() or transaction, snap will be non-null. In the case of an update(), children will be non-null.
26
26
  */
27
27
  export interface WriteRecord {
28
28
  writeId: number;
@@ -63,7 +63,7 @@ export declare function treeSetValue<T>(tree: Tree<T>, value: T | undefined): vo
63
63
  */
64
64
  export declare function treeHasChildren<T>(tree: Tree<T>): boolean;
65
65
  /**
66
- * @returns Whethe rthe tree is empty (no value or children).
66
+ * @returns Whether the tree is empty (no value or children).
67
67
  */
68
68
  export declare function treeIsEmpty<T>(tree: Tree<T>): boolean;
69
69
  /**
@@ -110,7 +110,7 @@ export declare const isChromeExtensionContentScript: () => boolean;
110
110
  */
111
111
  export declare const isWindowsStoreApp: () => boolean;
112
112
  /**
113
- * Converts a server error code to a Javascript Error
113
+ * Converts a server error code to a JavaScript Error
114
114
  */
115
115
  export declare function errorForServerCode(code: string, query: QueryContext): Error;
116
116
  /**
@@ -122,7 +122,7 @@ export declare const INTEGER_REGEXP_: RegExp;
122
122
  */
123
123
  export declare const INTEGER_32_MIN = -2147483648;
124
124
  /**
125
- * For use in kyes, the maximum possible 32-bit integer.
125
+ * For use in keys, the maximum possible 32-bit integer.
126
126
  */
127
127
  export declare const INTEGER_32_MAX = 2147483647;
128
128
  /**
@@ -147,7 +147,7 @@ export declare class FirebaseIFrameScriptHolder {
147
147
  commandCB: (command: string, ...args: unknown[]) => void;
148
148
  onMessageCB: (...args: unknown[]) => void;
149
149
  /**
150
- * @param commandCB - The callback to be called when control commands are recevied from the server.
150
+ * @param commandCB - The callback to be called when control commands are received from the server.
151
151
  * @param onMessageCB - The callback to be triggered when responses arrive from the server.
152
152
  * @param onDisconnect - The callback to be triggered when this tag holder is closed
153
153
  * @param urlFn - A function that provides the URL of the endpoint to send data to.
package/dist/private.d.ts CHANGED
@@ -577,10 +577,9 @@ export declare function forceWebSockets(): void;
577
577
  export declare function get(query: Query): Promise<DataSnapshot>;
578
578
 
579
579
  /**
580
- * Returns the instance of the Realtime Database SDK that is associated
581
- * with the provided {@link @firebase/app#FirebaseApp}. Initializes a new instance with
582
- * with default settings if no instance exists or if the existing instance uses
583
- * a custom database URL.
580
+ * Returns the instance of the Realtime Database SDK that is associated with the provided
581
+ * {@link @firebase/app#FirebaseApp}. Initializes a new instance with default settings if
582
+ * no instance exists or if the existing instance uses a custom database URL.
584
583
  *
585
584
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned Realtime
586
585
  * Database instance is associated with.
@@ -2827,7 +2826,7 @@ declare interface ViewProcessor {
2827
2826
 
2828
2827
  /**
2829
2828
  * Defines a single user-initiated write operation. May be the result of a set(), transaction(), or update() call. In
2830
- * the case of a set() or transaction, snap wil be non-null. In the case of an update(), children will be non-null.
2829
+ * the case of a set() or transaction, snap will be non-null. In the case of an update(), children will be non-null.
2831
2830
  */
2832
2831
  declare interface WriteRecord {
2833
2832
  writeId: number;
package/dist/public.d.ts CHANGED
@@ -305,10 +305,9 @@ export declare function forceWebSockets(): void;
305
305
  */
306
306
  export declare function get(query: Query): Promise<DataSnapshot>;
307
307
  /**
308
- * Returns the instance of the Realtime Database SDK that is associated
309
- * with the provided {@link @firebase/app#FirebaseApp}. Initializes a new instance with
310
- * with default settings if no instance exists or if the existing instance uses
311
- * a custom database URL.
308
+ * Returns the instance of the Realtime Database SDK that is associated with the provided
309
+ * {@link @firebase/app#FirebaseApp}. Initializes a new instance with default settings if
310
+ * no instance exists or if the existing instance uses a custom database URL.
312
311
  *
313
312
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned Realtime
314
313
  * Database instance is associated with.
@@ -62,10 +62,9 @@ export declare function forceWebSockets(): void;
62
62
  */
63
63
  export declare function forceLongPolling(): void;
64
64
  /**
65
- * Returns the instance of the Realtime Database SDK that is associated
66
- * with the provided {@link @firebase/app#FirebaseApp}. Initializes a new instance with
67
- * with default settings if no instance exists or if the existing instance uses
68
- * a custom database URL.
65
+ * Returns the instance of the Realtime Database SDK that is associated with the provided
66
+ * {@link @firebase/app#FirebaseApp}. Initializes a new instance with default settings if
67
+ * no instance exists or if the existing instance uses a custom database URL.
69
68
  *
70
69
  * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned Realtime
71
70
  * Database instance is associated with.
@@ -22,7 +22,7 @@ import { Path } from './util/Path';
22
22
  import { CacheNode } from './view/CacheNode';
23
23
  /**
24
24
  * Defines a single user-initiated write operation. May be the result of a set(), transaction(), or update() call. In
25
- * the case of a set() or transaction, snap wil be non-null. In the case of an update(), children will be non-null.
25
+ * the case of a set() or transaction, snap will be non-null. In the case of an update(), children will be non-null.
26
26
  */
27
27
  export interface WriteRecord {
28
28
  writeId: number;
@@ -63,7 +63,7 @@ export declare function treeSetValue<T>(tree: Tree<T>, value: T | undefined): vo
63
63
  */
64
64
  export declare function treeHasChildren<T>(tree: Tree<T>): boolean;
65
65
  /**
66
- * @returns Whethe rthe tree is empty (no value or children).
66
+ * @returns Whether the tree is empty (no value or children).
67
67
  */
68
68
  export declare function treeIsEmpty<T>(tree: Tree<T>): boolean;
69
69
  /**
@@ -110,7 +110,7 @@ export declare const isChromeExtensionContentScript: () => boolean;
110
110
  */
111
111
  export declare const isWindowsStoreApp: () => boolean;
112
112
  /**
113
- * Converts a server error code to a Javascript Error
113
+ * Converts a server error code to a JavaScript Error
114
114
  */
115
115
  export declare function errorForServerCode(code: string, query: QueryContext): Error;
116
116
  /**
@@ -122,7 +122,7 @@ export declare const INTEGER_REGEXP_: RegExp;
122
122
  */
123
123
  export declare const INTEGER_32_MIN = -2147483648;
124
124
  /**
125
- * For use in kyes, the maximum possible 32-bit integer.
125
+ * For use in keys, the maximum possible 32-bit integer.
126
126
  */
127
127
  export declare const INTEGER_32_MAX = 2147483647;
128
128
  /**
@@ -147,7 +147,7 @@ export declare class FirebaseIFrameScriptHolder {
147
147
  commandCB: (command: string, ...args: unknown[]) => void;
148
148
  onMessageCB: (...args: unknown[]) => void;
149
149
  /**
150
- * @param commandCB - The callback to be called when control commands are recevied from the server.
150
+ * @param commandCB - The callback to be called when control commands are received from the server.
151
151
  * @param onMessageCB - The callback to be triggered when responses arrive from the server.
152
152
  * @param onDisconnect - The callback to be triggered when this tag holder is closed
153
153
  * @param urlFn - A function that provides the URL of the endpoint to send data to.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/database",
3
- "version": "1.0.6",
3
+ "version": "1.0.7-canary.b4c5ef3c3",
4
4
  "description": "",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.node.cjs.js",
@@ -50,16 +50,16 @@
50
50
  "license": "Apache-2.0",
51
51
  "peerDependencies": {},
52
52
  "dependencies": {
53
- "@firebase/logger": "0.4.2",
54
- "@firebase/util": "1.9.7",
55
- "@firebase/component": "0.6.8",
56
- "@firebase/app-check-interop-types": "0.3.2",
57
- "@firebase/auth-interop-types": "0.2.3",
53
+ "@firebase/logger": "0.4.2-canary.b4c5ef3c3",
54
+ "@firebase/util": "1.9.7-canary.b4c5ef3c3",
55
+ "@firebase/component": "0.6.8-canary.b4c5ef3c3",
56
+ "@firebase/app-check-interop-types": "0.3.2-canary.b4c5ef3c3",
57
+ "@firebase/auth-interop-types": "0.2.3-canary.b4c5ef3c3",
58
58
  "faye-websocket": "0.11.4",
59
59
  "tslib": "^2.1.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@firebase/app": "0.10.6",
62
+ "@firebase/app": "0.10.8-canary.b4c5ef3c3",
63
63
  "rollup": "2.79.1",
64
64
  "rollup-plugin-typescript2": "0.31.2",
65
65
  "typescript": "4.7.4"