@firebase/analytics-types 0.7.0 → 0.7.1-canary.457fc2eeb
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/index.d.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @firebase/analytics-types
|
|
2
2
|
|
|
3
|
+
## 0.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4af28c1a4`](https://github.com/firebase/firebase-js-sdk/commit/4af28c1a42bd25ce2353f694ca1724c6101cbce5) [#6682](https://github.com/firebase/firebase-js-sdk/pull/6682) - Upgrade TypeScript to 4.7.4.
|
|
8
|
+
|
|
3
9
|
## 0.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type DataLayer = Array<IArguments>;
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Additional options that can be passed to Firebase Analytics method
|
|
26
|
-
* calls such as `logEvent`,
|
|
26
|
+
* calls such as `logEvent`, etc.
|
|
27
27
|
*/
|
|
28
28
|
export interface AnalyticsCallOptions {
|
|
29
29
|
/**
|
|
@@ -453,6 +453,9 @@ export interface FirebaseAnalytics {
|
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
455
|
* Use gtag 'config' command to set 'screen_name'.
|
|
456
|
+
*
|
|
457
|
+
* @deprecated Use {@link logEvent} with `eventName` as 'screen_view' and add relevant `eventParams`.
|
|
458
|
+
* See {@link https://firebase.google.com/docs/analytics/screenviews | Track Screenviews}.
|
|
456
459
|
*/
|
|
457
460
|
setCurrentScreen(screenName: string, options?: AnalyticsCallOptions): void;
|
|
458
461
|
|
package/package.json
CHANGED