@firebase/app-check 0.4.1-canary.e70de6201 → 0.4.2
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 +6 -0
- package/dist/app-check-public.d.ts +2 -5
- package/dist/app-check.d.ts +4 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm2017.js +1 -1
- package/dist/src/types.d.ts +4 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @firebase/app-check
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a4e770e58`](https://github.com/firebase/firebase-js-sdk/commit/a4e770e58d03d75a63f1ed7845589b863573b76e) [#5576](https://github.com/firebase/firebase-js-sdk/pull/5576) - Fix incorrect App Check typings that caused users to see TypeScript compile errors.
|
|
8
|
+
|
|
3
9
|
## 0.4.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -40,11 +40,8 @@ export declare interface AppCheckOptions {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
declare interface AppCheckProvider {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
*/
|
|
46
|
-
getToken: () => Promise<AppCheckTokenInternal>;
|
|
47
|
-
initialize(app: FirebaseApp): void;
|
|
43
|
+
/* Excluded from this release type: getToken */
|
|
44
|
+
/* Excluded from this release type: initialize */
|
|
48
45
|
}
|
|
49
46
|
|
|
50
47
|
/**
|
package/dist/app-check.d.ts
CHANGED
|
@@ -48,8 +48,12 @@ export declare interface AppCheckOptions {
|
|
|
48
48
|
declare interface AppCheckProvider {
|
|
49
49
|
/**
|
|
50
50
|
* Returns an App Check token.
|
|
51
|
+
* @internal
|
|
51
52
|
*/
|
|
52
53
|
getToken: () => Promise<AppCheckTokenInternal>;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
53
57
|
initialize(app: FirebaseApp): void;
|
|
54
58
|
}
|
|
55
59
|
|
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/dist/index.esm2017.js
CHANGED
package/dist/src/types.d.ts
CHANGED
|
@@ -40,8 +40,12 @@ export interface AppCheckTokenInternal extends AppCheckToken {
|
|
|
40
40
|
export interface AppCheckProvider {
|
|
41
41
|
/**
|
|
42
42
|
* Returns an App Check token.
|
|
43
|
+
* @internal
|
|
43
44
|
*/
|
|
44
45
|
getToken: () => Promise<AppCheckTokenInternal>;
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
45
49
|
initialize(app: FirebaseApp): void;
|
|
46
50
|
}
|
|
47
51
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/app-check",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "The App Check component of the Firebase JS SDK",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"typings:public": "node ../../scripts/build/use_typings.js ./dist/app-check-public.d.ts"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@firebase/app": "0.
|
|
28
|
+
"@firebase/app": "0.x"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@firebase/util": "1.4.0
|
|
32
|
-
"@firebase/component": "0.5.7
|
|
33
|
-
"@firebase/logger": "0.3.0
|
|
31
|
+
"@firebase/util": "1.4.0",
|
|
32
|
+
"@firebase/component": "0.5.7",
|
|
33
|
+
"@firebase/logger": "0.3.0",
|
|
34
34
|
"tslib": "^2.1.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@firebase/app": "0.7.
|
|
38
|
+
"@firebase/app": "0.7.3",
|
|
39
39
|
"rollup": "2.57.0",
|
|
40
40
|
"@rollup/plugin-commonjs": "20.0.0",
|
|
41
41
|
"@rollup/plugin-json": "4.1.0",
|