@firebase/database 1.0.14-auth-redirect-credentials.b424e5897 → 1.0.14-canary.0e2558a96
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/dist/index.cjs.js +3 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +3 -13
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +3 -13
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +2 -12
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +3 -13
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +7 -7
package/dist/index.node.cjs.js
CHANGED
|
@@ -1260,7 +1260,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
|
|
|
1260
1260
|
WebSocketConnection.healthyTimeout = 30000;
|
|
1261
1261
|
|
|
1262
1262
|
const name = "@firebase/database";
|
|
1263
|
-
const version = "1.0.14-
|
|
1263
|
+
const version = "1.0.14-canary.0e2558a96";
|
|
1264
1264
|
|
|
1265
1265
|
/**
|
|
1266
1266
|
* @license
|
|
@@ -13500,18 +13500,8 @@ let useRestClient = false;
|
|
|
13500
13500
|
* Update an existing `Repo` in place to point to a new host/port.
|
|
13501
13501
|
*/
|
|
13502
13502
|
function repoManagerApplyEmulatorSettings(repo, hostAndPort, emulatorOptions, tokenProvider) {
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
if (/^https:\/\//.test(host)) {
|
|
13506
|
-
ssl = true;
|
|
13507
|
-
host = host.substring(8);
|
|
13508
|
-
}
|
|
13509
|
-
if (/^wss:\/\//.test(host)) {
|
|
13510
|
-
ssl = true;
|
|
13511
|
-
host = host.substring(6);
|
|
13512
|
-
}
|
|
13513
|
-
repo.repoInfo_ = new RepoInfo(host,
|
|
13514
|
-
/* secure= */ ssl, repo.repoInfo_.namespace, repo.repoInfo_.webSocketOnly, repo.repoInfo_.nodeAdmin, repo.repoInfo_.persistenceKey, repo.repoInfo_.includeNamespaceInQueryParams,
|
|
13503
|
+
repo.repoInfo_ = new RepoInfo(hostAndPort,
|
|
13504
|
+
/* secure= */ false, repo.repoInfo_.namespace, repo.repoInfo_.webSocketOnly, repo.repoInfo_.nodeAdmin, repo.repoInfo_.persistenceKey, repo.repoInfo_.includeNamespaceInQueryParams,
|
|
13515
13505
|
/*isUsingEmulator=*/ true, emulatorOptions);
|
|
13516
13506
|
if (tokenProvider) {
|
|
13517
13507
|
repo.authTokenProvider_ = tokenProvider;
|