fleek-track-analytics 0.0.48 → 0.0.49
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/init/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/init/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { IAnalyticsInit, tPLATFORM } from '../types';
|
|
|
4
4
|
import { ID, UserTraits } from '@segment/analytics-next';
|
|
5
5
|
import { UserTraits as RNUserTraits } from '@segment/analytics-react-native';
|
|
6
6
|
export type tTrack = <T extends EVENT_NAMES>(eventName: T, eventParams: EVENT_MAP[T]) => void;
|
|
7
|
-
export type tIdentify = (id?:
|
|
7
|
+
export type tIdentify = (id?: object | ID, traits?: UserTraits | RNUserTraits) => void;
|
|
8
8
|
export type JsonList = Array<JsonValue>;
|
|
9
9
|
export type JsonValue = boolean | number | string | null | JsonList | JsonMap | undefined;
|
|
10
10
|
export interface JsonMap {
|