@oxy.so/telemetry 0.1.1 → 1.0.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/README.md +3 -3
- package/package.json +15 -4
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Framework-agnostic primitives for anonymous, real-time Oxy activity telemetry.
|
|
|
4
4
|
The package has no runtime dependencies and does not import Express, Socket.IO,
|
|
5
5
|
Redis, React, React Native or Expo.
|
|
6
6
|
|
|
7
|
-
Version: `0.1.
|
|
7
|
+
Version: `0.1.2`.
|
|
8
8
|
|
|
9
9
|
## Entry points
|
|
10
10
|
|
|
@@ -81,10 +81,10 @@ an IP, user/account/session IDs, request bodies, query strings and raw paths.
|
|
|
81
81
|
The opaque activity ID exists only to estimate short-window cardinality and must
|
|
82
82
|
not be persisted as an event log or joined to product identity.
|
|
83
83
|
|
|
84
|
-
## Migration from `@
|
|
84
|
+
## Migration from `@oxy.so/*`
|
|
85
85
|
|
|
86
86
|
The first consumers will replace browser helpers currently owned privately by
|
|
87
|
-
`@
|
|
87
|
+
`@oxy.so/core` with imports from `@oxy.so/telemetry/browser`. API collectors will
|
|
88
88
|
replace their local validation and bucketing logic with
|
|
89
89
|
`@oxy.so/telemetry/server`. This package deliberately provides no compatibility
|
|
90
90
|
re-export: consumers move imports directly to the new owner, then the old
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/telemetry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Framework-agnostic anonymous activity telemetry primitives for Oxy services.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -8,8 +8,12 @@
|
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
9
9
|
"typesVersions": {
|
|
10
10
|
"*": {
|
|
11
|
-
"browser": [
|
|
12
|
-
|
|
11
|
+
"browser": [
|
|
12
|
+
"dist/types/browser.d.ts"
|
|
13
|
+
],
|
|
14
|
+
"server": [
|
|
15
|
+
"dist/types/server.d.ts"
|
|
16
|
+
]
|
|
13
17
|
}
|
|
14
18
|
},
|
|
15
19
|
"sideEffects": false,
|
|
@@ -29,7 +33,14 @@
|
|
|
29
33
|
},
|
|
30
34
|
"./browser": {
|
|
31
35
|
"browser": {
|
|
32
|
-
"
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/types/browser.d.ts",
|
|
38
|
+
"default": "./dist/esm/browser.js"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./dist/types/browser.d.ts",
|
|
42
|
+
"default": "./dist/cjs/browser.js"
|
|
43
|
+
},
|
|
33
44
|
"default": "./dist/esm/browser.js"
|
|
34
45
|
},
|
|
35
46
|
"import": {
|