@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 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
- * Returns an App Check token.
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
  /**
@@ -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
@@ -1000,7 +1000,7 @@ function internalFactory(appCheck) {
1000
1000
  }
1001
1001
 
1002
1002
  var name = "@firebase/app-check";
1003
- var version = "0.4.1-canary.e70de6201";
1003
+ var version = "0.4.2";
1004
1004
 
1005
1005
  /**
1006
1006
  * @license
package/dist/index.esm.js CHANGED
@@ -996,7 +996,7 @@ function internalFactory(appCheck) {
996
996
  }
997
997
 
998
998
  var name = "@firebase/app-check";
999
- var version = "0.4.1-canary.e70de6201";
999
+ var version = "0.4.2";
1000
1000
 
1001
1001
  /**
1002
1002
  * @license
@@ -890,7 +890,7 @@ function internalFactory(appCheck) {
890
890
  }
891
891
 
892
892
  const name = "@firebase/app-check";
893
- const version = "0.4.1-canary.e70de6201";
893
+ const version = "0.4.2";
894
894
 
895
895
  /**
896
896
  * @license
@@ -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.1-canary.e70de6201",
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.7.2-canary.e70de6201"
28
+ "@firebase/app": "0.x"
29
29
  },
30
30
  "dependencies": {
31
- "@firebase/util": "1.4.0-canary.e70de6201",
32
- "@firebase/component": "0.5.7-canary.e70de6201",
33
- "@firebase/logger": "0.3.0-canary.e70de6201",
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.2-canary.e70de6201",
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",