@mux/mux-audio-react 0.10.0 → 0.10.1-canary.0-27fbd9f

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/CHANGELOG.md ADDED
@@ -0,0 +1,394 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [0.10.1](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.10.0...@mux/mux-audio-react@0.10.1) (2024-07-10)
7
+
8
+ **Note:** Version bump only for package @mux/mux-audio-react
9
+
10
+
11
+
12
+
13
+
14
+ # [0.10.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.9.0...@mux/mux-audio-react@0.10.0) (2024-05-28)
15
+
16
+
17
+ ### Features
18
+
19
+ * **mux-player, mux-player-react, mux-video, mux-video-react, mux-audio, mux-audio-react, playback-core:** pdt clipping ([#923](https://github.com/muxinc/elements/issues/923)) ([22e9b06](https://github.com/muxinc/elements/commit/22e9b06e2e0913a6c34ebea53f4bbeded969b5a4))
20
+
21
+
22
+
23
+
24
+
25
+ # [0.9.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.8.0...@mux/mux-audio-react@0.9.0) (2024-05-03)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * passthrough props to native media els ([#912](https://github.com/muxinc/elements/issues/912)) ([88a63db](https://github.com/muxinc/elements/commit/88a63db7dadc9aa3e09402f7c1be79a278b97c06))
31
+
32
+
33
+ ### Features
34
+
35
+ * **mux-player-react, mux-uploader-react, mux-audio-react, mux-video-react:** add client component directive ([#911](https://github.com/muxinc/elements/issues/911)) ([76aa003](https://github.com/muxinc/elements/commit/76aa003e9ad9488509650970b971edd3ed463592))
36
+
37
+
38
+
39
+
40
+
41
+ # [0.8.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.7.5...@mux/mux-audio-react@0.8.0) (2024-04-18)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * upgrade media-chrome, upchunk, React types ([#904](https://github.com/muxinc/elements/issues/904)) ([1090ad6](https://github.com/muxinc/elements/commit/1090ad690261acd7ac1ab68b45801c46be1c2d0c))
47
+ * upgrade mux-embed v5.2.0 & media-chrome v3.2.0 ([#897](https://github.com/muxinc/elements/issues/897)) ([fd91d94](https://github.com/muxinc/elements/commit/fd91d946ee2f8e58e05551fcb247422de6fbb761))
48
+
49
+
50
+ ### Features
51
+
52
+ * add `disable-tracking` attribute and prop ([#900](https://github.com/muxinc/elements/issues/900)) ([0f5966e](https://github.com/muxinc/elements/commit/0f5966ec6cdf3cacde017a4ddd9c388bea3168d7))
53
+
54
+
55
+
56
+
57
+
58
+ ## [0.7.5](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.7.4...@mux/mux-audio-react@0.7.5) (2024-03-29)
59
+
60
+ **Note:** Version bump only for package @mux/mux-audio-react
61
+
62
+
63
+
64
+
65
+
66
+ ## [0.7.4](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.7.3...@mux/mux-audio-react@0.7.4) (2024-03-20)
67
+
68
+ **Note:** Version bump only for package @mux/mux-audio-react
69
+
70
+
71
+
72
+
73
+
74
+ ## [0.7.3](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.7.2...@mux/mux-audio-react@0.7.3) (2024-02-16)
75
+
76
+ **Note:** Version bump only for package @mux/mux-audio-react
77
+
78
+
79
+
80
+
81
+
82
+ ## [0.7.2](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.7.1...@mux/mux-audio-react@0.7.2) (2024-01-02)
83
+
84
+ **Note:** Version bump only for package @mux/mux-audio-react
85
+
86
+
87
+
88
+
89
+
90
+ ## [0.7.1](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.7.0...@mux/mux-audio-react@0.7.1) (2023-12-07)
91
+
92
+
93
+ ### Bug Fixes
94
+
95
+ * Adding unofficial _hlsConfig to media elements and playback core. ([#833](https://github.com/muxinc/elements/issues/833)) ([b86f6e6](https://github.com/muxinc/elements/commit/b86f6e6eb2c116d1d676fbaecd46d77a0baa3416)), closes [#792](https://github.com/muxinc/elements/issues/792)
96
+
97
+
98
+
99
+
100
+
101
+ # [0.7.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.21...@mux/mux-audio-react@0.7.0) (2023-10-24)
102
+
103
+
104
+ ### Features
105
+
106
+ * Manifest manipulation and other media stream query param props. ([954b2c8](https://github.com/muxinc/elements/commit/954b2c80d7df88bb4585c46a15dd1185d56dcf9a))
107
+
108
+
109
+
110
+
111
+
112
+ ## [0.6.21](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.20...@mux/mux-audio-react@0.6.21) (2023-10-03)
113
+
114
+ **Note:** Version bump only for package @mux/mux-audio-react
115
+
116
+
117
+
118
+
119
+
120
+ ## [0.6.20](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.19...@mux/mux-audio-react@0.6.20) (2023-09-05)
121
+
122
+ **Note:** Version bump only for package @mux/mux-audio-react
123
+
124
+
125
+
126
+
127
+
128
+ ## [0.6.19](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.18...@mux/mux-audio-react@0.6.19) (2023-08-30)
129
+
130
+ **Note:** Version bump only for package @mux/mux-audio-react
131
+
132
+
133
+
134
+
135
+
136
+ ## [0.6.18](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.17...@mux/mux-audio-react@0.6.18) (2023-08-23)
137
+
138
+ **Note:** Version bump only for package @mux/mux-audio-react
139
+
140
+
141
+
142
+
143
+
144
+ ## [0.6.17](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.16...@mux/mux-audio-react@0.6.17) (2023-08-15)
145
+
146
+
147
+ ### Bug Fixes
148
+
149
+ * Reverting packages type (defaults to cjs) for accuracy per node … ([#745](https://github.com/muxinc/elements/issues/745)) ([9e7a171](https://github.com/muxinc/elements/commit/9e7a17113e14b711c8da9b1bdafe65ee86454b3b))
150
+
151
+
152
+
153
+
154
+
155
+ ## [0.6.16](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.15...@mux/mux-audio-react@0.6.16) (2023-08-14)
156
+
157
+ **Note:** Version bump only for package @mux/mux-audio-react
158
+
159
+
160
+
161
+
162
+
163
+ ## [0.6.15](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.14...@mux/mux-audio-react@0.6.15) (2023-07-07)
164
+
165
+ **Note:** Version bump only for package @mux/mux-audio-react
166
+
167
+
168
+
169
+
170
+
171
+ ## [0.6.14](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.13...@mux/mux-audio-react@0.6.14) (2023-06-29)
172
+
173
+ **Note:** Version bump only for package @mux/mux-audio-react
174
+
175
+
176
+
177
+
178
+
179
+ ## [0.6.13](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.12...@mux/mux-audio-react@0.6.13) (2023-06-12)
180
+
181
+ **Note:** Version bump only for package @mux/mux-audio-react
182
+
183
+
184
+
185
+
186
+
187
+ ## [0.6.12](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.11...@mux/mux-audio-react@0.6.12) (2023-06-06)
188
+
189
+ **Note:** Version bump only for package @mux/mux-audio-react
190
+
191
+
192
+
193
+
194
+
195
+ ## [0.6.11](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.10...@mux/mux-audio-react@0.6.11) (2023-05-08)
196
+
197
+ **Note:** Version bump only for package @mux/mux-audio-react
198
+
199
+
200
+
201
+
202
+
203
+ ## [0.6.10](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.9...@mux/mux-audio-react@0.6.10) (2023-04-24)
204
+
205
+ **Note:** Version bump only for package @mux/mux-audio-react
206
+
207
+
208
+
209
+
210
+
211
+ ## [0.6.9](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.8...@mux/mux-audio-react@0.6.9) (2023-04-14)
212
+
213
+ **Note:** Version bump only for package @mux/mux-audio-react
214
+
215
+
216
+
217
+
218
+
219
+ ## [0.6.8](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.7...@mux/mux-audio-react@0.6.8) (2023-03-31)
220
+
221
+
222
+ ### Bug Fixes
223
+
224
+ * update typedefs, disable skipLibChecks in tsconfig ([#601](https://github.com/muxinc/elements/issues/601)) ([1664aec](https://github.com/muxinc/elements/commit/1664aec20e4cf4a59779848b298d4504eef24080))
225
+
226
+
227
+
228
+
229
+
230
+ ## [0.6.7](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.6...@mux/mux-audio-react@0.6.7) (2023-02-15)
231
+
232
+ **Note:** Version bump only for package @mux/mux-audio-react
233
+
234
+
235
+
236
+
237
+
238
+ ## [0.6.6](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.5...@mux/mux-audio-react@0.6.6) (2023-02-14)
239
+
240
+ **Note:** Version bump only for package @mux/mux-audio-react
241
+
242
+
243
+
244
+
245
+
246
+ ## [0.6.5](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.4...@mux/mux-audio-react@0.6.5) (2023-02-02)
247
+
248
+ **Note:** Version bump only for package @mux/mux-audio-react
249
+
250
+
251
+
252
+
253
+
254
+ ## [0.6.4](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.3...@mux/mux-audio-react@0.6.4) (2023-02-01)
255
+
256
+ **Note:** Version bump only for package @mux/mux-audio-react
257
+
258
+
259
+
260
+
261
+
262
+ ## [0.6.3](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.2...@mux/mux-audio-react@0.6.3) (2023-01-20)
263
+
264
+
265
+ ### Bug Fixes
266
+
267
+ * MuxAudioReact mem leak ([e707c8c](https://github.com/muxinc/elements/commit/e707c8ce4589e15b51343f24d700b952ffc38988))
268
+
269
+
270
+
271
+
272
+
273
+ ## [0.6.2](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.1...@mux/mux-audio-react@0.6.2) (2022-12-13)
274
+
275
+ **Note:** Version bump only for package @mux/mux-audio-react
276
+
277
+
278
+
279
+
280
+
281
+ ## [0.6.1](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.6.0...@mux/mux-audio-react@0.6.1) (2022-11-21)
282
+
283
+
284
+ ### Bug Fixes
285
+
286
+ * add async effect for loading media ([#492](https://github.com/muxinc/elements/issues/492)) ([d2b250a](https://github.com/muxinc/elements/commit/d2b250a2d86e4e6a4c17fc34196e6468c4fedf1f))
287
+
288
+
289
+
290
+
291
+
292
+ # [0.6.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.5.0...@mux/mux-audio-react@0.6.0) (2022-10-25)
293
+
294
+
295
+ ### Features
296
+
297
+ * **mux-audio-react:** Add disable cookies prop. ([a025fe7](https://github.com/muxinc/elements/commit/a025fe7b93ddb83cd378ebe444ffc94ce5d76758))
298
+
299
+
300
+
301
+
302
+
303
+ # [0.5.0](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.4.3...@mux/mux-audio-react@0.5.0) (2022-10-05)
304
+
305
+ ### Bug Fixes
306
+
307
+ - preload playback core change ([15313ea](https://github.com/muxinc/elements/commit/15313eaad81f748b5853a0fdaabfe141963f885e))
308
+
309
+ ### Features
310
+
311
+ - add `prefer-playback` attribute ([#402](https://github.com/muxinc/elements/issues/402)) ([8da36d6](https://github.com/muxinc/elements/commit/8da36d6b597ddbc4ae006873fee13a971b7ec2f3))
312
+
313
+ ## [0.4.3](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.4.2...@mux/mux-audio-react@0.4.3) (2022-09-16)
314
+
315
+ **Note:** Version bump only for package @mux/mux-audio-react
316
+
317
+ ## [0.4.2](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.4.1...@mux/mux-audio-react@0.4.2) (2022-08-31)
318
+
319
+ **Note:** Version bump only for package @mux/mux-audio-react
320
+
321
+ ## [0.4.1](https://github.com/muxinc/elements/compare/@mux/mux-audio-react@0.4.0...@mux/mux-audio-react@0.4.1) (2022-07-21)
322
+
323
+ **Note:** Version bump only for package @mux/mux-audio-react
324
+
325
+ # 0.4.0 (2022-07-05)
326
+
327
+ ### Bug Fixes
328
+
329
+ - **mux-audio-react:** use generateInitTime() instead of Date.now. ([d60f98c](https://github.com/muxinc/elements/commit/d60f98c3f9d626c2a0cb656ccafbb21b4802ca13))
330
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
331
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
332
+ - update react peerDependencies to allow ^18 ([1cfb019](https://github.com/muxinc/elements/commit/1cfb019b71cf9aa280abccaf4a7818d585b56d86))
333
+
334
+ ### Features
335
+
336
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
337
+ - Extended autoplay options ([#116](https://github.com/muxinc/elements/issues/116)) ([475e838](https://github.com/muxinc/elements/commit/475e83884f641c578fa601c9501147d485fc1831))
338
+
339
+ ## [0.3.11](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.10...@mux-elements/mux-audio-react@0.3.11) (2022-06-23)
340
+
341
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
342
+
343
+ ## [0.3.10](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.9...@mux-elements/mux-audio-react@0.3.10) (2022-06-06)
344
+
345
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
346
+
347
+ ## [0.3.9](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.8...@mux-elements/mux-audio-react@0.3.9) (2022-05-26)
348
+
349
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
350
+
351
+ ## [0.3.8](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.7...@mux-elements/mux-audio-react@0.3.8) (2022-05-23)
352
+
353
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
354
+
355
+ ## [0.3.7](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.6...@mux-elements/mux-audio-react@0.3.7) (2022-05-20)
356
+
357
+ ### Bug Fixes
358
+
359
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
360
+
361
+ ## [0.3.6](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.5...@mux-elements/mux-audio-react@0.3.6) (2022-05-10)
362
+
363
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
364
+
365
+ ## [0.3.5](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.4...@mux-elements/mux-audio-react@0.3.5) (2022-05-03)
366
+
367
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
368
+
369
+ ## [0.3.4](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.3...@mux-elements/mux-audio-react@0.3.4) (2022-04-22)
370
+
371
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
372
+
373
+ ## [0.3.3](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.2...@mux-elements/mux-audio-react@0.3.3) (2022-04-18)
374
+
375
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
376
+
377
+ ## [0.3.2](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.1...@mux-elements/mux-audio-react@0.3.2) (2022-04-12)
378
+
379
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
380
+
381
+ ## [0.3.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.3.0...@mux-elements/mux-audio-react@0.3.1) (2022-04-01)
382
+
383
+ **Note:** Version bump only for package @mux-elements/mux-audio-react
384
+
385
+ # [0.3.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio-react@0.2.0...@mux-elements/mux-audio-react@0.3.0) (2022-03-28)
386
+
387
+ ### Bug Fixes
388
+
389
+ - **mux-audio-react:** use generateInitTime() instead of Date.now. ([d60f98c](https://github.com/muxinc/elements/commit/d60f98c3f9d626c2a0cb656ccafbb21b4802ca13))
390
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
391
+
392
+ ### Features
393
+
394
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
package/dist/cjs.json ADDED
@@ -0,0 +1,97 @@
1
+ {
2
+ "inputs": {
3
+ "src/use-combined-refs.ts": {
4
+ "bytes": 831,
5
+ "imports": [
6
+ {
7
+ "path": "react",
8
+ "kind": "import-statement",
9
+ "external": true
10
+ }
11
+ ],
12
+ "format": "esm"
13
+ },
14
+ "src/env.ts": {
15
+ "bytes": 391,
16
+ "imports": [],
17
+ "format": "esm"
18
+ },
19
+ "src/index.tsx": {
20
+ "bytes": 3466,
21
+ "imports": [
22
+ {
23
+ "path": "src/use-combined-refs.ts",
24
+ "kind": "import-statement",
25
+ "original": "./use-combined-refs"
26
+ },
27
+ {
28
+ "path": "react",
29
+ "kind": "import-statement",
30
+ "external": true
31
+ },
32
+ {
33
+ "path": "prop-types",
34
+ "kind": "import-statement",
35
+ "external": true
36
+ },
37
+ {
38
+ "path": "@mux/playback-core",
39
+ "kind": "import-statement",
40
+ "external": true
41
+ },
42
+ {
43
+ "path": "src/env.ts",
44
+ "kind": "import-statement",
45
+ "original": "./env"
46
+ }
47
+ ],
48
+ "format": "esm"
49
+ }
50
+ },
51
+ "outputs": {
52
+ "dist/index.cjs.js.map": {
53
+ "imports": [],
54
+ "exports": [],
55
+ "inputs": {},
56
+ "bytes": 8006
57
+ },
58
+ "dist/index.cjs.js": {
59
+ "imports": [
60
+ {
61
+ "path": "react",
62
+ "kind": "require-call",
63
+ "external": true
64
+ },
65
+ {
66
+ "path": "react",
67
+ "kind": "require-call",
68
+ "external": true
69
+ },
70
+ {
71
+ "path": "prop-types",
72
+ "kind": "require-call",
73
+ "external": true
74
+ },
75
+ {
76
+ "path": "@mux/playback-core",
77
+ "kind": "require-call",
78
+ "external": true
79
+ }
80
+ ],
81
+ "exports": [],
82
+ "entryPoint": "src/index.tsx",
83
+ "inputs": {
84
+ "src/index.tsx": {
85
+ "bytesInOutput": 1949
86
+ },
87
+ "src/use-combined-refs.ts": {
88
+ "bytesInOutput": 170
89
+ },
90
+ "src/env.ts": {
91
+ "bytesInOutput": 68
92
+ }
93
+ },
94
+ "bytes": 2809
95
+ }
96
+ }
97
+ }
package/dist/esm.json ADDED
@@ -0,0 +1,99 @@
1
+ {
2
+ "inputs": {
3
+ "src/use-combined-refs.ts": {
4
+ "bytes": 831,
5
+ "imports": [
6
+ {
7
+ "path": "react",
8
+ "kind": "import-statement",
9
+ "external": true
10
+ }
11
+ ],
12
+ "format": "esm"
13
+ },
14
+ "src/env.ts": {
15
+ "bytes": 391,
16
+ "imports": [],
17
+ "format": "esm"
18
+ },
19
+ "src/index.tsx": {
20
+ "bytes": 3466,
21
+ "imports": [
22
+ {
23
+ "path": "src/use-combined-refs.ts",
24
+ "kind": "import-statement",
25
+ "original": "./use-combined-refs"
26
+ },
27
+ {
28
+ "path": "react",
29
+ "kind": "import-statement",
30
+ "external": true
31
+ },
32
+ {
33
+ "path": "prop-types",
34
+ "kind": "import-statement",
35
+ "external": true
36
+ },
37
+ {
38
+ "path": "@mux/playback-core",
39
+ "kind": "import-statement",
40
+ "external": true
41
+ },
42
+ {
43
+ "path": "src/env.ts",
44
+ "kind": "import-statement",
45
+ "original": "./env"
46
+ }
47
+ ],
48
+ "format": "esm"
49
+ }
50
+ },
51
+ "outputs": {
52
+ "dist/index.mjs.map": {
53
+ "imports": [],
54
+ "exports": [],
55
+ "inputs": {},
56
+ "bytes": 8240
57
+ },
58
+ "dist/index.mjs": {
59
+ "imports": [
60
+ {
61
+ "path": "react",
62
+ "kind": "import-statement",
63
+ "external": true
64
+ },
65
+ {
66
+ "path": "react",
67
+ "kind": "import-statement",
68
+ "external": true
69
+ },
70
+ {
71
+ "path": "prop-types",
72
+ "kind": "import-statement",
73
+ "external": true
74
+ },
75
+ {
76
+ "path": "@mux/playback-core",
77
+ "kind": "import-statement",
78
+ "external": true
79
+ }
80
+ ],
81
+ "exports": [
82
+ "default"
83
+ ],
84
+ "entryPoint": "src/index.tsx",
85
+ "inputs": {
86
+ "src/use-combined-refs.ts": {
87
+ "bytesInOutput": 173
88
+ },
89
+ "src/index.tsx": {
90
+ "bytesInOutput": 1630
91
+ },
92
+ "src/env.ts": {
93
+ "bytesInOutput": 68
94
+ }
95
+ },
96
+ "bytes": 1941
97
+ }
98
+ }
99
+ }
package/dist/index.cjs.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";"use client";var v=Object.create;var p=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var L=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var H=(t,r)=>{for(var o in r)p(t,o,{get:r[o],enumerable:!0})},M=(t,r,o,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of A(r))!w.call(t,s)&&s!==o&&p(t,s,{get:()=>r[s],enumerable:!(u=S(r,s))||u.enumerable});return t};var O=(t,r,o)=>(o=t!=null?v(L(t)):{},M(r||!t||!t.__esModule?p(o,"default",{value:t,enumerable:!0}):o,t)),I=t=>M(p({},"__esModule",{value:!0}),t);var W={};H(W,{default:()=>U});module.exports=I(W);var f=require("react"),P=(...t)=>{let r=(0,f.useRef)(null);return(0,f.useEffect)(()=>{t.forEach(o=>{o&&(typeof o=="function"?o(r.current):o.current=r.current)})},[t]),r};var a=O(require("react")),e=O(require("prop-types")),n=require("@mux/playback-core");var V=()=>{try{return"0.10.0"}catch{}return"UNKNOWN"},h=V(),g=()=>h;var N=g(),D="mux-audio-react",y=a.default.forwardRef((t,r)=>{var R;let{playbackId:o,src:u,children:s,autoPlay:d,preload:m,...E}=t,x=Object.fromEntries(Object.entries(E).filter(([i])=>!Object.keys(y.propTypes).includes(i))),[C]=(0,a.useState)((0,n.generatePlayerInitTime)()),[b,k]=(0,a.useState)((R=(0,n.toMuxVideoURL)(t))!=null?R:u),c=(0,a.useRef)(void 0),j=(0,a.useRef)(null),T=P(j,r);return(0,a.useEffect)(()=>{var i;k((i=(0,n.toMuxVideoURL)(t))!=null?i:u)},[u,o]),(0,a.useEffect)(()=>{let i={...t,src:b,playerInitTime:C,playerSoftwareName:D,playerSoftwareVersion:N,autoplay:d},l=T.current;return l&&(c.current=(0,n.initialize)(i,l,c.current)),()=>{(0,n.teardown)(l,c.current),l=void 0,c.current=void 0}},[b]),(0,a.useEffect)(()=>{var i;(i=c.current)==null||i.setAutoplay(d)},[d]),(0,a.useEffect)(()=>{var i;(i=c.current)==null||i.setPreload(m)},[m]),a.default.createElement("audio",{ref:T,...x},s)});y.propTypes={_hlsConfig:e.default.any,beaconCollectionDomain:e.default.string,customDomain:e.default.string,debug:e.default.bool,disableCookies:e.default.bool,disableTracking:e.default.bool,envKey:e.default.string,errorTranslator:e.default.any,liveEdgeStart:e.default.number,maxResolution:e.default.oneOf(["720p","1080p","1440p","2160p"]),metadata:e.default.any,minResolution:e.default.oneOf(["480p","540p","720p","1080p","1440p","2160p"]),playbackId:e.default.string,playerInitTime:e.default.number,preferCmcd:e.default.oneOf(Object.values(n.CmcdTypes)),programStartTime:e.default.number,programEndTime:e.default.number,preferPlayback:e.default.oneOf(Object.values(n.PlaybackTypes)),renditionOrder:e.default.oneOf(["desc"]),startTime:e.default.number,streamType:e.default.oneOf(Object.values(n.StreamTypes)),targetLiveWindow:e.default.number,tokens:e.default.any,type:e.default.oneOf(n.allMediaTypes)};var U=y;
1
+ "use strict";"use client";var v=Object.create;var p=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var L=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var H=(t,r)=>{for(var o in r)p(t,o,{get:r[o],enumerable:!0})},M=(t,r,o,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of A(r))!w.call(t,s)&&s!==o&&p(t,s,{get:()=>r[s],enumerable:!(u=S(r,s))||u.enumerable});return t};var O=(t,r,o)=>(o=t!=null?v(L(t)):{},M(r||!t||!t.__esModule?p(o,"default",{value:t,enumerable:!0}):o,t)),I=t=>M(p({},"__esModule",{value:!0}),t);var W={};H(W,{default:()=>U});module.exports=I(W);var f=require("react"),P=(...t)=>{let r=(0,f.useRef)(null);return(0,f.useEffect)(()=>{t.forEach(o=>{o&&(typeof o=="function"?o(r.current):o.current=r.current)})},[t]),r};var a=O(require("react")),e=O(require("prop-types")),n=require("@mux/playback-core");var V=()=>{try{return"0.10.1"}catch{}return"UNKNOWN"},h=V(),g=()=>h;var N=g(),D="mux-audio-react",y=a.default.forwardRef((t,r)=>{var R;let{playbackId:o,src:u,children:s,autoPlay:d,preload:m,...E}=t,x=Object.fromEntries(Object.entries(E).filter(([i])=>!Object.keys(y.propTypes).includes(i))),[C]=(0,a.useState)((0,n.generatePlayerInitTime)()),[b,k]=(0,a.useState)((R=(0,n.toMuxVideoURL)(t))!=null?R:u),c=(0,a.useRef)(void 0),j=(0,a.useRef)(null),T=P(j,r);return(0,a.useEffect)(()=>{var i;k((i=(0,n.toMuxVideoURL)(t))!=null?i:u)},[u,o]),(0,a.useEffect)(()=>{let i={...t,src:b,playerInitTime:C,playerSoftwareName:D,playerSoftwareVersion:N,autoplay:d},l=T.current;return l&&(c.current=(0,n.initialize)(i,l,c.current)),()=>{(0,n.teardown)(l,c.current),l=void 0,c.current=void 0}},[b]),(0,a.useEffect)(()=>{var i;(i=c.current)==null||i.setAutoplay(d)},[d]),(0,a.useEffect)(()=>{var i;(i=c.current)==null||i.setPreload(m)},[m]),a.default.createElement("audio",{ref:T,...x},s)});y.propTypes={_hlsConfig:e.default.any,beaconCollectionDomain:e.default.string,customDomain:e.default.string,debug:e.default.bool,disableCookies:e.default.bool,disableTracking:e.default.bool,envKey:e.default.string,errorTranslator:e.default.any,liveEdgeStart:e.default.number,maxResolution:e.default.oneOf(["720p","1080p","1440p","2160p"]),metadata:e.default.any,minResolution:e.default.oneOf(["480p","540p","720p","1080p","1440p","2160p"]),playbackId:e.default.string,playerInitTime:e.default.number,preferCmcd:e.default.oneOf(Object.values(n.CmcdTypes)),programStartTime:e.default.number,programEndTime:e.default.number,preferPlayback:e.default.oneOf(Object.values(n.PlaybackTypes)),renditionOrder:e.default.oneOf(["desc"]),startTime:e.default.number,streamType:e.default.oneOf(Object.values(n.StreamTypes)),targetLiveWindow:e.default.number,tokens:e.default.any,type:e.default.oneOf(n.allMediaTypes)};var U=y;
2
2
  //# sourceMappingURL=index.cjs.js.map
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";import{useEffect as j,useRef as v}from"react";var m=(...r)=>{let a=v(null);return j(()=>{r.forEach(n=>{n&&(typeof n=="function"?n(a.current):n.current=a.current)})},[r]),a};import T,{useEffect as s,useRef as R,useState as M}from"react";import e from"prop-types";import{allMediaTypes as L,initialize as w,teardown as H,StreamTypes as I,PlaybackTypes as V,toMuxVideoURL as O,generatePlayerInitTime as h,CmcdTypes as N}from"@mux/playback-core";var S=()=>{try{return"0.10.0"}catch{}return"UNKNOWN"},A=S(),b=()=>A;var D=b(),U="mux-audio-react",l=T.forwardRef((r,a)=>{var y;let{playbackId:n,src:u,children:P,autoPlay:c,preload:p,...g}=r,E=Object.fromEntries(Object.entries(g).filter(([t])=>!Object.keys(l.propTypes).includes(t))),[x]=M(h()),[f,C]=M((y=O(r))!=null?y:u),o=R(void 0),k=R(null),d=m(k,a);return s(()=>{var t;C((t=O(r))!=null?t:u)},[u,n]),s(()=>{let t={...r,src:f,playerInitTime:x,playerSoftwareName:U,playerSoftwareVersion:D,autoplay:c},i=d.current;return i&&(o.current=w(t,i,o.current)),()=>{H(i,o.current),i=void 0,o.current=void 0}},[f]),s(()=>{var t;(t=o.current)==null||t.setAutoplay(c)},[c]),s(()=>{var t;(t=o.current)==null||t.setPreload(p)},[p]),T.createElement("audio",{ref:d,...E},P)});l.propTypes={_hlsConfig:e.any,beaconCollectionDomain:e.string,customDomain:e.string,debug:e.bool,disableCookies:e.bool,disableTracking:e.bool,envKey:e.string,errorTranslator:e.any,liveEdgeStart:e.number,maxResolution:e.oneOf(["720p","1080p","1440p","2160p"]),metadata:e.any,minResolution:e.oneOf(["480p","540p","720p","1080p","1440p","2160p"]),playbackId:e.string,playerInitTime:e.number,preferCmcd:e.oneOf(Object.values(N)),programStartTime:e.number,programEndTime:e.number,preferPlayback:e.oneOf(Object.values(V)),renditionOrder:e.oneOf(["desc"]),startTime:e.number,streamType:e.oneOf(Object.values(I)),targetLiveWindow:e.number,tokens:e.any,type:e.oneOf(L)};var Q=l;export{Q as default};
1
+ "use client";import{useEffect as j,useRef as v}from"react";var m=(...r)=>{let a=v(null);return j(()=>{r.forEach(n=>{n&&(typeof n=="function"?n(a.current):n.current=a.current)})},[r]),a};import T,{useEffect as s,useRef as R,useState as M}from"react";import e from"prop-types";import{allMediaTypes as L,initialize as w,teardown as H,StreamTypes as I,PlaybackTypes as V,toMuxVideoURL as O,generatePlayerInitTime as h,CmcdTypes as N}from"@mux/playback-core";var S=()=>{try{return"0.10.1"}catch{}return"UNKNOWN"},A=S(),b=()=>A;var D=b(),U="mux-audio-react",l=T.forwardRef((r,a)=>{var y;let{playbackId:n,src:u,children:P,autoPlay:c,preload:p,...g}=r,E=Object.fromEntries(Object.entries(g).filter(([t])=>!Object.keys(l.propTypes).includes(t))),[x]=M(h()),[f,C]=M((y=O(r))!=null?y:u),o=R(void 0),k=R(null),d=m(k,a);return s(()=>{var t;C((t=O(r))!=null?t:u)},[u,n]),s(()=>{let t={...r,src:f,playerInitTime:x,playerSoftwareName:U,playerSoftwareVersion:D,autoplay:c},i=d.current;return i&&(o.current=w(t,i,o.current)),()=>{H(i,o.current),i=void 0,o.current=void 0}},[f]),s(()=>{var t;(t=o.current)==null||t.setAutoplay(c)},[c]),s(()=>{var t;(t=o.current)==null||t.setPreload(p)},[p]),T.createElement("audio",{ref:d,...E},P)});l.propTypes={_hlsConfig:e.any,beaconCollectionDomain:e.string,customDomain:e.string,debug:e.bool,disableCookies:e.bool,disableTracking:e.bool,envKey:e.string,errorTranslator:e.any,liveEdgeStart:e.number,maxResolution:e.oneOf(["720p","1080p","1440p","2160p"]),metadata:e.any,minResolution:e.oneOf(["480p","540p","720p","1080p","1440p","2160p"]),playbackId:e.string,playerInitTime:e.number,preferCmcd:e.oneOf(Object.values(N)),programStartTime:e.number,programEndTime:e.number,preferPlayback:e.oneOf(Object.values(V)),renditionOrder:e.oneOf(["desc"]),startTime:e.number,streamType:e.oneOf(Object.values(I)),targetLiveWindow:e.number,tokens:e.any,type:e.oneOf(L)};var Q=l;export{Q as default};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2019.full.d.ts","../src/env.ts","../../../node_modules/@types/react/ts5.0/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/ts5.0/index.d.ts","../src/use-combined-refs.ts","../../../node_modules/mux-embed/dist/types/mux-embed.d.ts","../../../node_modules/hls.js/dist/hls.js.d.ts","../../playback-core/dist/types/hls.d.ts","../../playback-core/dist/types/errors.d.ts","../../playback-core/dist/types/types.d.ts","../../playback-core/dist/types/text-tracks.d.ts","../../playback-core/dist/types/pdt.d.ts","../../playback-core/dist/types/index.d.ts","../src/index.tsx"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f",{"version":"1ee6056d39213c8481cc8af4adb2b1dc373e15e8b2b9864739e6c0b2da60cf1d","signature":"28f2af136cd97b7c5011ec7fd601841b37499ab89ecb7f1594b2903a9ce5b2aa"},{"version":"55461596dc873b866911ef4e640fae4c39da7ac1fbc7ef5e649cb2f2fb42c349","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","247a952efd811d780e5630f8cfd76f495196f5fa74f6f0fee39ac8ba4a3c9800",{"version":"92101752f0ae0af727f9f99c6958381faacf414c6ca0b18b6eab5dbab44f8a67","affectsGlobalScope":true},{"version":"6ed9dc3c705f9e967631479b016db394cac15a29de4d6361664a2e98d1d6dfe7","signature":"405e223d3a5021ca1b76c68b32713c6df3bd17980a8474f85fd1bcbd0630268e"},{"version":"5b5c872830a799ebdd42d46b0554ac3ec447dda8e96cbe30e6f55dfabcf224b1","affectsGlobalScope":true},"92361bb81bc685fd927aa2c6131a0a5e5c5e4a4e3c22ea1c25ce0d18d81a0f03","c13fb8c7fdb84f3c59470c672220c380ac26ffb099721ccebba3c53971cb700d","de64daa4e510abaaf4b4970c6dd37e39c3b8a263cccbeb80a41c69ae5a2a34ba","5c0f78ff3c941f455647f5ae40be17dd6992cf4b77838b3b4dbbc181c0a7f7a9","19afd7f4812facaa313356113070795a2fe90fcef4bfe6462db0dcbc503c92f1","dccea7b665fe08ed006acd191a7e68123ba7ec49848ac7c28a164962bf21254e","294f3ca7dd33d96cd06a1f9c3f4474abe61d58b94af8c208b892e7319d5568e3",{"version":"56da77c4c2701705a8b5df7098da4683911d7bd6ca4efdd00c20f2abfb400953","signature":"4ac9a69ec88806f2f9d46cc5b81f2e542e3853928231f63b3e931cc7b1b1efd9"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":5,"noImplicitAny":true,"outDir":"./types","rootDir":"../src","skipLibCheck":false,"sourceMap":true,"strict":true,"target":6},"fileIdsList":[[38,39,40],[37,40,41,42,50],[41],[44],[43,45,46,47,48,49],[47],[45,47],[43,44,46],[41,50]],"referencedMap":[[41,1],[51,2],[42,3],[45,4],[50,5],[49,6],[48,7],[47,8]],"exportedModulesMap":[[41,1],[51,9],[42,3],[45,4],[50,5],[49,6],[48,7],[47,8]],"semanticDiagnosticsPerFile":[40,38,41,39,44,43,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,36,35,32,33,34,1,10,9,37,51,42,46,45,50,49,48,47],"latestChangedDtsFile":"./types/index.d.ts"},"version":"4.9.4"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2019.full.d.ts","../src/env.ts","../../../node_modules/@types/react/ts5.0/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/ts5.0/index.d.ts","../src/use-combined-refs.ts","../../../node_modules/mux-embed/dist/types/mux-embed.d.ts","../../../node_modules/hls.js/dist/hls.js.d.ts","../../playback-core/dist/types/hls.d.ts","../../playback-core/dist/types/errors.d.ts","../../playback-core/dist/types/types.d.ts","../../playback-core/dist/types/text-tracks.d.ts","../../playback-core/dist/types/pdt.d.ts","../../playback-core/dist/types/index.d.ts","../src/index.tsx"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f",{"version":"1ee6056d39213c8481cc8af4adb2b1dc373e15e8b2b9864739e6c0b2da60cf1d","signature":"28f2af136cd97b7c5011ec7fd601841b37499ab89ecb7f1594b2903a9ce5b2aa"},{"version":"55461596dc873b866911ef4e640fae4c39da7ac1fbc7ef5e649cb2f2fb42c349","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","247a952efd811d780e5630f8cfd76f495196f5fa74f6f0fee39ac8ba4a3c9800",{"version":"92101752f0ae0af727f9f99c6958381faacf414c6ca0b18b6eab5dbab44f8a67","affectsGlobalScope":true},{"version":"6ed9dc3c705f9e967631479b016db394cac15a29de4d6361664a2e98d1d6dfe7","signature":"405e223d3a5021ca1b76c68b32713c6df3bd17980a8474f85fd1bcbd0630268e"},{"version":"5b5c872830a799ebdd42d46b0554ac3ec447dda8e96cbe30e6f55dfabcf224b1","affectsGlobalScope":true},"92361bb81bc685fd927aa2c6131a0a5e5c5e4a4e3c22ea1c25ce0d18d81a0f03","c13fb8c7fdb84f3c59470c672220c380ac26ffb099721ccebba3c53971cb700d","de64daa4e510abaaf4b4970c6dd37e39c3b8a263cccbeb80a41c69ae5a2a34ba","f123621e4c89348517687ab1126e793637223b3f0d9b0be05f336ace6bc942d4","19afd7f4812facaa313356113070795a2fe90fcef4bfe6462db0dcbc503c92f1","dccea7b665fe08ed006acd191a7e68123ba7ec49848ac7c28a164962bf21254e","475bbd0b264e31b886ea4fd614162662c9f6a391a8fa29d2c24a2f3ac88b48ab",{"version":"56da77c4c2701705a8b5df7098da4683911d7bd6ca4efdd00c20f2abfb400953","signature":"4ac9a69ec88806f2f9d46cc5b81f2e542e3853928231f63b3e931cc7b1b1efd9"}],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":5,"noImplicitAny":true,"outDir":"./types","rootDir":"../src","skipLibCheck":false,"sourceMap":true,"strict":true,"target":6},"fileIdsList":[[38,39,40],[37,40,41,42,50],[41],[44],[43,44,45,46,47,48,49],[47],[45,47],[43,44,46],[41,50]],"referencedMap":[[41,1],[51,2],[42,3],[45,4],[50,5],[49,6],[48,7],[47,8]],"exportedModulesMap":[[41,1],[51,9],[42,3],[45,4],[50,5],[49,6],[48,7],[47,8]],"semanticDiagnosticsPerFile":[40,38,41,39,44,43,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,36,35,32,33,34,1,10,9,37,51,42,46,45,50,49,48,47],"latestChangedDtsFile":"./types/index.d.ts"},"version":"4.9.4"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mux/mux-audio-react",
3
- "version": "0.10.0",
3
+ "version": "0.10.1-canary.0-27fbd9f",
4
4
  "description": "A custom mux audio element for React that Just Works™",
5
5
  "keywords": [
6
6
  "audio",
@@ -68,7 +68,7 @@
68
68
  }
69
69
  },
70
70
  "dependencies": {
71
- "@mux/playback-core": "0.24.0",
71
+ "@mux/playback-core": "0.25.0-canary.0-27fbd9f",
72
72
  "prop-types": "^15.7.2"
73
73
  },
74
74
  "devDependencies": {
@@ -85,6 +85,5 @@
85
85
  "react-dom": "^18.2.0",
86
86
  "shx": "^0.3.4",
87
87
  "typescript": "^4.9.4"
88
- },
89
- "gitHead": "845493b745911cb5304b91246c13d2238478308b"
88
+ }
90
89
  }
package/LICENSE DELETED
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Mux, Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.