react-native-theoplayer 11.7.0 → 11.9.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.
Files changed (152) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/android/build.gradle +4 -2
  3. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  4. package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  5. package/android/gradlew +176 -110
  6. package/android/gradlew.bat +23 -18
  7. package/android/src/main/java/com/theoplayer/ads/AdAdapter.kt +33 -7
  8. package/android/src/main/java/com/theoplayer/ads/AdEventAdapter.kt +8 -1
  9. package/android/src/main/java/com/theoplayer/drm/ContentProtectionAdapter.kt +24 -5
  10. package/android/src/main/java/com/theoplayer/drm/ContentProtectionModule.kt +61 -7
  11. package/android/src/main/java/com/theoplayer/drm/ProxyContentProtectionIntegration.kt +12 -5
  12. package/android/src/main/java/com/theoplayer/drm/ProxyContentProtectionIntegrationFactory.kt +3 -1
  13. package/android/src/main/java/com/theoplayer/source/SourceAdapter.kt +23 -0
  14. package/android/src/main/java/com/theoplayer/theolive/EndpointAdapter.kt +33 -0
  15. package/android/src/main/java/com/theoplayer/util/BridgeUtils.kt +4 -4
  16. package/android/src/test/java/com/theoplayer/ads/AdAdapterCustomDataTest.kt +144 -0
  17. package/ios/THEOplayerRCTBridge.m +7 -0
  18. package/ios/THEOplayerRCTMainEventHandler.swift +27 -1
  19. package/ios/THEOplayerRCTPlayerAPI.swift +20 -0
  20. package/ios/ads/THEOplayerRCTAdAdapter.swift +14 -3
  21. package/ios/ads/THEOplayerRCTAdsNative.swift +4 -0
  22. package/ios/contentprotection/THEOplayerRCTContentProtectionAPI.swift +39 -9
  23. package/ios/contentprotection/THEOplayerRCTContentProtectionAggregator.swift +15 -11
  24. package/ios/contentprotection/THEOplayerRCTProxyContentProtectionIntegration.swift +12 -7
  25. package/ios/theolive/THEOplayerRCTTHEOliveEventAdapter.swift +21 -0
  26. package/lib/commonjs/api/player/PlayerEventMap.js +1 -1
  27. package/lib/commonjs/api/source/abr/SourceAbrConfiguration.js +2 -0
  28. package/lib/commonjs/api/source/abr/SourceAbrConfiguration.js.map +1 -0
  29. package/lib/commonjs/api/source/abr/barrel.js +17 -0
  30. package/lib/commonjs/api/source/abr/barrel.js.map +1 -0
  31. package/lib/commonjs/api/source/barrel.js +18 -7
  32. package/lib/commonjs/api/source/barrel.js.map +1 -1
  33. package/lib/commonjs/internal/adapter/DefaultNativePlayerState.js +1 -0
  34. package/lib/commonjs/internal/adapter/DefaultNativePlayerState.js.map +1 -1
  35. package/lib/commonjs/internal/adapter/THEOplayerAdapter.js +9 -0
  36. package/lib/commonjs/internal/adapter/THEOplayerAdapter.js.map +1 -1
  37. package/lib/commonjs/internal/adapter/THEOplayerWebAdapter.js +13 -1
  38. package/lib/commonjs/internal/adapter/THEOplayerWebAdapter.js.map +1 -1
  39. package/lib/commonjs/internal/adapter/WebEventForwarder.js +61 -10
  40. package/lib/commonjs/internal/adapter/WebEventForwarder.js.map +1 -1
  41. package/lib/commonjs/internal/adapter/event/native/NativeTheoLiveEvent.js +2 -2
  42. package/lib/commonjs/internal/adapter/event/native/NativeTheoLiveEvent.js.map +1 -1
  43. package/lib/commonjs/internal/drm/ContentProtectionRegistry.js +38 -12
  44. package/lib/commonjs/internal/drm/ContentProtectionRegistry.js.map +1 -1
  45. package/lib/commonjs/manifest.json +1 -1
  46. package/lib/commonjs/plugins/typedoc-platform-icons/package-lock.json +200 -58
  47. package/lib/commonjs/plugins/typedoc-platform-icons/package.json +1 -1
  48. package/lib/commonjs/plugins/typedoc-platform-icons/tsconfig.json +2 -1
  49. package/lib/module/api/player/PlayerEventMap.js +1 -1
  50. package/lib/module/api/source/abr/SourceAbrConfiguration.js +2 -0
  51. package/lib/module/api/source/abr/SourceAbrConfiguration.js.map +1 -0
  52. package/lib/module/api/source/abr/barrel.js +4 -0
  53. package/lib/module/api/source/abr/barrel.js.map +1 -0
  54. package/lib/module/api/source/barrel.js +1 -0
  55. package/lib/module/api/source/barrel.js.map +1 -1
  56. package/lib/module/internal/adapter/DefaultNativePlayerState.js +1 -0
  57. package/lib/module/internal/adapter/DefaultNativePlayerState.js.map +1 -1
  58. package/lib/module/internal/adapter/THEOplayerAdapter.js +9 -0
  59. package/lib/module/internal/adapter/THEOplayerAdapter.js.map +1 -1
  60. package/lib/module/internal/adapter/THEOplayerWebAdapter.js +13 -1
  61. package/lib/module/internal/adapter/THEOplayerWebAdapter.js.map +1 -1
  62. package/lib/module/internal/adapter/WebEventForwarder.js +61 -10
  63. package/lib/module/internal/adapter/WebEventForwarder.js.map +1 -1
  64. package/lib/module/internal/adapter/event/native/NativeTheoLiveEvent.js +2 -2
  65. package/lib/module/internal/adapter/event/native/NativeTheoLiveEvent.js.map +1 -1
  66. package/lib/module/internal/drm/ContentProtectionRegistry.js +38 -12
  67. package/lib/module/internal/drm/ContentProtectionRegistry.js.map +1 -1
  68. package/lib/module/manifest.json +1 -1
  69. package/lib/module/plugins/typedoc-platform-icons/package-lock.json +200 -58
  70. package/lib/module/plugins/typedoc-platform-icons/package.json +1 -1
  71. package/lib/module/plugins/typedoc-platform-icons/tsconfig.json +2 -1
  72. package/lib/typescript/__tests__/ContentProtectionRegistry.test.d.ts +2 -0
  73. package/lib/typescript/__tests__/ContentProtectionRegistry.test.d.ts.map +1 -0
  74. package/lib/typescript/__tests__/NativeTheoLiveEvent.test.d.ts +2 -0
  75. package/lib/typescript/__tests__/NativeTheoLiveEvent.test.d.ts.map +1 -0
  76. package/lib/typescript/api/ads/Ad.d.ts +9 -0
  77. package/lib/typescript/api/ads/Ad.d.ts.map +1 -1
  78. package/lib/typescript/api/ads/AdBreak.d.ts +9 -0
  79. package/lib/typescript/api/ads/AdBreak.d.ts.map +1 -1
  80. package/lib/typescript/api/error/ChromecastError.d.ts +2 -2
  81. package/lib/typescript/api/player/PlayerEventMap.d.ts +1 -1
  82. package/lib/typescript/api/player/THEOplayer.d.ts +11 -0
  83. package/lib/typescript/api/player/THEOplayer.d.ts.map +1 -1
  84. package/lib/typescript/api/source/SourceDescription.d.ts +7 -0
  85. package/lib/typescript/api/source/SourceDescription.d.ts.map +1 -1
  86. package/lib/typescript/api/source/abr/SourceAbrConfiguration.d.ts +27 -0
  87. package/lib/typescript/api/source/abr/SourceAbrConfiguration.d.ts.map +1 -0
  88. package/lib/typescript/api/source/abr/barrel.d.ts +2 -0
  89. package/lib/typescript/api/source/abr/barrel.d.ts.map +1 -0
  90. package/lib/typescript/api/source/barrel.d.ts +1 -0
  91. package/lib/typescript/api/source/barrel.d.ts.map +1 -1
  92. package/lib/typescript/api/theoads/interstitial/Interstitial.d.ts +1 -1
  93. package/lib/typescript/api/theolive/TheoLiveEndpoint.d.ts +23 -5
  94. package/lib/typescript/api/theolive/TheoLiveEndpoint.d.ts.map +1 -1
  95. package/lib/typescript/api/theolive/WebrtcOptions.d.ts +1 -1
  96. package/lib/typescript/internal/adapter/DefaultNativePlayerState.d.ts +1 -0
  97. package/lib/typescript/internal/adapter/DefaultNativePlayerState.d.ts.map +1 -1
  98. package/lib/typescript/internal/adapter/NativePlayerState.d.ts +1 -0
  99. package/lib/typescript/internal/adapter/NativePlayerState.d.ts.map +1 -1
  100. package/lib/typescript/internal/adapter/THEOplayerAdapter.d.ts +2 -0
  101. package/lib/typescript/internal/adapter/THEOplayerAdapter.d.ts.map +1 -1
  102. package/lib/typescript/internal/adapter/THEOplayerWebAdapter.d.ts +2 -0
  103. package/lib/typescript/internal/adapter/THEOplayerWebAdapter.d.ts.map +1 -1
  104. package/lib/typescript/internal/adapter/WebEventForwarder.d.ts +3 -0
  105. package/lib/typescript/internal/adapter/WebEventForwarder.d.ts.map +1 -1
  106. package/lib/typescript/internal/adapter/web/PlayerFacadeAdsEvents.d.ts +2 -2
  107. package/lib/typescript/internal/adapter/web/PlayerFacadeAdsEvents.d.ts.map +1 -1
  108. package/lib/typescript/internal/drm/ContentProtectionRegistry.d.ts +3 -1
  109. package/lib/typescript/internal/drm/ContentProtectionRegistry.d.ts.map +1 -1
  110. package/lib/typescript/internal/drm/NativeContentProtectionEvent.d.ts +5 -0
  111. package/lib/typescript/internal/drm/NativeContentProtectionEvent.d.ts.map +1 -1
  112. package/package.json +5 -6
  113. package/react-native-theoplayer.podspec +6 -6
  114. package/src/__tests__/ContentProtectionRegistry.test.ts +239 -0
  115. package/src/__tests__/NativeTheoLiveEvent.test.ts +82 -0
  116. package/src/__tests__/PlayerFacadeWebAdapter.test.ts +13 -0
  117. package/src/api/ads/Ad.ts +10 -0
  118. package/src/api/ads/AdBreak.ts +10 -0
  119. package/src/api/error/ChromecastError.ts +2 -2
  120. package/src/api/player/PlayerEventMap.ts +1 -1
  121. package/src/api/player/THEOplayer.ts +12 -0
  122. package/src/api/source/SourceDescription.ts +8 -0
  123. package/src/api/source/abr/SourceAbrConfiguration.ts +27 -0
  124. package/src/api/source/abr/barrel.ts +1 -0
  125. package/src/api/source/barrel.ts +1 -0
  126. package/src/api/theoads/interstitial/Interstitial.ts +1 -1
  127. package/src/api/theolive/TheoLiveEndpoint.ts +24 -5
  128. package/src/api/theolive/WebrtcOptions.ts +1 -1
  129. package/src/internal/adapter/DefaultNativePlayerState.ts +1 -0
  130. package/src/internal/adapter/NativePlayerState.ts +1 -0
  131. package/src/internal/adapter/THEOplayerAdapter.ts +11 -0
  132. package/src/internal/adapter/THEOplayerWebAdapter.ts +15 -1
  133. package/src/internal/adapter/WebEventForwarder.ts +69 -10
  134. package/src/internal/adapter/event/native/NativeTheoLiveEvent.ts +2 -2
  135. package/src/internal/drm/ContentProtectionRegistry.ts +35 -17
  136. package/src/internal/drm/NativeContentProtectionEvent.ts +5 -0
  137. package/src/manifest.json +1 -1
  138. package/src/plugins/typedoc-platform-icons/package-lock.json +200 -58
  139. package/src/plugins/typedoc-platform-icons/package.json +1 -1
  140. package/src/plugins/typedoc-platform-icons/tsconfig.json +2 -1
  141. package/lib/typescript/plugins/expo/Common.d.ts +0 -13
  142. package/lib/typescript/plugins/expo/Common.d.ts.map +0 -1
  143. package/lib/typescript/plugins/expo/withCustomPod.d.ts +0 -2
  144. package/lib/typescript/plugins/expo/withCustomPod.d.ts.map +0 -1
  145. package/lib/typescript/plugins/expo/withTHEOplayer.d.ts +0 -4
  146. package/lib/typescript/plugins/expo/withTHEOplayer.d.ts.map +0 -1
  147. package/lib/typescript/plugins/expo/withTHEOplayerAndroid.d.ts +0 -4
  148. package/lib/typescript/plugins/expo/withTHEOplayerAndroid.d.ts.map +0 -1
  149. package/lib/typescript/plugins/expo/withTHEOplayerIOS.d.ts +0 -4
  150. package/lib/typescript/plugins/expo/withTHEOplayerIOS.d.ts.map +0 -1
  151. package/lib/typescript/plugins/typedoc-platform-icons/src/index.d.ts +0 -3
  152. package/lib/typescript/plugins/typedoc-platform-icons/src/index.d.ts.map +0 -1
