@dwbn/capacitor-plugin-playlist 8.4.3 → 8.4.4

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 (36) hide show
  1. package/README.md +3 -3
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/org/dwbn/plugins/playlist/AudioDrm.java +1 -1
  4. package/android/src/main/java/org/dwbn/plugins/playlist/AudioDrmSession.java +1 -1
  5. package/android/src/main/java/org/dwbn/plugins/playlist/AudioMediaItemFactory.java +1 -1
  6. package/android/src/main/java/org/dwbn/plugins/playlist/AudioOfflineProvider.java +1 -1
  7. package/android/src/main/java/org/dwbn/plugins/playlist/PlaylistPlugin.kt +7 -3
  8. package/android/src/main/java/org/dwbn/plugins/playlist/RmxAudioPlayer.java +15 -2
  9. package/android/src/main/java/org/dwbn/plugins/playlist/data/AudioTrack.kt +1 -1
  10. package/android/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +1 -1
  11. package/android/src/main/java/org/dwbn/plugins/playlist/offline/OfflineDownloads.kt +2 -2
  12. package/android/src/main/java/org/dwbn/plugins/playlist/offline/OfflineStorage.kt +1 -1
  13. package/android/src/main/java/org/dwbn/plugins/playlist/playlist/AudioPlaylistHandler.java +2 -4
  14. package/android/src/main/java/org/dwbn/plugins/playlist/service/HandoffForwardingPlayer.kt +1 -1
  15. package/dist/docs.json +3 -3
  16. package/dist/esm/interfaces.d.ts +3 -3
  17. package/dist/esm/web.d.ts +1 -1
  18. package/dist/esm/web.js +2 -2
  19. package/dist/esm/web.js.map +1 -1
  20. package/dist/plugin.cjs.js +2 -2
  21. package/dist/plugin.cjs.js.map +1 -1
  22. package/dist/plugin.js +2 -2
  23. package/dist/plugin.js.map +1 -1
  24. package/ios/Sources/PlaylistPlugin/AudioDrm.swift +5 -5
  25. package/ios/Sources/PlaylistPlugin/AudioOffline.swift +2 -2
  26. package/ios/Sources/PlaylistPlugin/AudioOfflineProvider.swift +1 -1
  27. package/ios/Sources/PlaylistPlugin/AudioTrack.swift +3 -3
  28. package/ios/Sources/PlaylistPlugin/Plugin.swift +3 -3
  29. package/ios/Sources/PlaylistPlugin/RmxAudioPlayer.swift +2 -2
  30. package/ios/Sources/PlaylistPlugin/offline/AvAssetOfflineEngine.swift +1 -1
  31. package/ios/Sources/PlaylistPlugin/offline/OfflineDownloads.swift +3 -3
  32. package/ios/Sources/PlaylistPlugin/offline/OfflineMetaStore.swift +1 -1
  33. package/ios/Tests/PlaylistPluginTests/AudioDrmTests.swift +4 -5
  34. package/ios/Tests/PlaylistPluginTests/AudioOfflineTests.swift +1 -1
  35. package/ios/Tests/PlaylistPluginTests/OfflineDownloadsTests.swift +1 -1
  36. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  // OfflineDownloads.swift
3
3
  // PlaylistPlugin
4
4
  //
5
- // Download orchestration (Story 59.5). Order on start: read FairPlay `skd://` from the remote
5
+ // Download orchestration. Order on start: read FairPlay `skd://` from the remote
6
6
  // HLS → `provider.acquire` (background) → only then start the download task, so a refused
7
7
  // licence (incl. `offlineDeviceLimit`) fetches no media. Licences and renewal belong
8
8
  // to the host `AudioOfflineProvider`; this class never touches drm-kit.
@@ -45,7 +45,7 @@ struct DownloadInfo {
45
45
  let needsRenewal: Bool
46
46
  }
47
47
 
48
- /// Download orchestration (Story 59.5).
48
+ /// Download orchestration.
49
49
  final class OfflineDownloads: OfflineEngineListener {
50
50
  typealias EventSink = (DownloadEvent) -> Void
51
51
  typealias Work = () -> Void
@@ -95,7 +95,7 @@ final class OfflineDownloads: OfflineEngineListener {
95
95
  emit(downloadId, DownloadStates.completed, 1, nil)
96
96
  return nil
97
97
  }
98
- // Leftover media with an unusable licence (Story 59.7): drop and re-acquire.
98
+ // Leftover media with an unusable licence: drop and re-acquire.
99
99
  removeAll(downloadId)
100
100
  }
101
101
  let token = NSObject()
@@ -3,7 +3,7 @@
3
3
  // PlaylistPlugin
4
4
  //
5
5
  // Plugin-owned download metadata: only the licence clock. Delivery URLs are never stored here.
6
- // Lives under Application Support and is excluded from backup (Story 59.5).
6
+ // Lives under Application Support and is excluded from backup.
7
7
  //
8
8
 
9
9
  import Foundation
@@ -2,11 +2,10 @@
2
2
  // AudioDrmTests.swift
3
3
  // PlaylistPluginTests
4
4
  //
5
- // Story 58.5: replaces the old `PlaylistDrm.notSupportedRefusal` coverage (Story 57.5's iOS
6
- // placeholder) with `AudioDrm` registry/typed-error coverage (mirrors `VideoDrmTests` from
7
- // Story 58.4) plus an `AudioTrack` DRM-wiring test (mirrors
8
- // `FullScreenVideoPlayerViewDrmWiringTests`) and direct coverage of
9
- // `PlaylistPlugin.drmNoProviderRejection(for:)`, the guard actually wired into
5
+ // Replaces the old `PlaylistDrm.notSupportedRefusal` coverage with `AudioDrm`
6
+ // registry and typed-error coverage (mirrors `VideoDrmTests`) plus an `AudioTrack`
7
+ // DRM-wiring test (mirrors `FullScreenVideoPlayerViewDrmWiringTests`) and direct
8
+ // coverage of `PlaylistPlugin.drmNoProviderRejection(for:)`, the guard wired into
10
9
  // `setPlaylistItems`/`addItem`/`replaceItem`/`addAllItems`.
11
10
  //
12
11
 
@@ -2,7 +2,7 @@
2
2
  // AudioOfflineTests.swift
3
3
  // PlaylistPluginTests
4
4
  //
5
- // Story 59.5: registry, typedError (incl. offlineDeviceLimit), attachOffline, queue downloadId.
5
+ // registry, typedError (incl. offlineDeviceLimit), attachOffline, queue downloadId.
6
6
  //
7
7
 
8
8
  import AVFoundation
@@ -2,7 +2,7 @@
2
2
  // OfflineDownloadsTests.swift
3
3
  // PlaylistPluginTests
4
4
  //
5
- // Story 59.5: licence-first download orchestration, expiry maths, pending guard, HLS skd://
5
+ // licence-first download orchestration, expiry maths, pending guard, HLS skd://
6
6
  // parse, backup exclusion. No FairPlay in XCTest — the engine is a fake.
7
7
  //
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dwbn/capacitor-plugin-playlist",
3
- "version": "8.4.3",
3
+ "version": "8.4.4",
4
4
  "description": "Playlist ",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",