@firebase/app-check 0.8.7 → 0.8.8-canary.1ca18c459
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 +5 -3
- package/dist/app-check.d.ts +5 -3
- package/dist/esm/index.esm.js +6 -4
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/index.esm2017.js +6 -4
- package/dist/esm/index.esm2017.js.map +1 -1
- package/dist/esm/src/api.d.ts +5 -3
- package/dist/index.cjs.js +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/src/api.d.ts +5 -3
- package/package.json +7 -7
|
@@ -125,9 +125,11 @@ export declare interface CustomProviderOptions {
|
|
|
125
125
|
export declare function getLimitedUseToken(appCheckInstance: AppCheck): Promise<AppCheckTokenResult>;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* Get the current App Check token.
|
|
129
|
-
*
|
|
130
|
-
* is
|
|
128
|
+
* Get the current App Check token. If `forceRefresh` is false, this function first
|
|
129
|
+
* checks for a valid token in memory, then local persistence (IndexedDB).
|
|
130
|
+
* If not found, or if `forceRefresh` is true, it makes a request to the
|
|
131
|
+
* App Check endpoint for a fresh token. That request attaches
|
|
132
|
+
* to the most recent in-flight request if one is present.
|
|
131
133
|
*
|
|
132
134
|
* @param appCheckInstance - The App Check service instance.
|
|
133
135
|
* @param forceRefresh - If true, will always try to fetch a fresh token.
|
package/dist/app-check.d.ts
CHANGED
|
@@ -147,9 +147,11 @@ export declare interface CustomProviderOptions {
|
|
|
147
147
|
export declare function getLimitedUseToken(appCheckInstance: AppCheck): Promise<AppCheckTokenResult>;
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* Get the current App Check token.
|
|
151
|
-
*
|
|
152
|
-
* is
|
|
150
|
+
* Get the current App Check token. If `forceRefresh` is false, this function first
|
|
151
|
+
* checks for a valid token in memory, then local persistence (IndexedDB).
|
|
152
|
+
* If not found, or if `forceRefresh` is true, it makes a request to the
|
|
153
|
+
* App Check endpoint for a fresh token. That request attaches
|
|
154
|
+
* to the most recent in-flight request if one is present.
|
|
153
155
|
*
|
|
154
156
|
* @param appCheckInstance - The App Check service instance.
|
|
155
157
|
* @param forceRefresh - If true, will always try to fetch a fresh token.
|
package/dist/esm/index.esm.js
CHANGED
|
@@ -1156,7 +1156,7 @@ function internalFactory(appCheck) {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
1158
|
var name = "@firebase/app-check";
|
|
1159
|
-
var version = "0.8.
|
|
1159
|
+
var version = "0.8.8-canary.1ca18c459";
|
|
1160
1160
|
|
|
1161
1161
|
/**
|
|
1162
1162
|
* @license
|
|
@@ -1728,9 +1728,11 @@ function setTokenAutoRefreshEnabled(appCheckInstance, isTokenAutoRefreshEnabled)
|
|
|
1728
1728
|
state.isTokenAutoRefreshEnabled = isTokenAutoRefreshEnabled;
|
|
1729
1729
|
}
|
|
1730
1730
|
/**
|
|
1731
|
-
* Get the current App Check token.
|
|
1732
|
-
*
|
|
1733
|
-
* is
|
|
1731
|
+
* Get the current App Check token. If `forceRefresh` is false, this function first
|
|
1732
|
+
* checks for a valid token in memory, then local persistence (IndexedDB).
|
|
1733
|
+
* If not found, or if `forceRefresh` is true, it makes a request to the
|
|
1734
|
+
* App Check endpoint for a fresh token. That request attaches
|
|
1735
|
+
* to the most recent in-flight request if one is present.
|
|
1734
1736
|
*
|
|
1735
1737
|
* @param appCheckInstance - The App Check service instance.
|
|
1736
1738
|
* @param forceRefresh - If true, will always try to fetch a fresh token.
|