@@ -35,7 +35,7 @@ interface ExtractFaiplayContentIdEvent extends NativeContentProtectionEvent {
35
35
  export class NativeContentProtectionRegistry implements ContentProtectionAPI {
36
36
  private emitter: NativeEventEmitter;
37
37
  private registeredFactories: WrappedContentProtectionIntegrationFactory[] = [];
38
- private currentIntegration: WrappedContentProtectionIntegration | undefined = undefined;
38
+ private integrations: Map<string, WrappedContentProtectionIntegration> = new Map();
39
39
 
40
40
  constructor() {
41
41
  this.emitter = new NativeEventEmitter(NativeContentProtectionModule);
@@ -45,14 +45,20 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
45
45
  this.emitter.addListener('onLicenseRequest', this.onLicenseRequest);
46
46
  this.emitter.addListener('onLicenseResponse', this.onLicenseResponse);
47
47
  this.emitter.addListener('onExtractFairplayContentId', this.onExtractFairplayContentId);
48
+ this.emitter.addListener('onIntegrationDisposed', this.onIntegrationDisposed);
48
49
  }
49
50
 
50
51
  registerContentProtectionIntegration(integrationId: string, keySystemId: KeySystemId, integrationFactory: ContentProtectionIntegrationFactory) {
51
- this.registeredFactories.push({
52
- integrationId,
53
- keySystemId,
54
- integrationFactory,
55
- });
52
+ // Replace a previous registration for the same (integrationId, keySystemId) pair:
53
+ // getFactory() matches the first entry, so pushing duplicates would leave stale
54
+ // factories active while the newly registered factory would never be used.
55
+ const existingIndex = this.registeredFactories.findIndex((f) => f.integrationId === integrationId && f.keySystemId === keySystemId);
56
+ const registration = { integrationId, keySystemId, integrationFactory };
57
+ if (existingIndex === -1) {
58
+ this.registeredFactories.push(registration);
59
+ } else {
60
+ this.registeredFactories[existingIndex] = registration;
61
+ }
56
62
  NativeContentProtectionModule.registerContentProtectionIntegration(integrationId, keySystemId);
57
63
  }
58
64
 
@@ -60,10 +66,18 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
60
66
  return this.registeredFactories.find((init) => init.integrationId === integrationId && init.keySystemId === keySystemId)?.integrationFactory;
61
67
  }
62
68
 
63
- private getIntegration(integrationId: string, keySystemId: string): ContentProtectionIntegration | undefined {
64
- return this.currentIntegration?.integrationId === integrationId && this.currentIntegration?.keySystemId === keySystemId
65
- ? this.currentIntegration?.integration
66
- : undefined;
69
+ // Each native content protection integration instance gets its own registry entry,
70
+ // keyed by the integrationInstanceId emitted in bridge events. Events from native builds
71
+ // that predate per-instance routing do not carry an integrationInstanceId; these share a
72
+ // single legacy slot, matching the previous single-integration behaviour.
73
+ private integrationKey(event: NativeContentProtectionEvent): string {
74
+ return event.integrationInstanceId ?? '';
75
+ }
76
+
77
+ private getIntegration(event: NativeContentProtectionEvent): ContentProtectionIntegration | undefined {
78
+ const { integrationId, keySystemId } = event;
79
+ const wrapped = this.integrations.get(this.integrationKey(event));
80
+ return wrapped?.integrationId === integrationId && wrapped?.keySystemId === keySystemId ? wrapped?.integration : undefined;
67
81
  }
68
82
 
69
83
  private onBuildIntegrationRequest = (event: BuildEvent) => {
@@ -71,11 +85,11 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
71
85
  console.log('NativeContentProtectionModule', `onBuildIntegrationRequest ${integrationId} ${keySystemId}`);
72
86
  const factory = this.getFactory(integrationId, keySystemId);
73
87
  if (factory) {
74
- this.currentIntegration = {
88
+ this.integrations.set(this.integrationKey(event), {
75
89
  integrationId,
76
90
  keySystemId,
77
91
  integration: factory.build(drmConfig),
78
- };
92
+ });
79
93
  NativeContentProtectionModule.onBuildProcessed({ requestId, resultString: 'success' });
80
94
  } else {
81
95
  NativeContentProtectionModule.onBuildProcessed({
@@ -88,7 +102,7 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
88
102
  private onCertificateRequest = async (request: NativeCertificateRequest) => {
89
103
  const { requestId, integrationId, keySystemId } = request;
90
104
  console.log('NativeContentProtectionModule', `onCertificateRequest ${integrationId} ${keySystemId}`);
91
- const integration = this.getIntegration(integrationId, keySystemId);
105
+ const integration = this.getIntegration(request);
92
106
  if (integration?.onCertificateRequest) {
93
107
  const result = await integration.onCertificateRequest(fromNativeCertificateRequest(request));
94
108
  // TODO: we also want to support ArrayBufferView results
@@ -107,7 +121,7 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
107
121
  private onCertificateResponse = async (response: NativeCertificateResponse) => {
108
122
  const { requestId, integrationId, keySystemId } = response;
109
123
  console.log('NativeContentProtectionModule', `onCertificateResponse ${integrationId} ${keySystemId}`);
110
- const integration = this.getIntegration(integrationId, keySystemId);
124
+ const integration = this.getIntegration(response);
111
125
  if (integration?.onCertificateResponse) {
112
126
  const responseResult = await integration.onCertificateResponse(fromNativeCertificateResponse(response));
113
127
  // TODO: we also want to support ArrayBufferView results
@@ -121,7 +135,7 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
121
135
  private onLicenseRequest = async (request: NativeLicenseRequest) => {
122
136
  const { requestId, integrationId, keySystemId } = request;
123
137
  console.log('NativeContentProtectionModule', `onLicenseRequest ${integrationId} ${keySystemId}`);
124
- const integration = this.getIntegration(integrationId, keySystemId);
138
+ const integration = this.getIntegration(request);
125
139
  // Optionally let the custom integration modify the request.
126
140
  if (integration?.onLicenseRequest) {
127
141
  const result = await integration.onLicenseRequest(fromNativeLicenseRequest(request));
@@ -141,7 +155,7 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
141
155
  private onLicenseResponse = async (response: NativeLicenseResponse) => {
142
156
  const { requestId, integrationId, keySystemId } = response;
143
157
  console.log('NativeContentProtectionModule', `onLicenseResponse ${integrationId} ${keySystemId}`);
144
- const integration = this.getIntegration(integrationId, keySystemId);
158
+ const integration = this.getIntegration(response);
145
159
  if (integration?.onLicenseResponse) {
146
160
  const responseResult = await integration.onLicenseResponse(fromNativeLicenseResponse(response));
147
161
  // TODO: we also want to support ArrayBufferView results
@@ -155,7 +169,7 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
155
169
  private onExtractFairplayContentId = async (event: ExtractFaiplayContentIdEvent) => {
156
170
  const { integrationId, keySystemId, fairplaySkdUrl, requestId } = event;
157
171
  console.log('NativeContentProtectionModule', `onExtractFairplayContentId ${integrationId} ${keySystemId}`);
158
- const integration = this.getIntegration(integrationId, keySystemId);
172
+ const integration = this.getIntegration(event);
159
173
  if (integration?.extractFairplayContentId) {
160
174
  const contentId = await integration.extractFairplayContentId(fairplaySkdUrl);
161
175
  NativeContentProtectionModule.onExtractFairplayContentIdProcessed({
@@ -170,6 +184,10 @@ export class NativeContentProtectionRegistry implements ContentProtectionAPI {
170
184
  });
171
185
  }
172
186
  };
187
+
188
+ private onIntegrationDisposed = (event: NativeContentProtectionEvent) => {
189
+ this.integrations.delete(this.integrationKey(event));
190
+ };
173
191
  }
174
192
 
175
193
  /**
@@ -2,4 +2,9 @@ export interface NativeContentProtectionEvent {
2
2
  requestId: string;
3
3
  integrationId: string;
4
4
  keySystemId: string;
5
+ /**
6
+ * Unique identifier of the native content protection integration instance that emitted the event.
7
+ * Absent on events emitted by native builds predating per-instance routing.
8
+ */
9
+ integrationInstanceId?: string;
5
10
  }
package/src/manifest.json CHANGED
@@ -1 +1 @@
1
- {"version":"11.7.0","buildDate":"2026-09-19T14:43:33.039Z"}
1
+ {"version":"11.9.0","buildDate":"2026-11-13T14:23:07.540Z"}
@@ -8,43 +8,155 @@
8
8
  "name": "typedoc-platform-icons",
9
9
  "version": "1.0.0",
10
10
  "devDependencies": {
11
- "typedoc": "^0.25.13",
11
+ "typedoc": "^0.28.20",
12
12
  "typescript": "^5.1.6"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "typedoc": "0.23.x || 0.24.x || 0.25.x || 0.26.x || 0.27.x || 0.28.x"
16
16
  }
17
17
  },
18
- "node_modules/ansi-sequence-parser": {
19
- "version": "1.1.3",
20
- "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.3.tgz",
21
- "integrity": "sha512-+fksAx9eG3Ab6LDnLs3ZqZa8KVJ/jYnX+D4Qe1azX+LFGFAXqynCQLOdLpNYN/l9e7l6hMWwZbrnctqr6eSQSw==",
18
+ "node_modules/@gerrit0/mini-shiki": {
19
+ "version": "3.23.0",
20
+ "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.23.0.tgz",
21
+ "integrity": "sha512-bEMORlG0cqdjVyCEuU0cDQbORWX+kYCeo0kV1lbxF5bt4r7SID2l9bqsxJEM0zndaxpOUT7riCyIVEuqq/Ynxg==",
22
+ "dev": true,
23
+ "license": "MIT",
24
+ "dependencies": {
25
+ "@shikijs/engine-oniguruma": "^3.23.0",
26
+ "@shikijs/langs": "^3.23.0",
27
+ "@shikijs/themes": "^3.23.0",
28
+ "@shikijs/types": "^3.23.0",
29
+ "@shikijs/vscode-textmate": "^10.0.2"
30
+ }
31
+ },
32
+ "node_modules/@shikijs/engine-oniguruma": {
33
+ "version": "3.23.0",
34
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.23.0.tgz",
35
+ "integrity": "sha512-1nWINwKXxKKLqPibT5f4pAFLej9oZzQTsby8942OTlsJzOBZ0MWKiwzMsd+jhzu8YPCHAswGnnN1YtQfirL35g==",
36
+ "dev": true,
37
+ "license": "MIT",
38
+ "dependencies": {
39
+ "@shikijs/types": "3.23.0",
40
+ "@shikijs/vscode-textmate": "^10.0.2"
41
+ }
42
+ },
43
+ "node_modules/@shikijs/langs": {
44
+ "version": "3.23.0",
45
+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.23.0.tgz",
46
+ "integrity": "sha512-2Ep4W3Re5aB1/62RSYQInK9mM3HsLeB91cHqznAJMuylqjzNVAVCMnNWRHFtcNHXsoNRayP9z1qj4Sq3nMqYXg==",
47
+ "dev": true,
48
+ "license": "MIT",
49
+ "dependencies": {
50
+ "@shikijs/types": "3.23.0"
51
+ }
52
+ },
53
+ "node_modules/@shikijs/themes": {
54
+ "version": "3.23.0",
55
+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.23.0.tgz",
56
+ "integrity": "sha512-5qySYa1ZgAT18HR/ypENL9cUSGOeI2x+4IvYJu4JgVJdizn6kG4ia5Q1jDEOi7gTbN4RbuYtmHh0W3eccOrjMA==",
57
+ "dev": true,
58
+ "license": "MIT",
59
+ "dependencies": {
60
+ "@shikijs/types": "3.23.0"
61
+ }
62
+ },
63
+ "node_modules/@shikijs/types": {
64
+ "version": "3.23.0",
65
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.23.0.tgz",
66
+ "integrity": "sha512-3JZ5HXOZfYjsYSk0yPwBrkupyYSLpAE26Qc0HLghhZNGTZg/SKxXIIgoxOpmmeQP0RRSDJTk1/vPfw9tbw+jSQ==",
67
+ "dev": true,
68
+ "license": "MIT",
69
+ "dependencies": {
70
+ "@shikijs/vscode-textmate": "^10.0.2",
71
+ "@types/hast": "^3.0.4"
72
+ }
73
+ },
74
+ "node_modules/@shikijs/vscode-textmate": {
75
+ "version": "10.1.0",
76
+ "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.1.0.tgz",
77
+ "integrity": "sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ==",
22
78
  "dev": true,
23
79
  "license": "MIT"
24
80
  },
25
- "node_modules/balanced-match": {
26
- "version": "1.0.2",
27
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
28
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
81
+ "node_modules/@types/hast": {
82
+ "version": "3.0.5",
83
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",
84
+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",
85
+ "dev": true,
86
+ "license": "MIT",
87
+ "dependencies": {
88
+ "@types/unist": "*"
89
+ }
90
+ },
91
+ "node_modules/@types/unist": {
92
+ "version": "3.0.3",
93
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
94
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
29
95
  "dev": true,
30
96
  "license": "MIT"
31
97
  },
98
+ "node_modules/argparse": {
99
+ "version": "2.0.1",
100
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
101
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
102
+ "dev": true,
103
+ "license": "Python-2.0"
104
+ },
105
+ "node_modules/balanced-match": {
106
+ "version": "4.0.4",
107
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
108
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
109
+ "dev": true,
110
+ "license": "MIT",
111
+ "engines": {
112
+ "node": "18 || 20 || >=22"
113
+ }
114
+ },
32
115
  "node_modules/brace-expansion": {
33
- "version": "2.0.2",
34
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
35
- "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
116
+ "version": "5.0.12",
117
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
118
+ "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
36
119
  "dev": true,
37
120
  "license": "MIT",
38
121
  "dependencies": {
39
- "balanced-match": "^1.0.0"
122
+ "balanced-match": "^4.0.2"
123
+ },
124
+ "engines": {
125
+ "node": "20 || >=22"
40
126
  }
41
127
  },
42
- "node_modules/jsonc-parser": {
43
- "version": "3.3.1",
44
- "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
45
- "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==",
128
+ "node_modules/entities": {
129
+ "version": "4.5.0",
130
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
131
+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
46
132
  "dev": true,
47
- "license": "MIT"
133
+ "license": "BSD-2-Clause",
134
+ "engines": {
135
+ "node": ">=0.12"
136
+ },
137
+ "funding": {
138
+ "url": "https://github.com/fb55/entities?sponsor=1"
139
+ }
140
+ },
141
+ "node_modules/linkify-it": {
142
+ "version": "5.0.2",
143
+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz",
144
+ "integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==",
145
+ "dev": true,
146
+ "funding": [
147
+ {
148
+ "type": "github",
149
+ "url": "https://github.com/sponsors/puzrin"
150
+ },
151
+ {
152
+ "type": "github",
153
+ "url": "https://github.com/sponsors/markdown-it"
154
+ }
155
+ ],
156
+ "license": "MIT",
157
+ "dependencies": {
158
+ "uc.micro": "^2.0.0"
159
+ }
48
160
  },
49
161
  "node_modules/lunr": {
50
162
  "version": "2.3.9",
@@ -53,68 +165,89 @@
53
165
  "dev": true,
54
166
  "license": "MIT"
55
167
  },
56
- "node_modules/marked": {
57
- "version": "4.3.0",
58
- "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz",
59
- "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==",
168
+ "node_modules/markdown-it": {
169
+ "version": "14.3.3",
170
+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.3.3.tgz",
171
+ "integrity": "sha512-L//tDAkjTjJCU6pBUSBTgs3Kg4InVaZuUZog/b6V12UKhcDQ7S78877ibbCanRExwPuYP1CZD7Gd2dxSy1GXRg==",
60
172
  "dev": true,
173
+ "funding": [
174
+ {
175
+ "type": "github",
176
+ "url": "https://github.com/sponsors/puzrin"
177
+ },
178
+ {
179
+ "type": "github",
180
+ "url": "https://github.com/sponsors/markdown-it"
181
+ }
182
+ ],
61
183
  "license": "MIT",
62
- "bin": {
63
- "marked": "bin/marked.js"
184
+ "dependencies": {
185
+ "argparse": "^2.0.1",
186
+ "entities": "^4.5.0",
187
+ "linkify-it": "^5.0.2",
188
+ "mdurl": "^2.0.0",
189
+ "punycode.js": "^2.3.1",
190
+ "uc.micro": "^2.1.0"
64
191
  },
65
- "engines": {
66
- "node": ">= 12"
192
+ "bin": {
193
+ "markdown-it": "bin/markdown-it.mjs"
67
194
  }
68
195
  },
196
+ "node_modules/mdurl": {
197
+ "version": "2.1.0",
198
+ "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.1.0.tgz",
199
+ "integrity": "sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==",
200
+ "dev": true,
201
+ "license": "MIT"
202
+ },
69
203
  "node_modules/minimatch": {
70
- "version": "9.0.9",
71
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
72
- "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
204
+ "version": "10.2.6",
205
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
206
+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
73
207
  "dev": true,
74
- "license": "ISC",
208
+ "license": "BlueOak-1.0.0",
75
209
  "dependencies": {
76
- "brace-expansion": "^2.0.2"
210
+ "brace-expansion": "^5.0.8"
77
211
  },
78
212
  "engines": {
79
- "node": ">=16 || 14 >=14.17"
213
+ "node": "18 || 20 || >=22"
80
214
  },
81
215
  "funding": {
82
216
  "url": "https://github.com/sponsors/isaacs"
83
217
  }
84
218
  },
85
- "node_modules/shiki": {
86
- "version": "0.14.7",
87
- "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz",
88
- "integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==",
219
+ "node_modules/punycode.js": {
220
+ "version": "2.3.1",
221
+ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz",
222
+ "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==",
89
223
  "dev": true,
90
224
  "license": "MIT",
91
- "dependencies": {
92
- "ansi-sequence-parser": "^1.1.0",
93
- "jsonc-parser": "^3.2.0",
94
- "vscode-oniguruma": "^1.7.0",
95
- "vscode-textmate": "^8.0.0"
225
+ "engines": {
226
+ "node": ">=6"
96
227
  }
97
228
  },
98
229
  "node_modules/typedoc": {
99
- "version": "0.25.13",
100
- "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.13.tgz",
101
- "integrity": "sha512-pQqiwiJ+Z4pigfOnnysObszLiU3mVLWAExSPf+Mu06G/qsc3wzbuM56SZQvONhHLncLUhYzOVkjFFpFfL5AzhQ==",
230
+ "version": "0.28.20",
231
+ "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.20.tgz",
232
+ "integrity": "sha512-uSKqkh8Cr48vllnEy+jdaAgOeR6Y+QCBW7usgUsKj7gJEfR7stw9U/fE49LBnj2tPRKPY0c0EBJSWe9Appmplg==",
102
233
  "dev": true,
103
234
  "license": "Apache-2.0",
104
235
  "dependencies": {
236
+ "@gerrit0/mini-shiki": "^3.23.0",
105
237
  "lunr": "^2.3.9",
106
- "marked": "^4.3.0",
107
- "minimatch": "^9.0.3",
108
- "shiki": "^0.14.7"
238
+ "markdown-it": "^14.3.0",
239
+ "minimatch": "^10.2.5",
240
+ "yaml": "^2.9.0"
109
241
  },
110
242
  "bin": {
111
243
  "typedoc": "bin/typedoc"
112
244
  },
113
245
  "engines": {
114
- "node": ">= 16"
246
+ "node": ">= 18",
247
+ "pnpm": ">= 10"
115
248
  },
116
249
  "peerDependencies": {
117
- "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x"
250
+ "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x || 6.0.x"
118
251
  }
119
252
  },
120
253
  "node_modules/typescript": {
@@ -131,19 +264,28 @@
131
264
  "node": ">=14.17"
132
265
  }
133
266
  },
134
- "node_modules/vscode-oniguruma": {
135
- "version": "1.7.0",
136
- "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz",
137
- "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==",
267
+ "node_modules/uc.micro": {
268
+ "version": "2.1.0",
269
+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz",
270
+ "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==",
138
271
  "dev": true,
139
272
  "license": "MIT"
140
273
  },
141
- "node_modules/vscode-textmate": {
142
- "version": "8.0.0",
143
- "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz",
144
- "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==",
274
+ "node_modules/yaml": {
275
+ "version": "2.9.1",
276
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz",
277
+ "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==",
145
278
  "dev": true,
146
- "license": "MIT"
279
+ "license": "ISC",
280
+ "bin": {
281
+ "yaml": "bin.mjs"
282
+ },
283
+ "engines": {
284
+ "node": ">= 14.6"
285
+ },
286
+ "funding": {
287
+ "url": "https://github.com/sponsors/eemeli"
288
+ }
147
289
  }
148
290
  }
149
291
  }
@@ -8,7 +8,7 @@
8
8
  "build": "tsc"
9
9
  },
10
10
  "devDependencies": {
11
- "typedoc": "^0.25.13",
11
+ "typedoc": "^0.28.20",
12
12
  "typescript": "^5.1.6"
13
13
  },
14
14
  "files": [
@@ -6,7 +6,8 @@
6
6
  "experimentalDecorators": true,
7
7
  "forceConsistentCasingInFileNames": true,
8
8
  "lib": ["es2018", "dom"],
9
- "moduleResolution": "node",
9
+ "module": "esnext",
10
+ "moduleResolution": "bundler",
10
11
  "noImplicitAny": false,
11
12
  "noUnusedLocals": true,
12
13
  "removeComments": true,
@@ -1,13 +0,0 @@
1
- export type Extension = 'ima' | 'dai' | 'cast' | 'theoads' | 'millicast' | 'sideloaded-texttracks';
2
- export interface THEOplayerPluginAndroidProps {
3
- extensions?: Extension[];
4
- }
5
- export interface THEOplayerPluginIOSProps {
6
- extensions?: Extension[];
7
- }
8
- export interface THEOplayerPluginProps {
9
- extensions?: Extension[];
10
- android?: THEOplayerPluginAndroidProps;
11
- ios?: THEOplayerPluginIOSProps;
12
- }
13
- //# sourceMappingURL=Common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Common.d.ts","sourceRoot":"","sources":["../../../../src/plugins/expo/Common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,uBAAuB,CAAC;AAEnG,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IAEpC,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IAGzB,OAAO,CAAC,EAAE,4BAA4B,CAAC;IAGvC,GAAG,CAAC,EAAE,wBAAwB,CAAC;CAChC"}
@@ -1,2 +0,0 @@
1
- export declare const withCustomPod: (config: any, podLine: string) => import("@expo/config-types").ExpoConfig;
2
- //# sourceMappingURL=withCustomPod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withCustomPod.d.ts","sourceRoot":"","sources":["../../../../src/plugins/expo/withCustomPod.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,aAAa,WAAY,GAAG,WAAW,MAAM,4CAWzD,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
2
- declare const withTHEOplayerWrapper: ConfigPlugin;
3
- export default withTHEOplayerWrapper;
4
- //# sourceMappingURL=withTHEOplayer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withTHEOplayer.d.ts","sourceRoot":"","sources":["../../../../src/plugins/expo/withTHEOplayer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAIpD,QAAA,MAAM,qBAAqB,EAAE,YAI5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
2
- import { THEOplayerPluginProps } from './Common';
3
- export declare const withTHEOplayerAndroid: ConfigPlugin<THEOplayerPluginProps>;
4
- //# sourceMappingURL=withTHEOplayerAndroid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withTHEOplayerAndroid.d.ts","sourceRoot":"","sources":["../../../../src/plugins/expo/withTHEOplayerAndroid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAgD,MAAM,sBAAsB,CAAC;AAElG,OAAO,EAAE,qBAAqB,EAAa,MAAM,UAAU,CAAC;AAgC5D,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,qBAAqB,CAkBrE,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
2
- import { THEOplayerPluginProps } from './Common';
3
- export declare const withTHEOplayerIOS: ConfigPlugin<THEOplayerPluginProps>;
4
- //# sourceMappingURL=withTHEOplayerIOS.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withTHEOplayerIOS.d.ts","sourceRoot":"","sources":["../../../../src/plugins/expo/withTHEOplayerIOS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAa,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAuC5D,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,qBAAqB,CAGjE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Application } from 'typedoc';
2
- export declare function load(app: Application): void;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/typedoc-platform-icons/src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAiD,MAAM,SAAS,CAAC;AAsCrF,wBAAgB,IAAI,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAmD3C"}