@project-sunbird/telemetry-sdk 2.0.0 → 2.0.1
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
# Sunbird Telemetry SDK (
|
|
2
|
+
# Sunbird Telemetry SDK (v2.x.x)
|
|
3
3
|
|
|
4
4
|
A robust, isomorphic JavaScript/TypeScript library for generating and syncing Sunbird telemetry events. This version is a complete rewrite using modern TypeScript, replacing legacy dependencies with standard NPM packages.
|
|
5
5
|
|
|
@@ -124,7 +124,7 @@ If `enableValidation` is set to `true`, the library validates events against the
|
|
|
124
124
|
- `src/utils`: Utilities (`Dispatcher`, `Utils`, `DeviceInfo`).
|
|
125
125
|
- `src/schema`: Telemetry JSON schemas.
|
|
126
126
|
|
|
127
|
-
## Migration from
|
|
127
|
+
## Migration from v1.x
|
|
128
128
|
|
|
129
129
|
1. **Remove jQuery**: Ensure your application handles network requests if you were relying on the SDK's jQuery dependency. The SDK now uses `fetch`.
|
|
130
130
|
2. **Fingerprinting**: The library now uses `@fingerprintjs/fingerprintjs`. This might generate different device IDs than the old library. However, `localStorage` caching is implemented to maintain the ID once generated.
|
package/package.json
CHANGED