@plasius/analytics 1.3.1 → 1.3.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/README.md +3 -1
- package/dist/index.cjs +406 -242
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +93 -5
- package/dist/index.js.map +1 -1
- package/dist/metrics.cjs +121 -7
- package/dist/metrics.cjs.map +1 -1
- package/dist/metrics.js +92 -4
- package/dist/metrics.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-5BHE32SK.cjs +0 -98
- package/dist/chunk-5BHE32SK.cjs.map +0 -1
- package/dist/chunk-OEVYIQET.js +0 -98
- package/dist/chunk-OEVYIQET.js.map +0 -1
package/README.md
CHANGED
|
@@ -263,7 +263,9 @@ Lazy collectors should import `projectUsefulMetric` and
|
|
|
263
263
|
`USEFUL_METRIC_EVENT_DEFINITIONS` from `@plasius/analytics/metrics`. This standalone
|
|
264
264
|
ESM/CJS entry contains no React, collectors or transport. Existing root exports
|
|
265
265
|
remain compatible, but using the focused entry lets a bundler keep optional
|
|
266
|
-
metric code out of a host's
|
|
266
|
+
metric code out of a host's initial analytics graph, including when that host
|
|
267
|
+
loads the metric entry dynamically. The published entries are independent bundles
|
|
268
|
+
from one source, avoiding an eager shared metric chunk. The host must
|
|
267
269
|
still verify its real application bundle and own flag evaluation and transport.
|
|
268
270
|
|
|
269
271
|
Compose the fixed definitions into the host's semantic catalogue, then project
|