@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.standalone.js
CHANGED
|
@@ -12260,7 +12260,7 @@ var parseRepoInfo = function (dataURL, nodeAdmin) {
|
|
|
12260
12260
|
}
|
|
12261
12261
|
var webSocketOnly = parsedUrl.scheme === 'ws' || parsedUrl.scheme === 'wss';
|
|
12262
12262
|
return {
|
|
12263
|
-
repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace,
|
|
12263
|
+
repoInfo: new RepoInfo(parsedUrl.host, parsedUrl.secure, namespace, webSocketOnly, nodeAdmin,
|
|
12264
12264
|
/*persistenceKey=*/ '',
|
|
12265
12265
|
/*includeNamespaceInQueryParams=*/ namespace !== parsedUrl.subdomain),
|
|
12266
12266
|
path: new Path(parsedUrl.pathString)
|
|
@@ -14011,7 +14011,7 @@ function repoManagerDatabaseFromApp(app, authProvider, appCheckProvider, url, no
|
|
|
14011
14011
|
var repoInfo = parsedUrl.repoInfo;
|
|
14012
14012
|
var isEmulator;
|
|
14013
14013
|
var dbEmulatorHost = undefined;
|
|
14014
|
-
if (typeof process !== 'undefined') {
|
|
14014
|
+
if (typeof process !== 'undefined' && process.env) {
|
|
14015
14015
|
dbEmulatorHost = process.env[FIREBASE_DATABASE_EMULATOR_HOST_VAR];
|
|
14016
14016
|
}
|
|
14017
14017
|
if (dbEmulatorHost) {
|