# ⚠️ DEPRECATED

**This package has been renamed to [`@stormstreaming/player-core`](https://www.npmjs.com/package/@stormstreaming/player-core).**

Please update your dependencies:

```bash
npm uninstall @stormstreaming/stormlibrary
npm install @stormstreaming/player-core
```

## Migration Guide

The API remains the same, only the import/class names have changed:

```javascript
// Old (deprecated)
import { StormLibrary } from "@stormstreaming/stormlibrary";
const player = new StormLibrary(config);

// New
import { StormPlayerCore } from "@stormstreaming/player-core";
const player = new StormPlayerCore(config);
```

For UMD/script tag usage:

```html
<!-- Old (deprecated) -->
<script src="stormlibrary/dist/umd/index.js"></script>
<script>
  const player = stormLibrary.create(config);
</script>

<!-- New -->
<script src="player-core/dist/umd/index.js"></script>
<script>
  const player = new StormPlayerCore(config);
</script>
```

## New Package Structure

| Old Package | New Package | Description |
|-------------|-------------|-------------|
| `@stormstreaming/stormlibrary` | [`@stormstreaming/player-core`](https://github.com/StormStreaming/player-core-js) | Headless playback engine |
| `@stormstreaming/stormplayer` | [`@stormstreaming/player-ui`](https://github.com/StormStreaming/player-ui-js) | Full player with UI |
| — | [`@stormstreaming/player-react`](https://github.com/StormStreaming/player-react-js) | React wrapper |

## Resources

- [New Documentation](https://docs.stormstreaming.com)
- [StormPlayer Core](https://github.com/StormStreaming/player-core-js)
- [StormPlayer UI](https://github.com/StormStreaming/player-ui-js)
