diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b40f34c..86658e82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.4.5] - 2023-10-12 +### Fixed +- `CMCD_PARAM` constant does not match file name [#27](https://github.com/streaming-video-technology-alliance/common-media-library/issues/27) + ## [0.4.4] - 2023-10-11 diff --git a/lib/src/cmcd.ts b/lib/src/cmcd.ts index 66de579f..ce01b386 100644 --- a/lib/src/cmcd.ts +++ b/lib/src/cmcd.ts @@ -3,6 +3,7 @@ * * @packageDocumentation */ +export { CMCD_PARAM } from './cmcd/CMCD_PARAM.js'; export type { Cmcd } from './cmcd/Cmcd.js'; export type { CmcdCustomKey } from './cmcd/CmcdCustomKey.js'; export type { CmcdEncodeOptions } from './cmcd/CmcdEncodeOptions.js'; @@ -12,7 +13,6 @@ export { CmcdHeaderField } from './cmcd/CmcdHeaderField.js'; export type { CmcdHeadersMap } from './cmcd/CmcdHeadersMap.js'; export type { CmcdKey } from './cmcd/CmcdKey.js'; export { CmcdObjectType } from './cmcd/CmcdObjectType.js'; -export { CMCD_PARAM } from './cmcd/CmcdParam.js'; export { CmcdStreamType } from './cmcd/CmcdStreamType.js'; export { CmcdStreamingFormat } from './cmcd/CmcdStreamingFormat.js'; export type { CmcdValue } from './cmcd/CmcdValue.js'; diff --git a/lib/src/cmcd/CmcdParam.ts b/lib/src/cmcd/CMCD_PARAM.ts similarity index 100% rename from lib/src/cmcd/CmcdParam.ts rename to lib/src/cmcd/CMCD_PARAM.ts diff --git a/lib/src/cmcd/fromCmcdQuery.ts b/lib/src/cmcd/fromCmcdQuery.ts index 5599ba1d..4b81ce70 100644 --- a/lib/src/cmcd/fromCmcdQuery.ts +++ b/lib/src/cmcd/fromCmcdQuery.ts @@ -1,5 +1,5 @@ import { Cmcd } from './Cmcd.js'; -import { CMCD_PARAM } from './CmcdParam.js'; +import { CMCD_PARAM } from './CMCD_PARAM.js'; import { decodeCmcd } from './decodeCmcd.js'; /** diff --git a/lib/src/cmcd/toCmcdQuery.ts b/lib/src/cmcd/toCmcdQuery.ts index f882fd46..f0f60c49 100644 --- a/lib/src/cmcd/toCmcdQuery.ts +++ b/lib/src/cmcd/toCmcdQuery.ts @@ -1,6 +1,6 @@ +import { CMCD_PARAM } from './CMCD_PARAM.js'; import { Cmcd } from './Cmcd.js'; import { CmcdEncodeOptions } from './CmcdEncodeOptions.js'; -import { CMCD_PARAM } from './CmcdParam.js'; import { encodeCmcd } from './encodeCmcd.js'; /**