Skip to content

Commit

Permalink
docs: update doc v2.1.0 (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaDemchenko authored Nov 22, 2024
1 parent 88159c1 commit 8a161cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const hls = new HlsWithP2P({

## How to see that P2P is actually working?

The easiest way is to subscribe to P2P [events](https://novage.github.io/p2p-media-loader/docs/v2.0/types/p2p_media_loader_core.CoreEventMap.html) and log them:
The easiest way is to subscribe to P2P [events](https://novage.github.io/p2p-media-loader/docs/v2.1.0/types/p2p_media_loader_core.CoreEventMap.html) and log them:

```javascript
const engine = new HlsJsP2PEngine();
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This library enables the creation of a huge P2P mesh networks, also known as pee

## Documentation and important links

- [API documentation](https://novage.github.io/p2p-media-loader/docs/v2.0/)
- [API documentation](https://novage.github.io/p2p-media-loader/docs/v2.1.0/)
- [P2P development, support & consulting](https://novage.com.ua/)
- [Demo](http://novage.com.ua/p2p-media-loader/demo.html)
- [FAQ](https://github.com/Novage/p2p-media-loader/blob/main/FAQ.md)
Expand Down
8 changes: 4 additions & 4 deletions api_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ For more examples with npm packages, you may check our [React demo](https://gith
<script type="importmap">
{
"imports": {
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^1/dist/p2p-media-loader-core.es.min.js",
"p2p-media-loader-hlsjs": "https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@^1/dist/p2p-media-loader-hlsjs.es.min.js"
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^2/dist/p2p-media-loader-core.es.min.js",
"p2p-media-loader-hlsjs": "https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@^2/dist/p2p-media-loader-hlsjs.es.min.js"
}
}
</script>
Expand Down Expand Up @@ -418,8 +418,8 @@ For more examples with npm packages, you may check our [React demo](https://gith
<script type="importmap">
{
"imports": {
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^1/dist/p2p-media-loader-core.es.min.js",
"p2p-media-loader-shaka": "https://cdn.jsdelivr.net/npm/p2p-media-loader-shaka@^1/dist/p2p-media-loader-shaka.es.min.js"
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^2/dist/p2p-media-loader-core.es.min.js",
"p2p-media-loader-shaka": "https://cdn.jsdelivr.net/npm/p2p-media-loader-shaka@^2/dist/p2p-media-loader-shaka.es.min.js"
}
}
</script>
Expand Down

0 comments on commit 8a161cd

Please sign in to comment.