Skip to content

Commit 8a161cd

Browse files
docs: update doc v2.1.0 (#444)
1 parent 88159c1 commit 8a161cd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const hls = new HlsWithP2P({
135135

136136
## How to see that P2P is actually working?
137137

138-
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:
138+
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:
139139

140140
```javascript
141141
const engine = new HlsJsP2PEngine();

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This library enables the creation of a huge P2P mesh networks, also known as pee
1919

2020
## Documentation and important links
2121

22-
- [API documentation](https://novage.github.io/p2p-media-loader/docs/v2.0/)
22+
- [API documentation](https://novage.github.io/p2p-media-loader/docs/v2.1.0/)
2323
- [P2P development, support & consulting](https://novage.com.ua/)
2424
- [Demo](http://novage.com.ua/p2p-media-loader/demo.html)
2525
- [FAQ](https://github.com/Novage/p2p-media-loader/blob/main/FAQ.md)

api_documentation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ For more examples with npm packages, you may check our [React demo](https://gith
9191
<script type="importmap">
9292
{
9393
"imports": {
94-
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^1/dist/p2p-media-loader-core.es.min.js",
95-
"p2p-media-loader-hlsjs": "https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@^1/dist/p2p-media-loader-hlsjs.es.min.js"
94+
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^2/dist/p2p-media-loader-core.es.min.js",
95+
"p2p-media-loader-hlsjs": "https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@^2/dist/p2p-media-loader-hlsjs.es.min.js"
9696
}
9797
}
9898
</script>
@@ -418,8 +418,8 @@ For more examples with npm packages, you may check our [React demo](https://gith
418418
<script type="importmap">
419419
{
420420
"imports": {
421-
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^1/dist/p2p-media-loader-core.es.min.js",
422-
"p2p-media-loader-shaka": "https://cdn.jsdelivr.net/npm/p2p-media-loader-shaka@^1/dist/p2p-media-loader-shaka.es.min.js"
421+
"p2p-media-loader-core": "https://cdn.jsdelivr.net/npm/p2p-media-loader-core@^2/dist/p2p-media-loader-core.es.min.js",
422+
"p2p-media-loader-shaka": "https://cdn.jsdelivr.net/npm/p2p-media-loader-shaka@^2/dist/p2p-media-loader-shaka.es.min.js"
423423
}
424424
}
425425
</script>

0 commit comments

Comments
 (0)