@sweet-player/react 0.2.1 → 0.4.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/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { CSSProperties, Ref } from 'react';
3
3
  import { SweetPlayerOptions, SweetPlayer as SweetPlayer$1 } from '@sweet-player/core';
4
- export { AspectRatio, AudioTrackInfo, LongSeekOptions, PlayerEventMap, QualityLevel, SweetPlayer as SweetPlayerCore, SweetPlayerOptions, SweetPlayerPlugin } from '@sweet-player/core';
4
+ export { AspectRatio, AudioTrackInfo, ControlName, LongSeekOptions, PlayerEventMap, QualityLevel, SweetPlayer as SweetPlayerCore, SweetPlayerOptions, SweetPlayerPlugin } from '@sweet-player/core';
5
5
 
6
6
  interface SweetPlayerProps extends Omit<SweetPlayerOptions, 'container'> {
7
7
  className?: string;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { CSSProperties, Ref } from 'react';
3
3
  import { SweetPlayerOptions, SweetPlayer as SweetPlayer$1 } from '@sweet-player/core';
4
- export { AspectRatio, AudioTrackInfo, LongSeekOptions, PlayerEventMap, QualityLevel, SweetPlayer as SweetPlayerCore, SweetPlayerOptions, SweetPlayerPlugin } from '@sweet-player/core';
4
+ export { AspectRatio, AudioTrackInfo, ControlName, LongSeekOptions, PlayerEventMap, QualityLevel, SweetPlayer as SweetPlayerCore, SweetPlayerOptions, SweetPlayerPlugin } from '@sweet-player/core';
5
5
 
6
6
  interface SweetPlayerProps extends Omit<SweetPlayerOptions, 'container'> {
7
7
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sweet-player/react",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "React component for sweet-player",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -32,7 +32,7 @@
32
32
  "react19"
33
33
  ],
34
34
  "dependencies": {
35
- "@sweet-player/core": "0.2.1"
35
+ "@sweet-player/core": "0.4.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=18"