@firebase/database 0.13.6 → 0.13.7-canary.03d1fabcb
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/CHANGELOG.md +10 -0
- package/dist/index.esm2017.js +12 -7
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +12 -23
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +11 -22
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +4 -20
- package/dist/index.standalone.js.map +1 -1
- package/dist/internal.d.ts +4 -4
- package/dist/node-esm/index.node.esm.js +12 -7
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/api/Reference_impl.d.ts +4 -4
- package/dist/private.d.ts +4 -4
- package/dist/public.d.ts +4 -4
- package/dist/src/api/Reference_impl.d.ts +4 -4
- package/package.json +6 -6
package/dist/index.node.cjs.js
CHANGED
|
@@ -1298,7 +1298,7 @@ var WebSocketConnection = /** @class */ (function () {
|
|
|
1298
1298
|
}());
|
|
1299
1299
|
|
|
1300
1300
|
var name = "@firebase/database";
|
|
1301
|
-
var version = "0.13.
|
|
1301
|
+
var version = "0.13.7-canary.03d1fabcb";
|
|
1302
1302
|
|
|
1303
1303
|
/**
|
|
1304
1304
|
* @license
|
|
@@ -13120,8 +13120,8 @@ function onDisconnect(ref) {
|
|
|
13120
13120
|
* resulting list of items is chronologically sorted. The keys are also
|
|
13121
13121
|
* designed to be unguessable (they contain 72 random bits of entropy).
|
|
13122
13122
|
*
|
|
13123
|
-
* See {@link https://firebase.google.com/docs/database/web/lists-of-data#append_to_a_list_of_data | Append to a list of data}
|
|
13124
|
-
*
|
|
13123
|
+
* See {@link https://firebase.google.com/docs/database/web/lists-of-data#append_to_a_list_of_data | Append to a list of data}.
|
|
13124
|
+
* See {@link https://firebase.googleblog.com/2015/02/the-2120-ways-to-ensure-unique_68.html | The 2^120 Ways to Ensure Unique Identifiers}.
|
|
13125
13125
|
*
|
|
13126
13126
|
* @param parent - The parent location.
|
|
13127
13127
|
* @param value - Optional value to be written at the generated location.
|
|
@@ -13586,8 +13586,8 @@ var QueryEndBeforeConstraint = /** @class */ (function (_super) {
|
|
|
13586
13586
|
*
|
|
13587
13587
|
* The ending point is exclusive. If only a value is provided, children
|
|
13588
13588
|
* with a value less than the specified value will be included in the query.
|
|
13589
|
-
* If a key is specified, then children must have a value
|
|
13590
|
-
* to the specified value and a
|
|
13589
|
+
* If a key is specified, then children must have a value less than or equal
|
|
13590
|
+
* to the specified value and a key name less than the specified key.
|
|
13591
13591
|
*
|
|
13592
13592
|
* @param value - The value to end before. The argument type depends on which
|
|
13593
13593
|
* `orderBy*()` function was used in this query. Specify a value that matches
|
|
@@ -13988,22 +13988,6 @@ function query(query) {
|
|
|
13988
13988
|
syncPointSetReferenceConstructor(ReferenceImpl);
|
|
13989
13989
|
syncTreeSetReferenceConstructor(ReferenceImpl);
|
|
13990
13990
|
|
|
13991
|
-
/**
|
|
13992
|
-
* @license
|
|
13993
|
-
* Copyright 2020 Google LLC
|
|
13994
|
-
*
|
|
13995
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13996
|
-
* you may not use this file except in compliance with the License.
|
|
13997
|
-
* You may obtain a copy of the License at
|
|
13998
|
-
*
|
|
13999
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14000
|
-
*
|
|
14001
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14002
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14003
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14004
|
-
* See the License for the specific language governing permissions and
|
|
14005
|
-
* limitations under the License.
|
|
14006
|
-
*/
|
|
14007
13991
|
/**
|
|
14008
13992
|
* This variable is also defined in the firebase Node.js Admin SDK. Before
|
|
14009
13993
|
* modifying this definition, consult the definition in:
|
|
@@ -14197,9 +14181,14 @@ function forceLongPolling() {
|
|
|
14197
14181
|
*/
|
|
14198
14182
|
function getDatabase(app$1, url) {
|
|
14199
14183
|
if (app$1 === void 0) { app$1 = app.getApp(); }
|
|
14200
|
-
|
|
14184
|
+
var db = app._getProvider(app$1, 'database').getImmediate({
|
|
14201
14185
|
identifier: url
|
|
14202
14186
|
});
|
|
14187
|
+
var emulator = util.getDefaultEmulatorHostnameAndPort('database');
|
|
14188
|
+
if (emulator) {
|
|
14189
|
+
connectDatabaseEmulator.apply(void 0, tslib.__spreadArray([db], tslib.__read(emulator)));
|
|
14190
|
+
}
|
|
14191
|
+
return db;
|
|
14203
14192
|
}
|
|
14204
14193
|
/**
|
|
14205
14194
|
* Modify the provided instance to communicate with the Realtime Database
|