@imferno/wasm 3.0.2-fix-edition-resolution.37dba57 → 3.0.2-fix-edition-resolution.8bb65e0

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/codes.d.ts CHANGED
@@ -32,6 +32,7 @@ export declare const codes: {
32
32
  readonly AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml";
33
33
  };
34
34
  readonly ST2067_2: {
35
+ readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
35
36
  readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
36
37
  readonly NoCpls: "ST2067-2/NoCpls";
37
38
  readonly SizeMismatch: "ST2067-2/SizeMismatch";
@@ -233,6 +234,7 @@ export declare const codes: {
233
234
  };
234
235
  readonly IMFERNO: {
235
236
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
237
+ readonly EditionConflict: "IMFERNO/EditionConflict";
236
238
  readonly DeliveryNotChecked: "IMFERNO/DeliveryNotChecked";
237
239
  readonly OpenFailed: "IMFERNO/OpenFailed";
238
240
  readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
package/codes.js CHANGED
@@ -32,6 +32,7 @@ export const codes = {
32
32
  AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml",
33
33
  },
34
34
  ST2067_2: {
35
+ NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
35
36
  PklMalformedXml: "ST2067-2/PklMalformedXml",
36
37
  NoCpls: "ST2067-2/NoCpls",
37
38
  SizeMismatch: "ST2067-2/SizeMismatch",
@@ -233,6 +234,7 @@ export const codes = {
233
234
  },
234
235
  IMFERNO: {
235
236
  EditionAssumed: "IMFERNO/EditionAssumed",
237
+ EditionConflict: "IMFERNO/EditionConflict",
236
238
  DeliveryNotChecked: "IMFERNO/DeliveryNotChecked",
237
239
  OpenFailed: "IMFERNO/OpenFailed",
238
240
  PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
package/imferno_wasm.d.ts CHANGED
@@ -13,6 +13,7 @@
13
13
  * Options (all optional):
14
14
  * - `coreSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"`
15
15
  * - `cplSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"` (ST 2067-3)
16
+ * - `iabSpec`: `"auto"` | `"v2019"` | `"v2021"` | `"v2026"` (ST 2067-201)
16
17
  * - `app2eSpec`: `"auto"` | `"none"` | `"v2014"` | `"v2016"` | `"v2020"` | `"v2023"` | `"v2026"`
17
18
  * - `rules`: ESLint-style rules configuration object
18
19
  */
package/imferno_wasm.js CHANGED
@@ -12,6 +12,7 @@
12
12
  * Options (all optional):
13
13
  * - `coreSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"`
14
14
  * - `cplSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"` (ST 2067-3)
15
+ * - `iabSpec`: `"auto"` | `"v2019"` | `"v2021"` | `"v2026"` (ST 2067-201)
15
16
  * - `app2eSpec`: `"auto"` | `"none"` | `"v2014"` | `"v2016"` | `"v2020"` | `"v2023"` | `"v2026"`
16
17
  * - `rules`: ESLint-style rules configuration object
17
18
  * @param {any} files
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/wasm",
3
- "version": "3.0.2-fix-edition-resolution.37dba57",
3
+ "version": "3.0.2-fix-edition-resolution.8bb65e0",
4
4
  "description": "Fast, type-safe SMPTE ST 2067 IMF parser for JavaScript and TypeScript",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -1467,6 +1467,12 @@ export type CoreSpec = "auto" | "v2013" | "v2016" | "v2020";
1467
1467
  */
1468
1468
  export type CplSpec = "auto" | "v2013" | "v2016" | "v2020";
1469
1469
 
1470
+ /**
1471
+ * IAB plug-in (ST 2067-201) edition to validate against. Every edition shares
1472
+ * one namespace; `"auto"` applies the newest and reports the choice.
1473
+ */
1474
+ export type IabSpec = "auto" | "v2019" | "v2021" | "v2026";
1475
+
1470
1476
  /**
1471
1477
  * App #2E (ST 2067-21) edition to validate against. `"auto"` uses the CPL's
1472
1478
  * ApplicationIdentification; `"none"` skips application-profile validation.
@@ -1479,6 +1485,8 @@ export interface ValidateOptions {
1479
1485
  coreSpec?: CoreSpec;
1480
1486
  /** Composition Playlist (ST 2067-3) edition. Default: `"auto"`. */
1481
1487
  cplSpec?: CplSpec;
1488
+ /** IAB plug-in (ST 2067-201) edition. Default: `"auto"`. */
1489
+ iabSpec?: IabSpec;
1482
1490
  /** App #2E edition. Default: `"auto"`. */
1483
1491
  app2eSpec?: App2eSpec;
1484
1492
  /** ESLint-style per-rule severity overrides, keyed by code, rule suffix, glob or `source:<kind>`. */