@firebase/database-compat 1.0.2-canary.bcf70a842 → 1.0.2-canary.bf59c0aed

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 { errorPrefix, validateArgCount, validateCallback, validateContextObject,
5
5
  import { Logger } from '@firebase/logger';
6
6
 
7
7
  const name = "@firebase/database-compat";
8
- const version = "1.0.2-canary.bcf70a842";
8
+ const version = "1.0.2-canary.bf59c0aed";
9
9
 
10
10
  /**
11
11
  * @license
@@ -6,7 +6,7 @@ import { __extends } from 'tslib';
6
6
  import { Logger } from '@firebase/logger';
7
7
 
8
8
  var name = "@firebase/database-compat";
9
- var version = "1.0.2-canary.bcf70a842";
9
+ var version = "1.0.2-canary.bf59c0aed";
10
10
 
11
11
  /**
12
12
  * @license
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
13
13
 
14
14
  var name = "@firebase/database-compat";
15
- var version = "1.0.2-canary.bcf70a842";
15
+ var version = "1.0.2-canary.bf59c0aed";
16
16
 
17
17
  /**
18
18
  * @license
@@ -16783,6 +16783,7 @@ var QueryEndAtConstraint = /** @class */ (function (_super) {
16783
16783
  var _this = _super.call(this) || this;
16784
16784
  _this._value = _value;
16785
16785
  _this._key = _key;
16786
+ _this.type = 'endAt';
16786
16787
  return _this;
16787
16788
  }
16788
16789
  QueryEndAtConstraint.prototype._apply = function (query) {
@@ -16831,6 +16832,7 @@ var QueryEndBeforeConstraint = /** @class */ (function (_super) {
16831
16832
  var _this = _super.call(this) || this;
16832
16833
  _this._value = _value;
16833
16834
  _this._key = _key;
16835
+ _this.type = 'endBefore';
16834
16836
  return _this;
16835
16837
  }
16836
16838
  QueryEndBeforeConstraint.prototype._apply = function (query) {
@@ -16875,6 +16877,7 @@ var QueryStartAtConstraint = /** @class */ (function (_super) {
16875
16877
  var _this = _super.call(this) || this;
16876
16878
  _this._value = _value;
16877
16879
  _this._key = _key;
16880
+ _this.type = 'startAt';
16878
16881
  return _this;
16879
16882
  }
16880
16883
  QueryStartAtConstraint.prototype._apply = function (query) {
@@ -16923,6 +16926,7 @@ var QueryStartAfterConstraint = /** @class */ (function (_super) {
16923
16926
  var _this = _super.call(this) || this;
16924
16927
  _this._value = _value;
16925
16928
  _this._key = _key;
16929
+ _this.type = 'startAfter';
16926
16930
  return _this;
16927
16931
  }
16928
16932
  QueryStartAfterConstraint.prototype._apply = function (query) {
@@ -16965,6 +16969,7 @@ var QueryLimitToFirstConstraint = /** @class */ (function (_super) {
16965
16969
  function QueryLimitToFirstConstraint(_limit) {
16966
16970
  var _this = _super.call(this) || this;
16967
16971
  _this._limit = _limit;
16972
+ _this.type = 'limitToFirst';
16968
16973
  return _this;
16969
16974
  }
16970
16975
  QueryLimitToFirstConstraint.prototype._apply = function (query) {
@@ -17005,6 +17010,7 @@ var QueryLimitToLastConstraint = /** @class */ (function (_super) {
17005
17010
  function QueryLimitToLastConstraint(_limit) {
17006
17011
  var _this = _super.call(this) || this;
17007
17012
  _this._limit = _limit;
17013
+ _this.type = 'limitToLast';
17008
17014
  return _this;
17009
17015
  }
17010
17016
  QueryLimitToLastConstraint.prototype._apply = function (query) {
@@ -17045,6 +17051,7 @@ var QueryOrderByChildConstraint = /** @class */ (function (_super) {
17045
17051
  function QueryOrderByChildConstraint(_path) {
17046
17052
  var _this = _super.call(this) || this;
17047
17053
  _this._path = _path;
17054
+ _this.type = 'orderByChild';
17048
17055
  return _this;
17049
17056
  }
17050
17057
  QueryOrderByChildConstraint.prototype._apply = function (query) {
@@ -17094,7 +17101,9 @@ function orderByChild(path) {
17094
17101
  var QueryOrderByKeyConstraint = /** @class */ (function (_super) {
17095
17102
  tslib.__extends(QueryOrderByKeyConstraint, _super);
17096
17103
  function QueryOrderByKeyConstraint() {
17097
- return _super !== null && _super.apply(this, arguments) || this;
17104
+ var _this = _super !== null && _super.apply(this, arguments) || this;
17105
+ _this.type = 'orderByKey';
17106
+ return _this;
17098
17107
  }
17099
17108
  QueryOrderByKeyConstraint.prototype._apply = function (query) {
17100
17109
  validateNoPreviousOrderByCall(query, 'orderByKey');
@@ -17119,7 +17128,9 @@ function orderByKey() {
17119
17128
  var QueryOrderByPriorityConstraint = /** @class */ (function (_super) {
17120
17129
  tslib.__extends(QueryOrderByPriorityConstraint, _super);
17121
17130
  function QueryOrderByPriorityConstraint() {
17122
- return _super !== null && _super.apply(this, arguments) || this;
17131
+ var _this = _super !== null && _super.apply(this, arguments) || this;
17132
+ _this.type = 'orderByPriority';
17133
+ return _this;
17123
17134
  }
17124
17135
  QueryOrderByPriorityConstraint.prototype._apply = function (query) {
17125
17136
  validateNoPreviousOrderByCall(query, 'orderByPriority');
@@ -17144,7 +17155,9 @@ function orderByPriority() {
17144
17155
  var QueryOrderByValueConstraint = /** @class */ (function (_super) {
17145
17156
  tslib.__extends(QueryOrderByValueConstraint, _super);
17146
17157
  function QueryOrderByValueConstraint() {
17147
- return _super !== null && _super.apply(this, arguments) || this;
17158
+ var _this = _super !== null && _super.apply(this, arguments) || this;
17159
+ _this.type = 'orderByValue';
17160
+ return _this;
17148
17161
  }
17149
17162
  QueryOrderByValueConstraint.prototype._apply = function (query) {
17150
17163
  validateNoPreviousOrderByCall(query, 'orderByValue');
@@ -17173,6 +17186,7 @@ var QueryEqualToValueConstraint = /** @class */ (function (_super) {
17173
17186
  var _this = _super.call(this) || this;
17174
17187
  _this._value = _value;
17175
17188
  _this._key = _key;
17189
+ _this.type = 'equalTo';
17176
17190
  return _this;
17177
17191
  }
17178
17192
  QueryEqualToValueConstraint.prototype._apply = function (query) {