@firebase/database 0.13.1-canary.efe2000fc → 0.13.2-canary.1d3a34d7d

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.
@@ -5,7 +5,7 @@ import { __spreadArray, __read, __values, __extends, __awaiter, __generator, __a
5
5
  import { Logger, LogLevel } from '@firebase/logger';
6
6
 
7
7
  var name = "@firebase/database";
8
- var version = "0.13.1-canary.efe2000fc";
8
+ var version = "0.13.2-canary.1d3a34d7d";
9
9
 
10
10
  /**
11
11
  * @license
@@ -3296,7 +3296,6 @@ var VisibilityMonitor = /** @class */ (function (_super) {
3296
3296
  */
3297
3297
  var RECONNECT_MIN_DELAY = 1000;
3298
3298
  var RECONNECT_MAX_DELAY_DEFAULT = 60 * 5 * 1000; // 5 minutes in milliseconds (Case: 1858)
3299
- var GET_CONNECT_TIMEOUT = 3 * 1000;
3300
3299
  var RECONNECT_MAX_DELAY_FOR_ADMINS = 30 * 1000; // 30 seconds for admin clients (likely to be a backend server)
3301
3300
  var RECONNECT_DELAY_MULTIPLIER = 1.3;
3302
3301
  var RECONNECT_DELAY_RESET_TIMEOUT = 30000; // Reset delay back to MIN_DELAY after being connected for 30sec.
@@ -3375,7 +3374,6 @@ var PersistentConnection = /** @class */ (function (_super) {
3375
3374
  }
3376
3375
  };
3377
3376
  PersistentConnection.prototype.get = function (query) {
3378
- var _this = this;
3379
3377
  this.initConnection_();
3380
3378
  var deferred = new Deferred();
3381
3379
  var request = {
@@ -3398,21 +3396,6 @@ var PersistentConnection = /** @class */ (function (_super) {
3398
3396
  this.outstandingGets_.push(outstandingGet);
3399
3397
  this.outstandingGetCount_++;
3400
3398
  var index = this.outstandingGets_.length - 1;
3401
- if (!this.connected_) {
3402
- setTimeout(function () {
3403
- var get = _this.outstandingGets_[index];
3404
- if (get === undefined || outstandingGet !== get) {
3405
- return;
3406
- }
3407
- delete _this.outstandingGets_[index];
3408
- _this.outstandingGetCount_--;
3409
- if (_this.outstandingGetCount_ === 0) {
3410
- _this.outstandingGets_ = [];
3411
- }
3412
- _this.log_('get ' + index + ' timed out on connection');
3413
- deferred.reject(new Error('Client is offline.'));
3414
- }, GET_CONNECT_TIMEOUT);
3415
- }
3416
3399
  if (this.connected_) {
3417
3400
  this.sendGet_(index);
3418
3401
  }