@leather.io/analytics 3.4.1 → 3.5.0
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/index.d.ts +4 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ interface Events extends HistoricalEvents {
|
|
|
7
7
|
app_unlocked: undefined;
|
|
8
8
|
app_locked: undefined;
|
|
9
9
|
submit_feature_waitlist: SubmitWaitlist;
|
|
10
|
+
legacy_request_initiated: {
|
|
11
|
+
method: string;
|
|
12
|
+
};
|
|
10
13
|
}
|
|
11
14
|
interface HistoricalEvents {
|
|
12
15
|
add_network: undefined;
|
|
@@ -236,7 +239,7 @@ declare function configureAnalyticsClient<T extends AnalyticsClientInterface>({
|
|
|
236
239
|
group(groupId: string, traits?: JsonMap | Record<string, unknown>): Promise<any>;
|
|
237
240
|
identify(userId?: string, traits?: JsonMap | Record<string, unknown>): Promise<any>;
|
|
238
241
|
page(category?: string, name?: string, properties?: JsonMap | Record<string, unknown>): Promise<any>;
|
|
239
|
-
readonly client:
|
|
242
|
+
readonly client: T;
|
|
240
243
|
};
|
|
241
244
|
|
|
242
245
|
export { type AnalyticsClientConfig, type AnalyticsClientInterface, type DefaultProperties, type EventName, type Events, type JsonList, type JsonMap, type JsonValue, type OptionalIfUndefined, configureAnalyticsClient };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@leather.io/analytics",
|
|
3
3
|
"author": "Leather.io contact@leather.io",
|
|
4
4
|
"description": "Analytics package for Leather using Segment",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.5.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/leather.io/mono/tree/dev/packages/analytics",
|
|
8
8
|
"repository": {
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@types/node": "22.
|
|
22
|
+
"@types/node": "22.15.3",
|
|
23
23
|
"concurrently": "8.2.2",
|
|
24
24
|
"prettier": "3.5.1",
|
|
25
25
|
"tsup": "8.4.0",
|
|
26
|
-
"typescript": "5.
|
|
26
|
+
"typescript": "5.8.3",
|
|
27
27
|
"vitest": "2.1.9",
|
|
28
|
-
"@leather.io/models": "0.
|
|
28
|
+
"@leather.io/models": "0.32.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist"
|