@firebase/database 0.12.7 → 0.12.8-canary.44948ac91
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 +3 -3
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3 -3
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +3 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +2 -2
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +3 -3
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/test/parser.test.d.ts +17 -0
- package/dist/test/parser.test.d.ts +17 -0
- package/package.json +6 -6
package/dist/index.node.cjs.js
CHANGED
|
@@ -1294,7 +1294,7 @@ var WebSocketConnection = /** @class */ (function () {
|
|
|
1294
1294
|
}());
|
|
1295
1295
|
|
|
1296
1296
|
var name = "@firebase/database";
|
|
1297
|
-
var version = "0.12.
|
|
1297
|
+
var version = "0.12.8-canary.44948ac91";
|
|
1298
1298
|
|
|
1299
1299
|
/**
|
|
1300
1300
|
* @license
|
|
@@ -12265,7 +12265,7 @@ var parseRepoInfo = function (dataURL, nodeAdmin) {
|
|
|
12265
12265
|
}
|
|
12266
12266
|
var webSocketOnly = parsedUrl.scheme === 'ws' || parsedUrl.scheme === 'wss';
|
|
12267
12267
|
return {
|
|
12268
|
-
repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace,
|
|
12268
|
+
repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, webSocketOnly, nodeAdmin,
|
|
12269
12269
|
/*persistenceKey=*/ '',
|
|
12270
12270
|
/*includeNamespaceInQueryParams=*/ namespace !== parsedUrl.subdomain),
|
|
12271
12271
|
path: new Path(parsedUrl.pathString)
|
|
@@ -14016,7 +14016,7 @@ function repoManagerDatabaseFromApp(app, authProvider, appCheckProvider, url, no
|
|
|
14016
14016
|
var repoInfo = parsedUrl.repoInfo;
|
|
14017
14017
|
var isEmulator;
|
|
14018
14018
|
var dbEmulatorHost = undefined;
|
|
14019
|
-
if (typeof process !== 'undefined') {
|
|
14019
|
+
if (typeof process !== 'undefined' && process.env) {
|
|
14020
14020
|
dbEmulatorHost = process.env[FIREBASE_DATABASE_EMULATOR_HOST_VAR];
|
|
14021
14021
|
}
|
|
14022
14022
|
if (dbEmulatorHost) {
|