Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit cb95b68

Browse files
committed
fix: minor package.json and readme issues
1 parent 12f8e91 commit cb95b68

File tree

35 files changed

+297
-121
lines changed

35 files changed

+297
-121
lines changed

examples/browser-add-readable-stream/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-browserify/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-create-react-app/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-exchange-files/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-ipns-publish/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-mfs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-parceljs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-readablestream/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-script-tag/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
·
1919
<a href="https://codesandbox.io/">View Demo</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2222
·
23-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
23+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2424
</p>
2525

2626
## Table of Contents

examples/browser-sharing-node-across-tabs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-video-streaming/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-vue/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-webpack/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/browser-webpack/img/1.png

125 KB
Loading

examples/circuit-relaying/README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents
@@ -36,9 +36,9 @@
3636
- [A word on circuit relay addresses](#a-word-on-circuit-relay-addresses)
3737
- [Step-by-Step example](#step-by-step-example)
3838
- [1. Configure and run the js or go ipfs node](#1-configure-and-run-the-js-or-go-ipfs-node)
39-
- [Setting up a `go-ipfs` node](#setting-up-a-go-ipfs-node)
40-
- [Setting up a `js-ipfs` node](#setting-up-a-js-ipfs-node)
41-
- [Starting the relay node](#starting-the-relay-node)
39+
- [Setting up a `go-ipfs` node](#setting-up-a-go-ipfs-node)
40+
- [Setting up a `js-ipfs` node](#setting-up-a-js-ipfs-node)
41+
- [Starting the relay node](#starting-the-relay-node)
4242
- [2. Configure and run the bundled example](#2-configure-and-run-the-bundled-example)
4343
- [3. Connect the two browser nodes to the circuit relay](#3-connect-the-two-browser-nodes-to-the-circuit-relay)
4444
- [4. Dial the two browser nodes using a `/p2p-circuit` address](#4-dial-the-two-browser-nodes-using-a-p2p-circuit-address)
@@ -86,7 +86,6 @@ In p2p networks there are many cases where two nodes can't talk to each other di
8686

8787
#### How does circuit relay work?
8888

89-
9089
Here is a simple diagram depicting how a typical circuit-relay connection might look:
9190

9291
```
@@ -367,12 +366,12 @@ const ipfs = await IPFS.create({
367366
relay: {
368367
enabled: true,
369368
hop: {
370-
enabled: true
371-
}
369+
enabled: true,
370+
},
372371
},
373372
config: {
374-
Bootstrap: []
375-
}
373+
Bootstrap: [],
374+
},
376375
});
377376
```
378377

examples/custom-ipfs-repo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/custom-ipld-formats/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/custom-libp2p/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/http-client-browser-pubsub/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/http-client-bundle-webpack/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/http-client-name-api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/http-client-upload-file/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/http-client-upload-file/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"devDependencies": {
3434
"@playwright/test": "^1.12.3",
3535
"playwright": "^1.12.3",
36-
"parcel": "2.0.0-beta.2",
36+
"parcel": "latest",
3737
"rimraf": "^3.0.2",
3838
"ipfs": "^0.55.4",
3939
"test-util-ipfs-example": "^1.0.2"

examples/ipfs-101/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
</a>
55
</p>
66

7-
<h3 align="center"><b>Custom IPFS repo</b></h3>
7+
<h3 align="center"><b>Tutorial 101</b></h3>
88

99
<p align="center">
10-
<b><i>How to customize a IPFS repository</i></b>
10+
<b><i>Demo of "Using go-ipfs as a library" with js-ipfs</i></b>
1111
<br />
1212
<br />
1313
<img src="https://raw.githubusercontent.com/jlord/forkngo/gh-pages/badges/cobalt.png" width="200">
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents
@@ -124,7 +124,7 @@ async function main() {
124124

125125
const fileAdded = await node.add({
126126
path: "hello.txt",
127-
content: "Hello World 101"
127+
content: "Hello World 101",
128128
});
129129

130130
console.log("Added file:", fileAdded.path, fileAdded.cid);
@@ -158,7 +158,7 @@ async function main() {
158158

159159
const fileAdded = await node.add({
160160
path: "hello.txt",
161-
content: "Hello World 101"
161+
content: "Hello World 101",
162162
});
163163

164164
console.log("Added file:", fileAdded.path, fileAdded.cid);

examples/ipfs-client-add-files/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/run-in-electron/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents

examples/running-multiple-nodes/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
·
1717
<a href="https://codesandbox.io/">View Demo</a>
1818
·
19-
<a href="https://github.com/ipfs/js-ipfs/issues">Report Bug</a>
19+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Report Bug</a>
2020
·
21-
<a href="https://github.com/ipfs/js-ipfs/issues">Request Feature</a>
21+
<a href="https://github.com/ipfs-examples/js-ipfs-examples/issues">Request Feature/Example</a>
2222
</p>
2323

2424
## Table of Contents
@@ -121,9 +121,9 @@ await IPFS.create({
121121
Swarm: ["/ip4/0.0.0.0/tcp/4012", "/ip4/127.0.0.1/tcp/4013/ws"],
122122
API: "/ip4/127.0.0.1/tcp/5012",
123123
Gateway: "/ip4/127.0.0.1/tcp/9191",
124-
RPC: "/ip4/127.0.0.1/tcp/4839"
125-
}
126-
}
124+
RPC: "/ip4/127.0.0.1/tcp/4839",
125+
},
126+
},
127127
});
128128
```
129129

0 commit comments

Comments
 (0)