@ngxsplayer/ngx-smart-player-ssai-dai 0.0.1-next.0 → 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Cedvict
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,20 +1,7 @@
1
- /**
2
- * Google DAI SSAI plugin (example)
3
- *
4
- * You typically:
5
- * - read DAI cue points from the stream
6
- * - coordinate tracking pings / UI overlays
7
- *
8
- * This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.
9
- */
10
- class DaiSsaiPlugin {
11
- id = 'ssai-dai';
12
- async onEvent(_ctx, _ev) { }
13
- }
14
-
15
- /**
16
- * Generated bundle index. Do not edit.
17
- */
18
-
1
+ var DaiSsaiPlugin = class {
2
+ id = "ssai-dai";
3
+ async onEvent(_ctx, _ev) {}
4
+ };
19
5
  export { DaiSsaiPlugin };
20
- //# sourceMappingURL=ngxsplayer-ngx-smart-player-ssai-dai.mjs.map
6
+
7
+ //# sourceMappingURL=ngxsplayer-ngx-smart-player-ssai-dai.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngxsplayer-ngx-smart-player-ssai-dai.mjs","sources":["../../../projects/ngx-smart-player-ssai-dai/src/lib/dai-ssai.plugin.ts","../../../projects/ngx-smart-player-ssai-dai/src/ngxsplayer-ngx-smart-player-ssai-dai.ts"],"sourcesContent":["import { PlayerPlugin, PlayerContext, PlayerEvent } from '@ngxsp/core';\n\n/**\n * Google DAI SSAI plugin (example)\n *\n * You typically:\n * - read DAI cue points from the stream\n * - coordinate tracking pings / UI overlays\n *\n * This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.\n */\nexport class DaiSsaiPlugin implements PlayerPlugin {\n id = 'ssai-dai';\n\n async onEvent(_ctx: PlayerContext, _ev: PlayerEvent): Promise<void> {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAEA;;;;;;;;AAQG;MACU,aAAa,CAAA;IACxB,EAAE,GAAG,UAAU;AAEf,IAAA,MAAM,OAAO,CAAC,IAAmB,EAAE,GAAgB,IAAkB;AACtE;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngxsplayer-ngx-smart-player-ssai-dai.mjs","names":[],"sources":["../../../projects/ngx-smart-player-ssai-dai/src/lib/dai-ssai.plugin.ts"],"sourcesContent":["import { PlayerPlugin, PlayerContext, PlayerEvent } from '@ngxsp/core';\n\n/**\n * Google DAI SSAI plugin (example)\n *\n * You typically:\n * - read DAI cue points from the stream\n * - coordinate tracking pings / UI overlays\n *\n * This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.\n */\nexport class DaiSsaiPlugin implements PlayerPlugin {\n id = 'ssai-dai';\n\n async onEvent(_ctx: PlayerContext, _ev: PlayerEvent): Promise<void> {}\n}\n"],"mappings":"AAWA,IAAa,gBAAb,MAA0B;CACxB,KAAK;CAEL,MAAM,QAAQ,MAAqB,KAAgB,CAAkB;AACtE"}
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "@ngxsplayer/ngx-smart-player-ssai-dai",
3
- "version": "0.0.1-next.0",
4
- "description": "SSAI adapter example for Google DAI markers & tracking.",
3
+ "version": "0.2.0",
4
+ "description": "SSAI adapter example for Google DAI media markers and tracking.",
5
5
  "keywords": [
6
6
  "angular",
7
+ "audio",
8
+ "media",
7
9
  "video",
8
10
  "player",
9
11
  "ngx-smart-player"
10
12
  ],
11
13
  "license": "MIT",
12
14
  "peerDependencies": {
13
- "@angular/common": ">=16.0.0",
14
- "@angular/core": ">=16.0.0",
15
- "rxjs": ">=7.0.0",
16
- "@ngxsplayer/ngx-smart-player": "0.0.1-next.0",
17
- "@ngxsp/core": "0.0.1-next.0"
15
+ "@angular/common": ">=17.1.0 <23.0.0",
16
+ "@angular/core": ">=17.1.0 <23.0.0",
17
+ "rxjs": ">=7.0.0 <8.0.0",
18
+ "@ngxsplayer/ngx-smart-player": "^0.2.0",
19
+ "@ngxsp/core": "^0.2.0"
18
20
  },
19
21
  "sideEffects": false,
20
22
  "dependencies": {
@@ -26,14 +28,15 @@
26
28
  }
27
29
  },
28
30
  "module": "fesm2022/ngxsplayer-ngx-smart-player-ssai-dai.mjs",
29
- "typings": "index.d.ts",
31
+ "typings": "types/ngxsplayer-ngx-smart-player-ssai-dai.d.ts",
30
32
  "exports": {
31
33
  "./package.json": {
32
34
  "default": "./package.json"
33
35
  },
34
36
  ".": {
35
- "types": "./index.d.ts",
37
+ "types": "./types/ngxsplayer-ngx-smart-player-ssai-dai.d.ts",
36
38
  "default": "./fesm2022/ngxsplayer-ngx-smart-player-ssai-dai.mjs"
37
39
  }
38
- }
40
+ },
41
+ "type": "module"
39
42
  }
@@ -1,5 +1,4 @@
1
- import { PlayerPlugin, PlayerContext, PlayerEvent } from '@ngxsp/core';
2
-
1
+ import { PlayerContext, PlayerEvent, PlayerPlugin } from "@ngxsp/core";
3
2
  /**
4
3
  * Google DAI SSAI plugin (example)
5
4
  *
@@ -9,9 +8,7 @@ import { PlayerPlugin, PlayerContext, PlayerEvent } from '@ngxsp/core';
9
8
  *
10
9
  * This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.
11
10
  */
12
- declare class DaiSsaiPlugin implements PlayerPlugin {
13
- id: string;
14
- onEvent(_ctx: PlayerContext, _ev: PlayerEvent): Promise<void>;
15
- }
16
-
17
- export { DaiSsaiPlugin };
11
+ export declare class DaiSsaiPlugin implements PlayerPlugin {
12
+ id: string;
13
+ onEvent(_ctx: PlayerContext, _ev: PlayerEvent): Promise<void>;
14
+ }