diff --git a/.changeset/funny-moons-hear.md b/.changeset/funny-moons-hear.md deleted file mode 100644 index 57b9b47..0000000 --- a/.changeset/funny-moons-hear.md +++ /dev/null @@ -1,133 +0,0 @@ ---- -"react-native-youtube-bridge": major -"@react-native-youtube-bridge/react": major -"@react-native-youtube-bridge/core": major -"@react-native-youtube-bridge/web": major ---- - -feat!: introduce hooks-based API for v2.0 - -> [!important] -> BREAKING CHANGE: **Complete API Redesign with React Hooks** - -#### New Hooks-Based Architecture - -- **`useYouTubePlayer(videoId, config)`** - Creates a player instance with declarative configuration -- **`useYouTubeEvent(player, eventName, intervalOrDefault?, deps?)`** - Reactive event handling with complete type inference -- **`YoutubeView`** - Simplified view component that accepts a player instance - -#### Migration from v1 to v2 - -**Before (v1):** -```jsx -// Imperative, ref-based API -const playerRef = useRef(null); - - - -// Manual event handlers and state management -const [isPlaying, setIsPlaying] = useState(false); -const handleStateChange = (state) => setIsPlaying(state === PlayerState.PLAYING); -``` - -**After (v2):** -```jsx -// Declarative, hooks-based API -const player = useYouTubePlayer(videoId, { - autoplay: true, - controls: true, - playsinline: true -}); - - - -// Reactive state with automatic updates - two usage patterns: - -// 1. State-based (returns reactive values) -const playbackRate = useYouTubeEvent(player, 'playbackRateChange', 1); -const progress = useYouTubeEvent(player, 'progress', 1000); // 1000ms interval -const state = useYouTubeEvent(player, 'stateChange'); - -const isPlaying = state === PlayerState.PLAYING; - -// 2. Callback-based (for side effects) -useYouTubeEvent(player, 'ready', (playerInfo) => { - console.log('Player ready:', playerInfo); -}); - -useYouTubeEvent(player, 'error', (error) => { - console.error('Player error:', error); -}); -``` - -### ✨ New Features - -- **Declarative Configuration**: Configure player options directly in `useYouTubePlayer` hook -- **Automatic State Management**: No need to manually manage state for common use cases -- **Reactive Events**: `useYouTubeEvent` with two usage patterns - state-based for reactive values and callback-based for side effects -- **Better TypeScript Support**: Improved type inference and autocomplete -- **Reduced Boilerplate**: Significantly less code required for common operations -- **Automatic Cleanup**: Hooks handle cleanup automatically, preventing memory leaks - -### 🎯 Improvements - -- **Reduced Coupling**: Eliminated ref dependencies between parent and child components -- **Simplified API**: Fewer props to manage, more intuitive usage patterns -- **Better Developer Experience**: Following established React Native patterns (expo-audio, expo-video) -- **Performance**: More efficient event handling with automatic cleanup -- **Maintainability**: Cleaner separation of concerns - -### 📦 Component Changes - -#### Removed -- ❌ `YoutubePlayer` component (replaced by `YoutubeView`) -- ❌ `PlayerControls` ref interface -- ❌ Direct event props (`onReady`, `onStateChange`, `onProgress`, etc.) - -#### Added -- ✅ `YoutubeView` component -- ✅ `useYouTubePlayer` hook -- ✅ `useYouTubeEvent` hook -- ✅ Simplified prop interface - -### 📚 Migration Guide - -For detailed migration examples and step-by-step instructions, see our [Migration Guide](/packages/react-native-youtube-bridge/docs/migration-v2.md). - -Key migration steps: -1. **Replace `YoutubePlayer` with `YoutubeView` + `useYouTubePlayer`** -2. **Convert event props to `useYouTubeEvent` hooks** (state-based or callback-based) -3. **Move `playerVars` to `useYouTubePlayer` config** -4. **Replace ref-based method calls with direct player method calls** -5. **Remove manual state management for events** - -### ⚠️ Breaking Changes - -- **API Surface**: Complete API redesign, no backward compatibility -- **Event Handling**: Manual event listeners replaced with reactive hooks -- **Component Structure**: `YoutubePlayer` split into `YoutubeView` + hooks - -### 🐛 Bug Fixes -- Fixed memory leaks from improper event cleanup -- Better handling of rapid video ID changes -- Manage multiple players independently - -### 📖 Documentation -- Complete API documentation rewrite -- Added migration guide from v1 -- Updated all examples to use v2 API -- Added TypeScript usage examples - ---- - -## Previous Versions - -### [1.x.x] - Legacy Version -See [v1 documentation](/packages/react-native-youtube-bridge/docs/v1.md) for the previous imperative API. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 787d965..fb77069 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,145 @@ # @react-native-youtube-bridge/core +## 2.0.0 + +### Major Changes + +- ae4cc4d: feat!: introduce hooks-based API for v2.0 + + > [!important] + > BREAKING CHANGE: **Complete API Redesign with React Hooks** + + #### New Hooks-Based Architecture + + - **`useYouTubePlayer(videoId, config)`** - Creates a player instance with declarative configuration + - **`useYouTubeEvent(player, eventName, intervalOrDefault?, deps?)`** - Reactive event handling with complete type inference + - **`YoutubeView`** - Simplified view component that accepts a player instance + + #### Migration from v1 to v2 + + **Before (v1):** + + ```jsx + // Imperative, ref-based API + const playerRef = useRef < PlayerControls > null; + + ; + + // Manual event handlers and state management + const [isPlaying, setIsPlaying] = useState(false); + const handleStateChange = (state) => + setIsPlaying(state === PlayerState.PLAYING); + ``` + + **After (v2):** + + ```jsx + // Declarative, hooks-based API + const player = useYouTubePlayer(videoId, { + autoplay: true, + controls: true, + playsinline: true, + }); + + ; + + // Reactive state with automatic updates - two usage patterns: + + // 1. State-based (returns reactive values) + const playbackRate = useYouTubeEvent(player, "playbackRateChange", 1); + const progress = useYouTubeEvent(player, "progress", 1000); // 1000ms interval + const state = useYouTubeEvent(player, "stateChange"); + + const isPlaying = state === PlayerState.PLAYING; + + // 2. Callback-based (for side effects) + useYouTubeEvent(player, "ready", (playerInfo) => { + console.log("Player ready:", playerInfo); + }); + + useYouTubeEvent(player, "error", (error) => { + console.error("Player error:", error); + }); + ``` + + ### ✨ New Features + + - **Declarative Configuration**: Configure player options directly in `useYouTubePlayer` hook + - **Automatic State Management**: No need to manually manage state for common use cases + - **Reactive Events**: `useYouTubeEvent` with two usage patterns - state-based for reactive values and callback-based for side effects + - **Better TypeScript Support**: Improved type inference and autocomplete + - **Reduced Boilerplate**: Significantly less code required for common operations + - **Automatic Cleanup**: Hooks handle cleanup automatically, preventing memory leaks + + ### 🎯 Improvements + + - **Reduced Coupling**: Eliminated ref dependencies between parent and child components + - **Simplified API**: Fewer props to manage, more intuitive usage patterns + - **Better Developer Experience**: Following established React Native patterns (expo-audio, expo-video) + - **Performance**: More efficient event handling with automatic cleanup + - **Maintainability**: Cleaner separation of concerns + + ### 📦 Component Changes + + #### Removed + + - ❌ `YoutubePlayer` component (replaced by `YoutubeView`) + - ❌ `PlayerControls` ref interface + - ❌ Direct event props (`onReady`, `onStateChange`, `onProgress`, etc.) + + #### Added + + - ✅ `YoutubeView` component + - ✅ `useYouTubePlayer` hook + - ✅ `useYouTubeEvent` hook + - ✅ Simplified prop interface + + ### 📚 Migration Guide + + For detailed migration examples and step-by-step instructions, see our [Migration Guide](/packages/react-native-youtube-bridge/docs/migration-v2.md). + + Key migration steps: + + 1. **Replace `YoutubePlayer` with `YoutubeView` + `useYouTubePlayer`** + 2. **Convert event props to `useYouTubeEvent` hooks** (state-based or callback-based) + 3. **Move `playerVars` to `useYouTubePlayer` config** + 4. **Replace ref-based method calls with direct player method calls** + 5. **Remove manual state management for events** + + ### ⚠️ Breaking Changes + + - **API Surface**: Complete API redesign, no backward compatibility + - **Event Handling**: Manual event listeners replaced with reactive hooks + - **Component Structure**: `YoutubePlayer` split into `YoutubeView` + hooks + + ### 🐛 Bug Fixes + + - Fixed memory leaks from improper event cleanup + - Better handling of rapid video ID changes + - Manage multiple players independently + + ### 📖 Documentation + + - Complete API documentation rewrite + - Added migration guide from v1 + - Updated all examples to use v2 API + - Added TypeScript usage examples + + *** + + ## Previous Versions + + ### [1.x.x] - Legacy Version + + See [v1 documentation](/packages/react-native-youtube-bridge/docs/v1.md) for the previous imperative API. + ## 1.0.3 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 320fc2a..d71a0db 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-youtube-bridge/core", - "version": "1.0.3", + "version": "2.0.0", "description": "Core package for react-native-youtube-bridge", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/react-native-youtube-bridge/CHANGELOG.md b/packages/react-native-youtube-bridge/CHANGELOG.md index 202e948..3110502 100644 --- a/packages/react-native-youtube-bridge/CHANGELOG.md +++ b/packages/react-native-youtube-bridge/CHANGELOG.md @@ -1,5 +1,151 @@ # react-native-youtube-bridge +## 2.0.0 + +### Major Changes + +- ae4cc4d: feat!: introduce hooks-based API for v2.0 + + > [!important] + > BREAKING CHANGE: **Complete API Redesign with React Hooks** + + #### New Hooks-Based Architecture + + - **`useYouTubePlayer(videoId, config)`** - Creates a player instance with declarative configuration + - **`useYouTubeEvent(player, eventName, intervalOrDefault?, deps?)`** - Reactive event handling with complete type inference + - **`YoutubeView`** - Simplified view component that accepts a player instance + + #### Migration from v1 to v2 + + **Before (v1):** + + ```jsx + // Imperative, ref-based API + const playerRef = useRef < PlayerControls > null; + + ; + + // Manual event handlers and state management + const [isPlaying, setIsPlaying] = useState(false); + const handleStateChange = (state) => + setIsPlaying(state === PlayerState.PLAYING); + ``` + + **After (v2):** + + ```jsx + // Declarative, hooks-based API + const player = useYouTubePlayer(videoId, { + autoplay: true, + controls: true, + playsinline: true, + }); + + ; + + // Reactive state with automatic updates - two usage patterns: + + // 1. State-based (returns reactive values) + const playbackRate = useYouTubeEvent(player, "playbackRateChange", 1); + const progress = useYouTubeEvent(player, "progress", 1000); // 1000ms interval + const state = useYouTubeEvent(player, "stateChange"); + + const isPlaying = state === PlayerState.PLAYING; + + // 2. Callback-based (for side effects) + useYouTubeEvent(player, "ready", (playerInfo) => { + console.log("Player ready:", playerInfo); + }); + + useYouTubeEvent(player, "error", (error) => { + console.error("Player error:", error); + }); + ``` + + ### ✨ New Features + + - **Declarative Configuration**: Configure player options directly in `useYouTubePlayer` hook + - **Automatic State Management**: No need to manually manage state for common use cases + - **Reactive Events**: `useYouTubeEvent` with two usage patterns - state-based for reactive values and callback-based for side effects + - **Better TypeScript Support**: Improved type inference and autocomplete + - **Reduced Boilerplate**: Significantly less code required for common operations + - **Automatic Cleanup**: Hooks handle cleanup automatically, preventing memory leaks + + ### 🎯 Improvements + + - **Reduced Coupling**: Eliminated ref dependencies between parent and child components + - **Simplified API**: Fewer props to manage, more intuitive usage patterns + - **Better Developer Experience**: Following established React Native patterns (expo-audio, expo-video) + - **Performance**: More efficient event handling with automatic cleanup + - **Maintainability**: Cleaner separation of concerns + + ### 📦 Component Changes + + #### Removed + + - ❌ `YoutubePlayer` component (replaced by `YoutubeView`) + - ❌ `PlayerControls` ref interface + - ❌ Direct event props (`onReady`, `onStateChange`, `onProgress`, etc.) + + #### Added + + - ✅ `YoutubeView` component + - ✅ `useYouTubePlayer` hook + - ✅ `useYouTubeEvent` hook + - ✅ Simplified prop interface + + ### 📚 Migration Guide + + For detailed migration examples and step-by-step instructions, see our [Migration Guide](/packages/react-native-youtube-bridge/docs/migration-v2.md). + + Key migration steps: + + 1. **Replace `YoutubePlayer` with `YoutubeView` + `useYouTubePlayer`** + 2. **Convert event props to `useYouTubeEvent` hooks** (state-based or callback-based) + 3. **Move `playerVars` to `useYouTubePlayer` config** + 4. **Replace ref-based method calls with direct player method calls** + 5. **Remove manual state management for events** + + ### ⚠️ Breaking Changes + + - **API Surface**: Complete API redesign, no backward compatibility + - **Event Handling**: Manual event listeners replaced with reactive hooks + - **Component Structure**: `YoutubePlayer` split into `YoutubeView` + hooks + + ### 🐛 Bug Fixes + + - Fixed memory leaks from improper event cleanup + - Better handling of rapid video ID changes + - Manage multiple players independently + + ### 📖 Documentation + + - Complete API documentation rewrite + - Added migration guide from v1 + - Updated all examples to use v2 API + - Added TypeScript usage examples + + *** + + ## Previous Versions + + ### [1.x.x] - Legacy Version + + See [v1 documentation](/packages/react-native-youtube-bridge/docs/v1.md) for the previous imperative API. + +### Patch Changes + +- Updated dependencies [ae4cc4d] + - @react-native-youtube-bridge/react@2.0.0 + - @react-native-youtube-bridge/core@2.0.0 + ## 1.1.4 ### Patch Changes diff --git a/packages/react-native-youtube-bridge/package.json b/packages/react-native-youtube-bridge/package.json index 931f2c4..dbd1ea4 100644 --- a/packages/react-native-youtube-bridge/package.json +++ b/packages/react-native-youtube-bridge/package.json @@ -1,6 +1,6 @@ { "name": "react-native-youtube-bridge", - "version": "1.1.4", + "version": "2.0.0", "description": "🎥 Easy-to-use YouTube player for React Native with cross-platform support", "main": "./lib/module/index.js", "types": "./lib/typescript/index.d.ts", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 6ffdf87..4f5c2f6 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,150 @@ # @react-native-youtube-bridge/react +## 2.0.0 + +### Major Changes + +- ae4cc4d: feat!: introduce hooks-based API for v2.0 + + > [!important] + > BREAKING CHANGE: **Complete API Redesign with React Hooks** + + #### New Hooks-Based Architecture + + - **`useYouTubePlayer(videoId, config)`** - Creates a player instance with declarative configuration + - **`useYouTubeEvent(player, eventName, intervalOrDefault?, deps?)`** - Reactive event handling with complete type inference + - **`YoutubeView`** - Simplified view component that accepts a player instance + + #### Migration from v1 to v2 + + **Before (v1):** + + ```jsx + // Imperative, ref-based API + const playerRef = useRef < PlayerControls > null; + + ; + + // Manual event handlers and state management + const [isPlaying, setIsPlaying] = useState(false); + const handleStateChange = (state) => + setIsPlaying(state === PlayerState.PLAYING); + ``` + + **After (v2):** + + ```jsx + // Declarative, hooks-based API + const player = useYouTubePlayer(videoId, { + autoplay: true, + controls: true, + playsinline: true, + }); + + ; + + // Reactive state with automatic updates - two usage patterns: + + // 1. State-based (returns reactive values) + const playbackRate = useYouTubeEvent(player, "playbackRateChange", 1); + const progress = useYouTubeEvent(player, "progress", 1000); // 1000ms interval + const state = useYouTubeEvent(player, "stateChange"); + + const isPlaying = state === PlayerState.PLAYING; + + // 2. Callback-based (for side effects) + useYouTubeEvent(player, "ready", (playerInfo) => { + console.log("Player ready:", playerInfo); + }); + + useYouTubeEvent(player, "error", (error) => { + console.error("Player error:", error); + }); + ``` + + ### ✨ New Features + + - **Declarative Configuration**: Configure player options directly in `useYouTubePlayer` hook + - **Automatic State Management**: No need to manually manage state for common use cases + - **Reactive Events**: `useYouTubeEvent` with two usage patterns - state-based for reactive values and callback-based for side effects + - **Better TypeScript Support**: Improved type inference and autocomplete + - **Reduced Boilerplate**: Significantly less code required for common operations + - **Automatic Cleanup**: Hooks handle cleanup automatically, preventing memory leaks + + ### 🎯 Improvements + + - **Reduced Coupling**: Eliminated ref dependencies between parent and child components + - **Simplified API**: Fewer props to manage, more intuitive usage patterns + - **Better Developer Experience**: Following established React Native patterns (expo-audio, expo-video) + - **Performance**: More efficient event handling with automatic cleanup + - **Maintainability**: Cleaner separation of concerns + + ### 📦 Component Changes + + #### Removed + + - ❌ `YoutubePlayer` component (replaced by `YoutubeView`) + - ❌ `PlayerControls` ref interface + - ❌ Direct event props (`onReady`, `onStateChange`, `onProgress`, etc.) + + #### Added + + - ✅ `YoutubeView` component + - ✅ `useYouTubePlayer` hook + - ✅ `useYouTubeEvent` hook + - ✅ Simplified prop interface + + ### 📚 Migration Guide + + For detailed migration examples and step-by-step instructions, see our [Migration Guide](/packages/react-native-youtube-bridge/docs/migration-v2.md). + + Key migration steps: + + 1. **Replace `YoutubePlayer` with `YoutubeView` + `useYouTubePlayer`** + 2. **Convert event props to `useYouTubeEvent` hooks** (state-based or callback-based) + 3. **Move `playerVars` to `useYouTubePlayer` config** + 4. **Replace ref-based method calls with direct player method calls** + 5. **Remove manual state management for events** + + ### ⚠️ Breaking Changes + + - **API Surface**: Complete API redesign, no backward compatibility + - **Event Handling**: Manual event listeners replaced with reactive hooks + - **Component Structure**: `YoutubePlayer` split into `YoutubeView` + hooks + + ### 🐛 Bug Fixes + + - Fixed memory leaks from improper event cleanup + - Better handling of rapid video ID changes + - Manage multiple players independently + + ### 📖 Documentation + + - Complete API documentation rewrite + - Added migration guide from v1 + - Updated all examples to use v2 API + - Added TypeScript usage examples + + *** + + ## Previous Versions + + ### [1.x.x] - Legacy Version + + See [v1 documentation](/packages/react-native-youtube-bridge/docs/v1.md) for the previous imperative API. + +### Patch Changes + +- Updated dependencies [ae4cc4d] + - @react-native-youtube-bridge/core@2.0.0 + ## 1.1.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index f872347..295ac3d 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-youtube-bridge/react", - "version": "1.1.1", + "version": "2.0.0", "description": "React implementation for react-native-youtube-bridge", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index e8c6492..d34cb52 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,151 @@ # @react-native-youtube-bridge/web +## 2.0.0 + +### Major Changes + +- ae4cc4d: feat!: introduce hooks-based API for v2.0 + + > [!important] + > BREAKING CHANGE: **Complete API Redesign with React Hooks** + + #### New Hooks-Based Architecture + + - **`useYouTubePlayer(videoId, config)`** - Creates a player instance with declarative configuration + - **`useYouTubeEvent(player, eventName, intervalOrDefault?, deps?)`** - Reactive event handling with complete type inference + - **`YoutubeView`** - Simplified view component that accepts a player instance + + #### Migration from v1 to v2 + + **Before (v1):** + + ```jsx + // Imperative, ref-based API + const playerRef = useRef < PlayerControls > null; + + ; + + // Manual event handlers and state management + const [isPlaying, setIsPlaying] = useState(false); + const handleStateChange = (state) => + setIsPlaying(state === PlayerState.PLAYING); + ``` + + **After (v2):** + + ```jsx + // Declarative, hooks-based API + const player = useYouTubePlayer(videoId, { + autoplay: true, + controls: true, + playsinline: true, + }); + + ; + + // Reactive state with automatic updates - two usage patterns: + + // 1. State-based (returns reactive values) + const playbackRate = useYouTubeEvent(player, "playbackRateChange", 1); + const progress = useYouTubeEvent(player, "progress", 1000); // 1000ms interval + const state = useYouTubeEvent(player, "stateChange"); + + const isPlaying = state === PlayerState.PLAYING; + + // 2. Callback-based (for side effects) + useYouTubeEvent(player, "ready", (playerInfo) => { + console.log("Player ready:", playerInfo); + }); + + useYouTubeEvent(player, "error", (error) => { + console.error("Player error:", error); + }); + ``` + + ### ✨ New Features + + - **Declarative Configuration**: Configure player options directly in `useYouTubePlayer` hook + - **Automatic State Management**: No need to manually manage state for common use cases + - **Reactive Events**: `useYouTubeEvent` with two usage patterns - state-based for reactive values and callback-based for side effects + - **Better TypeScript Support**: Improved type inference and autocomplete + - **Reduced Boilerplate**: Significantly less code required for common operations + - **Automatic Cleanup**: Hooks handle cleanup automatically, preventing memory leaks + + ### 🎯 Improvements + + - **Reduced Coupling**: Eliminated ref dependencies between parent and child components + - **Simplified API**: Fewer props to manage, more intuitive usage patterns + - **Better Developer Experience**: Following established React Native patterns (expo-audio, expo-video) + - **Performance**: More efficient event handling with automatic cleanup + - **Maintainability**: Cleaner separation of concerns + + ### 📦 Component Changes + + #### Removed + + - ❌ `YoutubePlayer` component (replaced by `YoutubeView`) + - ❌ `PlayerControls` ref interface + - ❌ Direct event props (`onReady`, `onStateChange`, `onProgress`, etc.) + + #### Added + + - ✅ `YoutubeView` component + - ✅ `useYouTubePlayer` hook + - ✅ `useYouTubeEvent` hook + - ✅ Simplified prop interface + + ### 📚 Migration Guide + + For detailed migration examples and step-by-step instructions, see our [Migration Guide](/packages/react-native-youtube-bridge/docs/migration-v2.md). + + Key migration steps: + + 1. **Replace `YoutubePlayer` with `YoutubeView` + `useYouTubePlayer`** + 2. **Convert event props to `useYouTubeEvent` hooks** (state-based or callback-based) + 3. **Move `playerVars` to `useYouTubePlayer` config** + 4. **Replace ref-based method calls with direct player method calls** + 5. **Remove manual state management for events** + + ### ⚠️ Breaking Changes + + - **API Surface**: Complete API redesign, no backward compatibility + - **Event Handling**: Manual event listeners replaced with reactive hooks + - **Component Structure**: `YoutubePlayer` split into `YoutubeView` + hooks + + ### 🐛 Bug Fixes + + - Fixed memory leaks from improper event cleanup + - Better handling of rapid video ID changes + - Manage multiple players independently + + ### 📖 Documentation + + - Complete API documentation rewrite + - Added migration guide from v1 + - Updated all examples to use v2 API + - Added TypeScript usage examples + + *** + + ## Previous Versions + + ### [1.x.x] - Legacy Version + + See [v1 documentation](/packages/react-native-youtube-bridge/docs/v1.md) for the previous imperative API. + +### Patch Changes + +- Updated dependencies [ae4cc4d] + - @react-native-youtube-bridge/react@2.0.0 + - @react-native-youtube-bridge/core@2.0.0 + ## 1.1.1 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index c1368c7..b2d3ccf 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-youtube-bridge/web", - "version": "1.1.1", + "version": "2.0.0", "description": "Web implementation for react-native-youtube-bridge", "main": "dist/web.mjs", "exports": {