@firebase/app-check 0.8.0-canary.abe69045d → 0.8.0-canary.ac10cc349

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.
@@ -170,7 +170,7 @@ export declare function onTokenChanged(appCheckInstance: AppCheck, observer: Par
170
170
  * the current token associated with this App Check instance changes.
171
171
  *
172
172
  * @param appCheckInstance - The App Check service instance.
173
- * @param onNext - When the token changes, this function is called with aa
173
+ * @param onNext - When the token changes, this function is called with an
174
174
  * {@link AppCheckTokenResult}.
175
175
  * @param onError - Optional. Called if there is an error thrown by the
176
176
  * listener (the `onNext` function).
@@ -192,7 +192,7 @@ export declare function onTokenChanged(appCheckInstance: AppCheck, observer: Par
192
192
  * the current token associated with this App Check instance changes.
193
193
  *
194
194
  * @param appCheckInstance - The App Check service instance.
195
- * @param onNext - When the token changes, this function is called with aa
195
+ * @param onNext - When the token changes, this function is called with an
196
196
  * {@link AppCheckTokenResult}.
197
197
  * @param onError - Optional. Called if there is an error thrown by the
198
198
  * listener (the `onNext` function).
@@ -149,6 +149,9 @@ var Refresher = /** @class */ (function () {
149
149
  case 1:
150
150
  _a.trys.push([1, 6, , 7]);
151
151
  this.pending = new Deferred();
152
+ this.pending.promise.catch(function (_e) {
153
+ /* ignore */
154
+ });
152
155
  return [4 /*yield*/, sleep(this.getNextRun(hasSucceeded))];
153
156
  case 2:
154
157
  _a.sent();
@@ -162,6 +165,9 @@ var Refresher = /** @class */ (function () {
162
165
  case 3:
163
166
  _a.sent();
164
167
  this.pending = new Deferred();
168
+ this.pending.promise.catch(function (_e) {
169
+ /* ignore */
170
+ });
165
171
  return [4 /*yield*/, this.operation()];
166
172
  case 4:
167
173
  _a.sent();
@@ -1150,7 +1156,7 @@ function internalFactory(appCheck) {
1150
1156
  }
1151
1157
 
1152
1158
  var name = "@firebase/app-check";
1153
- var version = "0.8.0-canary.abe69045d";
1159
+ var version = "0.8.0-canary.ac10cc349";
1154
1160
 
1155
1161
  /**
1156
1162
  * @license