Skip to content

Commit 2f02194

Browse files
committed
Export EncryptedFragment
1 parent eb45c01 commit 2f02194

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

api-extractor/report/hls.js.api.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,8 +1208,6 @@ export class EMEController extends Logger implements ComponentAPI {
12081208
destroy(): void;
12091209
// (undocumented)
12101210
loadClear(loadingFrag: Fragment, encryptedFragments: Fragment[], startFragRequested: boolean): Promise<void> | null;
1211-
// Warning: (ae-forgotten-export) The symbol "EncryptedFragment" needs to be exported by the entry point hls.d.ts
1212-
//
12131211
// (undocumented)
12141212
loadKey(frag: EncryptedFragment): Promise<LevelKey>;
12151213
// (undocumented)
@@ -1236,6 +1234,13 @@ export type EMEControllerConfig = {
12361234
requireKeySystemAccessOnStart: boolean;
12371235
};
12381236

1237+
// Warning: (ae-missing-release-tag) "EncryptedFragment" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1238+
//
1239+
// @public (undocumented)
1240+
export type EncryptedFragment = Fragment & {
1241+
decryptdata: LevelKey;
1242+
};
1243+
12391244
// Warning: (ae-missing-release-tag) "ErrorActionFlags" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
12401245
//
12411246
// @public (undocumented)

src/hls.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,6 +1390,7 @@ export type { LoadStats } from './loader/load-stats';
13901390
export type { LevelKey } from './loader/level-key';
13911391
export type {
13921392
BaseSegment,
1393+
EncryptedFragment,
13931394
Fragment,
13941395
MediaFragment,
13951396
Part,

0 commit comments

Comments
 (0)