@svta/cml-cmcd 2.4.1 → 2.6.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 +4 -4
- package/dist/index.d.ts +479 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +536 -146
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,11 +26,11 @@ const result = encodeCmcd(input, options);
|
|
|
26
26
|
|
|
27
27
|
## Testing CMCD output with `CmcdReportRecorder`
|
|
28
28
|
|
|
29
|
-
`CmcdReportRecorder` captures CMCD
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
`CmcdReportRecorder` captures the CMCD requests that a player under test
|
|
30
|
+
sends, whether through `XMLHttpRequest` or `fetch`. Each capture is
|
|
31
|
+
normalized to
|
|
32
32
|
[`HttpRequest`](https://github.com/streaming-video-technology-alliance/common-media-library/tree/main/libs/utils),
|
|
33
|
-
so tests work
|
|
33
|
+
so tests work the same for both transports.
|
|
34
34
|
|
|
35
35
|
````ts
|
|
36
36
|
import { CmcdReportRecorder, validateCmcdRequest } from '@svta/cml-cmcd'
|