@leather.io/analytics 3.4.2 → 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 +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -239,7 +239,7 @@ declare function configureAnalyticsClient<T extends AnalyticsClientInterface>({
|
|
|
239
239
|
group(groupId: string, traits?: JsonMap | Record<string, unknown>): Promise<any>;
|
|
240
240
|
identify(userId?: string, traits?: JsonMap | Record<string, unknown>): Promise<any>;
|
|
241
241
|
page(category?: string, name?: string, properties?: JsonMap | Record<string, unknown>): Promise<any>;
|
|
242
|
-
readonly client:
|
|
242
|
+
readonly client: T;
|
|
243
243
|
};
|
|
244
244
|
|
|
245
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"
|