@firebase/webchannel-wrapper 0.8.0 → 0.8.1-canary.09dfc3aac

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @firebase/webchannel-wrapper
2
2
 
3
+ ## 0.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5) [#6682](https://github.com/firebase/firebase-js-sdk/pull/6682) - Upgrade TypeScript to 4.7.4.
8
+
3
9
  ## 0.8.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.esm.js CHANGED
@@ -79,11 +79,10 @@ function ia(a, b) { var c = Array.prototype.slice.call(arguments, 1); return fun
79
79
  function t(a, b) { function c() { } c.prototype = b.prototype; a.X = b.prototype; a.prototype = new c; a.prototype.constructor = a; a.Wb = function (d, e, f) { for (var h = Array(arguments.length - 2), n = 2; n < arguments.length; n++)
80
80
  h[n - 2] = arguments[n]; return b.prototype[e].apply(d, h); }; }
81
81
  function v() { this.s = this.s; this.o = this.o; }
82
- var ja = 0, ka = {};
82
+ var ja = 0;
83
83
  v.prototype.s = !1;
84
84
  v.prototype.na = function () { if (!this.s && (this.s = !0, this.M(), 0 != ja)) {
85
- var a = ca(this);
86
- delete ka[a];
85
+ ca(this);
87
86
  } };
88
87
  v.prototype.M = function () { if (this.o)
89
88
  for (; this.o.length;)
@@ -475,7 +474,7 @@ function Mb() { return Lb = Lb || new B; }
475
474
  G.Pa = "serverreachability";
476
475
  function Nb(a) { w.call(this, G.Pa, a); }
477
476
  t(Nb, w);
478
- function H(a) { var b = Mb(); C(b, new Nb(b, a)); }
477
+ function H(a) { var b = Mb(); C(b, new Nb(b)); }
479
478
  G.STAT_EVENT = "statevent";
480
479
  function Ob(a, b) { w.call(this, G.STAT_EVENT, a); this.stat = b; }
481
480
  t(Ob, w);
@@ -508,7 +507,7 @@ var Zb = 45E3, ac = {}, bc = {};
508
507
  k = L.prototype;
509
508
  k.setTimeout = function (a) { this.O = a; };
510
509
  function cc(a, b, c) { a.K = 1; a.v = dc(M(b)); a.s = c; a.P = !0; ec(a, null); }
511
- function ec(a, b) { a.F = Date.now(); N(a); a.A = M(a.v); var c = a.A, d = a.U; Array.isArray(d) || (d = [String(d)]); fc(c.i, "t", d); a.C = 0; c = a.l.H; a.h = new $b; a.g = gc(a.l, c ? b : null, !a.s); 0 < a.N && (a.L = new Cb(q(a.La, a, a.g), a.N)); Eb(a.S, a.g, "readystatechange", a.ib); b = a.H ? Ra(a.H) : {}; a.s ? (a.u || (a.u = "POST"), b["Content-Type"] = "application/x-www-form-urlencoded", a.g.da(a.A, a.u, a.s, b)) : (a.u = "GET", a.g.da(a.A, a.u, null, b)); H(1); Hb(a.j, a.u, a.A, a.m, a.U, a.s); }
510
+ function ec(a, b) { a.F = Date.now(); N(a); a.A = M(a.v); var c = a.A, d = a.U; Array.isArray(d) || (d = [String(d)]); fc(c.i, "t", d); a.C = 0; c = a.l.H; a.h = new $b; a.g = gc(a.l, c ? b : null, !a.s); 0 < a.N && (a.L = new Cb(q(a.La, a, a.g), a.N)); Eb(a.S, a.g, "readystatechange", a.ib); b = a.H ? Ra(a.H) : {}; a.s ? (a.u || (a.u = "POST"), b["Content-Type"] = "application/x-www-form-urlencoded", a.g.da(a.A, a.u, a.s, b)) : (a.u = "GET", a.g.da(a.A, a.u, null, b)); H(); Hb(a.j, a.u, a.A, a.m, a.U, a.s); }
512
511
  k.ib = function (a) { a = a.target; var b = this.L; b && 3 == O(a) ? b.l() : this.La(a); };
513
512
  k.La = function (a) {
514
513
  try {
@@ -618,7 +617,7 @@ function N(a) { a.V = Date.now() + a.O; pc(a, a.O); }
618
617
  function pc(a, b) { if (null != a.B)
619
618
  throw Error("WatchDog timer not null"); a.B = J(q(a.gb, a), b); }
620
619
  function ic(a) { a.B && (l.clearTimeout(a.B), a.B = null); }
621
- k.gb = function () { this.B = null; var a = Date.now(); 0 <= a - this.V ? (Kb(this.j, this.A), 2 != this.K && (H(3), I(17)), P(this), this.o = 2, Q(this)) : pc(this, this.V - a); };
620
+ k.gb = function () { this.B = null; var a = Date.now(); 0 <= a - this.V ? (Kb(this.j, this.A), 2 != this.K && (H(), I(17)), P(this), this.o = 2, Q(this)) : pc(this, this.V - a); };
622
621
  function Q(a) { 0 == a.l.G || a.I || mc(a.l, a); }
623
622
  function P(a) { ic(a); var b = a.L; b && "function" == typeof b.na && b.na(); a.L = null; zb(a.T); Fb(a.S); a.g && (b = a.g, a.g = null, b.abort(), b.na()); }
624
623
  function kc(a, b) {
@@ -1340,7 +1339,7 @@ else
1340
1339
  b = Date.now() - b.F;
1341
1340
  var e = a.C;
1342
1341
  d = Mb();
1343
- C(d, new Pb(d, c, b, e));
1342
+ C(d, new Pb(d, c));
1344
1343
  zc(a);
1345
1344
  }
1346
1345
  else
@@ -1452,7 +1451,7 @@ function Y(a) { this.g = a; }
1452
1451
  t(Y, Gd);
1453
1452
  Y.prototype.xa = function () { C(this.g, "a"); };
1454
1453
  Y.prototype.wa = function (a) { C(this.g, new Id(a)); };
1455
- Y.prototype.va = function (a) { C(this.g, new Jd(a)); };
1454
+ Y.prototype.va = function (a) { C(this.g, new Jd()); };
1456
1455
  Y.prototype.ua = function () { C(this.g, "b"); }; /*
1457
1456
 
1458
1457
  Copyright 2017 Google LLC