@firebase/app-check 0.8.0 → 0.8.1-canary.03ba26296
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/app-check-public.d.ts +7 -2
- package/dist/app-check.d.ts +7 -2
- package/dist/esm/index.esm.js +13 -2
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/index.esm2017.js +13 -2
- package/dist/esm/index.esm2017.js.map +1 -1
- package/dist/esm/src/api.d.ts +1 -1
- package/dist/esm/src/index.d.ts +6 -1
- package/dist/index.cjs.js +13 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/src/api.d.ts +1 -1
- package/dist/src/index.d.ts +6 -1
- package/package.json +7 -7
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Firebase App Check
|
|
2
|
+
* The Firebase App Check Web SDK.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Provider` or
|
|
6
|
+
* `ReCaptchaEnterpriseProvider`, but can be used in Node.js if you use
|
|
7
|
+
* `CustomProvider` and write your own attestation method.
|
|
3
8
|
*
|
|
4
9
|
* @packageDocumentation
|
|
5
10
|
*/
|
|
@@ -165,7 +170,7 @@ export declare function onTokenChanged(appCheckInstance: AppCheck, observer: Par
|
|
|
165
170
|
* the current token associated with this App Check instance changes.
|
|
166
171
|
*
|
|
167
172
|
* @param appCheckInstance - The App Check service instance.
|
|
168
|
-
* @param onNext - When the token changes, this function is called with
|
|
173
|
+
* @param onNext - When the token changes, this function is called with an
|
|
169
174
|
* {@link AppCheckTokenResult}.
|
|
170
175
|
* @param onError - Optional. Called if there is an error thrown by the
|
|
171
176
|
* listener (the `onNext` function).
|
package/dist/app-check.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Firebase App Check
|
|
2
|
+
* The Firebase App Check Web SDK.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Provider` or
|
|
6
|
+
* `ReCaptchaEnterpriseProvider`, but can be used in Node.js if you use
|
|
7
|
+
* `CustomProvider` and write your own attestation method.
|
|
3
8
|
*
|
|
4
9
|
* @packageDocumentation
|
|
5
10
|
*/
|
|
@@ -187,7 +192,7 @@ export declare function onTokenChanged(appCheckInstance: AppCheck, observer: Par
|
|
|
187
192
|
* the current token associated with this App Check instance changes.
|
|
188
193
|
*
|
|
189
194
|
* @param appCheckInstance - The App Check service instance.
|
|
190
|
-
* @param onNext - When the token changes, this function is called with
|
|
195
|
+
* @param onNext - When the token changes, this function is called with an
|
|
191
196
|
* {@link AppCheckTokenResult}.
|
|
192
197
|
* @param onError - Optional. Called if there is an error thrown by the
|
|
193
198
|
* listener (the `onNext` function).
|
package/dist/esm/index.esm.js
CHANGED
|
@@ -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.
|
|
1159
|
+
var version = "0.8.1-canary.03ba26296";
|
|
1154
1160
|
|
|
1155
1161
|
/**
|
|
1156
1162
|
* @license
|
|
@@ -1797,7 +1803,12 @@ onCompletion) {
|
|
|
1797
1803
|
}
|
|
1798
1804
|
|
|
1799
1805
|
/**
|
|
1800
|
-
* Firebase App Check
|
|
1806
|
+
* The Firebase App Check Web SDK.
|
|
1807
|
+
*
|
|
1808
|
+
* @remarks
|
|
1809
|
+
* Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Provider` or
|
|
1810
|
+
* `ReCaptchaEnterpriseProvider`, but can be used in Node.js if you use
|
|
1811
|
+
* `CustomProvider` and write your own attestation method.
|
|
1801
1812
|
*
|
|
1802
1813
|
* @packageDocumentation
|
|
1803
1814
|
*/
|