This repository was archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
docs: updated examples to new api #2729
Merged
Merged
Changes from 36 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
5c2a71a
docs: updated examples to new api
achingbrain 4597d88
chore: fix linting
achingbrain 17e336c
chore: update deps
achingbrain e732978
chore: update gh urls
achingbrain 732e786
chore: http gh urls maybe
achingbrain 82326a3
chore: revert previous
achingbrain 45a6f26
chore: use correct gh url
achingbrain ef65183
chore: update dep version
achingbrain f3e9c76
fix: fix failing tests
achingbrain 2346488
chore: remove gh url
achingbrain a9ac189
docs: update module maintainers
achingbrain ba3998d
fix: returns string peer ids from all api methods
achingbrain 3ce9db4
docs: update module maintainers
achingbrain 7f79b69
chore: fix linter
achingbrain 6597e37
chore: run pubsub room tests against master
achingbrain 4a42063
fix: fix circuit relaying test
achingbrain 7064f6b
fix: really fix circuit relay test
achingbrain cdc767d
wip: add debug
achingbrain a404a36
wip: debug only test job and restore gh versions
achingbrain 6b0de9f
fix: fix exchange files in browser test
achingbrain 0c30d05
chore: remove gh urls
achingbrain bc7e62d
wip: really force kill daemon
achingbrain a1d52de
chore: correct branch name
achingbrain 92bc015
chore: make unhandled rejections fail tests
achingbrain dcf052f
chore: if debug is enabled do not treat stderr output as error
achingbrain b831a03
chore: skip silent test when debug log is turned on
achingbrain 0c352f2
Merge remote-tracking branch 'origin/master' into refactor/async-exam…
achingbrain db52fba
chore: update deps
achingbrain 41a738e
fix: peer ids are strings, do not stringify them
achingbrain b6988ee
fix: use gh url for ipfsd-ctl
achingbrain b5d76a3
fix: use version of interface tests without js-ipfs
achingbrain 684b873
chore: remove debug env var
achingbrain 2b6f0e9
fix: start webrtc sigserve during tests so browsers can dial things
achingbrain 7b868a3
fix: include go-ipfs-dep for interop testing
achingbrain 602f761
fix: specify ipfs js module for interop tests
achingbrain acd2409
fix: simplify interop test runs
achingbrain 192d4fa
fix: update sigserver url
achingbrain 2bb99f5
fix: use ws and not wss
achingbrain 4f7fbe7
Update test/utils/factory.js
achingbrain 2671356
chore: remove gh urls
achingbrain bf9ac59
fix: fix up ipfsd-ctl config for browser tests
achingbrain dd0eb4e
fix: increase dialer timeout in tests
achingbrain b0e2ee5
chore: enable libp2p debug for chrome build
achingbrain cbb6f24
chore: fail fast on browser builds
achingbrain 5aa630d
chore: just run the failing tests
achingbrain 6f7aca2
chore: split webworker tests out from browsers
achingbrain 67e2bd8
fix: use go nodes with webworker interface tests
achingbrain 75727b8
fix: use js for pubsub tests as before
achingbrain 57277ef
fix: go-ipfs pubsub is no longer experimental
achingbrain e629d4a
fix: configure go-ipfs bin for ipfsd server
achingbrain b3cb06d
refactor: use string template
achingbrain 30036f5
fix: update interface tests and remove only
achingbrain 2b53ccb
chore: update ipfs-interop dep
e154bf5
fix: hls example
8f57ee3
fix: use libp2p with ping patch
achingbrain 67e073d
chore: remove gh version
achingbrain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
<br> | ||
</p> | ||
|
||
### Project status - `Alpha` | ||
### Project status - `Alpha` <!-- omit in toc --> | ||
|
||
We've come a long way, but this project is still in Alpha, lots of development is happening, API might change, beware of the Dragons 🐉.. | ||
|
||
|
@@ -40,19 +40,16 @@ We've come a long way, but this project is still in Alpha, lots of development i | |
|
||
[**`Weekly Core Implementations Call`**](https://github.com/ipfs/team-mgmt/issues/992) | ||
|
||
## Tech Lead | ||
## Tech Lead <!-- omit in toc --> | ||
|
||
[David Dias](https://github.com/daviddias) | ||
|
||
## Lead Maintainer | ||
## Lead Maintainer <!-- omit in toc --> | ||
|
||
[Alan Shaw](https://github.com/alanshaw) | ||
|
||
## Table of Contents | ||
## Table of Contents <!-- omit in toc --> | ||
|
||
- [Tech Lead](#tech-lead) | ||
- [Lead Maintainer](#lead-maintainer) | ||
- [Table of Contents](#table-of-contents) | ||
- [Install](#install) | ||
- [npm](#npm) | ||
- [Use in Node.js](#use-in-nodejs) | ||
|
@@ -66,6 +63,7 @@ We've come a long way, but this project is still in Alpha, lots of development i | |
- [API](#api) | ||
- [IPFS Constructor](#ipfs-constructor) | ||
- [`options.repo`](#optionsrepo) | ||
- [`options.repoAutoMigrate`](#optionsrepoautomigrate) | ||
- [`options.init`](#optionsinit) | ||
- [`options.start`](#optionsstart) | ||
- [`options.pass`](#optionspass) | ||
|
@@ -1106,7 +1104,7 @@ Listing of the main packages used in the IPFS ecosystem. There are also three sp | |
| [`ipfs-mfs`](//github.com/ipfs/js-ipfs-mfs) | [](//github.com/ipfs/js-ipfs-mfs/releases) | [](https://david-dm.org/ipfs/js-ipfs-mfs) | [](https://travis-ci.com/ipfs/js-ipfs-mfs) | [](https://codecov.io/gh/ipfs/js-ipfs-mfs) | [Alex Potsides](mailto:[email protected]) | | ||
| [`ipfs-unixfs`](//github.com/ipfs/js-ipfs-unixfs) | [](//github.com/ipfs/js-ipfs-unixfs/releases) | [](https://david-dm.org/ipfs/js-ipfs-unixfs) | [](https://travis-ci.com/ipfs/js-ipfs-unixfs) | [](https://codecov.io/gh/ipfs/js-ipfs-unixfs) | [Alex Potsides](mailto:[email protected]) | | ||
| **Repo** | | ||
| [`ipfs-repo`](//github.com/ipfs/js-ipfs-repo) | [](//github.com/ipfs/js-ipfs-repo/releases) | [](https://david-dm.org/ipfs/js-ipfs-repo) | [](https://travis-ci.com/ipfs/js-ipfs-repo) | [](https://codecov.io/gh/ipfs/js-ipfs-repo) | [Jacob Heun](mailto:[email protected]) | | ||
| [`ipfs-repo`](//github.com/ipfs/js-ipfs-repo) | [](//github.com/ipfs/js-ipfs-repo/releases) | [](https://david-dm.org/ipfs/js-ipfs-repo) | [](https://travis-ci.com/ipfs/js-ipfs-repo) | [](https://codecov.io/gh/ipfs/js-ipfs-repo) | [Alex Potsides](mailto:[email protected]) | | ||
| **Exchange** | | ||
| [`ipfs-block-service`](//github.com/ipfs/js-ipfs-block-service) | [](//github.com/ipfs/js-ipfs-block-service/releases) | [](https://david-dm.org/ipfs/js-ipfs-block-service) | [](https://travis-ci.com/ipfs/js-ipfs-block-service) | [](https://codecov.io/gh/ipfs/js-ipfs-block-service) | [Volker Mische](mailto:[email protected]) | | ||
| [`ipfs-block`](//github.com/ipfs/js-ipfs-block) | [](//github.com/ipfs/js-ipfs-block/releases) | [](https://david-dm.org/ipfs/js-ipfs-block) | [](https://travis-ci.com/ipfs/js-ipfs-block) | [](https://codecov.io/gh/ipfs/js-ipfs-block) | [Volker Mische](mailto:[email protected]) | | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,11 @@ | |
<body> | ||
<video id="video" controls></video> | ||
<script src="../../dist/index.js"></script> | ||
<!-- | ||
TODO: uncomment once https://github.com/ipfs/js-ipfs/pull/2683 and | ||
https://github.com/moshisushi/hlsjs-ipfs-loader/pull/16 are released | ||
<script src="https://unpkg.com/[email protected]/dist/index.js"></script> | ||
--> | ||
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script> | ||
<script src="streaming.js"></script> | ||
</body> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.