@intlayer/analytics 9.7.1 → 9.7.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/dist/types/index.d.ts +1 -0
- package/package.json +31 -31
package/dist/types/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { initAnalyticsClient, stopAnalyticsClient } from "./core/initAnalyticsCl
|
|
|
7
7
|
import { isSampledIn } from "./core/sampling.js";
|
|
8
8
|
import { getSessionId } from "./core/session.js";
|
|
9
9
|
import { sendEvents } from "./core/transport.js";
|
|
10
|
+
import "./core/index.js";
|
|
10
11
|
import { buildContentExposure, serializeKeyPath } from "./events/contentExposure.js";
|
|
11
12
|
import { BOT_USER_AGENT_PATTERN, isBotEnvironment, isBotUserAgent } from "./utils/isBot.js";
|
|
12
13
|
export { AnalyticsClient, AnalyticsClientConfig, AnalyticsEvent, AnalyticsEventType, AnalyticsIngestBody, BOT_USER_AGENT_PATTERN, BaseAnalyticsEvent, ContentExposureEvent, ConversionEvent, DEFAULT_FLUSH_INTERVAL, DEFAULT_MAX_BUFFER_SIZE, DEFAULT_SAMPLE_RATE, EventBuffer, MAX_EVENTS_PER_SEND, PageViewEvent, PageViewInput, TrackableEvent, assignVariant, buildContentExposure, createAnalyticsClient, createEventBuffer, decrementAnalyticsClientRefCount, getGlobalAnalyticsClient, getSessionId, incrementAnalyticsClientRefCount, initAnalyticsClient, isBotEnvironment, isBotUserAgent, isSampledIn, sendEvents, serializeKeyPath, setGlobalAnalyticsClient, stopAnalyticsClient };
|
package/package.json
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/analytics",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Collects which Intlayer content is shown (page/locale + node-level) and powers content A/B testing. Optional, lazily-imported companion to @intlayer/editor.",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"intlayer",
|
|
8
|
-
"analytics",
|
|
9
7
|
"ab-testing",
|
|
10
|
-
"
|
|
8
|
+
"analytics",
|
|
9
|
+
"i18n",
|
|
10
|
+
"intlayer"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "https://intlayer.org",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/aymericzip/intlayer/issues"
|
|
15
15
|
},
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
19
|
-
},
|
|
20
16
|
"license": "Apache-2.0",
|
|
21
17
|
"author": {
|
|
22
18
|
"name": "Aymeric PINEAU",
|
|
@@ -29,7 +25,25 @@
|
|
|
29
25
|
"url": "https://github.com/aymericzip"
|
|
30
26
|
}
|
|
31
27
|
],
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"./dist",
|
|
34
|
+
"./package.json"
|
|
35
|
+
],
|
|
32
36
|
"sideEffects": false,
|
|
37
|
+
"main": "dist/cjs/index.cjs",
|
|
38
|
+
"module": "dist/esm/index.mjs",
|
|
39
|
+
"types": "dist/types/index.d.ts",
|
|
40
|
+
"typesVersions": {
|
|
41
|
+
"*": {
|
|
42
|
+
"package.json": [
|
|
43
|
+
"./package.json"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
33
47
|
"exports": {
|
|
34
48
|
".": {
|
|
35
49
|
"types": "./dist/types/index.d.ts",
|
|
@@ -53,29 +67,15 @@
|
|
|
53
67
|
},
|
|
54
68
|
"./package.json": "./package.json"
|
|
55
69
|
},
|
|
56
|
-
"main": "dist/cjs/index.cjs",
|
|
57
|
-
"module": "dist/esm/index.mjs",
|
|
58
|
-
"types": "dist/types/index.d.ts",
|
|
59
|
-
"typesVersions": {
|
|
60
|
-
"*": {
|
|
61
|
-
"package.json": [
|
|
62
|
-
"./package.json"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"files": [
|
|
67
|
-
"./dist",
|
|
68
|
-
"./package.json"
|
|
69
|
-
],
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "bun --bun tsdown --config tsdown.config.ts",
|
|
72
72
|
"build:ci": "bun --bun tsdown --config tsdown.config.ts",
|
|
73
73
|
"clean": "bun --bun rimraf ./dist .turbo",
|
|
74
74
|
"dev": "bun --bun tsdown --config tsdown.config.ts --watch",
|
|
75
|
-
"format": "
|
|
76
|
-
"format:fix": "
|
|
77
|
-
"lint": "
|
|
78
|
-
"lint:fix": "
|
|
75
|
+
"format": "oxfmt --check .",
|
|
76
|
+
"format:fix": "oxfmt .",
|
|
77
|
+
"lint": "oxlint .",
|
|
78
|
+
"lint:fix": "oxlint --fix .",
|
|
79
79
|
"prepublish": "cp -f ../../../README.md ./README.md",
|
|
80
80
|
"publish": "bun publish || true",
|
|
81
81
|
"publish:canary": "bun publish --access public --tag canary || true",
|
|
@@ -86,17 +86,17 @@
|
|
|
86
86
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@intlayer/config": "9.7.
|
|
90
|
-
"@intlayer/core": "9.7.
|
|
91
|
-
"@intlayer/types": "9.7.
|
|
89
|
+
"@intlayer/config": "9.7.2",
|
|
90
|
+
"@intlayer/core": "9.7.2",
|
|
91
|
+
"@intlayer/types": "9.7.2"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@types/node": "^26",
|
|
95
95
|
"@utils/ts-config": "1.0.4",
|
|
96
96
|
"@utils/ts-config-types": "1.0.4",
|
|
97
97
|
"@utils/tsdown-config": "1.0.4",
|
|
98
|
-
"rimraf": "6.1.
|
|
99
|
-
"tsdown": "0.23.
|
|
98
|
+
"rimraf": "6.1.4",
|
|
99
|
+
"tsdown": "0.23.7",
|
|
100
100
|
"typescript": "7.0.2",
|
|
101
101
|
"vitest": "5.1.0"
|
|
102
102
|
},
|