@svta/cml-id3 1.0.7 → 1.0.9

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.
Files changed (2) hide show
  1. package/README.md +6 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -13,5 +13,10 @@ npm i @svta/cml-id3
13
13
  ```typescript
14
14
  import { getId3Frames } from "@svta/cml-id3";
15
15
 
16
- const frames = getId3Frames(id3Data);
16
+ // id3Data holds the bytes of one ID3 tag, for example from an HLS timed metadata sample.
17
+ function logId3Frames(id3Data: Uint8Array): void {
18
+ for (const frame of getId3Frames(id3Data)) {
19
+ console.log(frame.key, frame.data);
20
+ }
21
+ }
17
22
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svta/cml-id3",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "ID3 tag parsing functionality",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -50,6 +50,6 @@
50
50
  }
51
51
  },
52
52
  "peerDependencies": {
53
- "@svta/cml-utils": "1.5.1"
53
+ "@svta/cml-utils": "1.6.1"
54
54
  }
55
55
  }