diff --git a/README.md b/README.md index 917b304..550b672 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ Feel free to jump directly into the examples, however going through the followin #### Other examples -- [Chat](./examples/js-libp2p-example-chat) - a simple chat app -- [Browser Pub/Sub](./examples/js-libp2p-example-browser-pubsub) - Using Pub/Sub between browsers +- [Chat](https://github.com/libp2p/js-libp2p-example-chat) - a simple chat app +- [Browser Pub/Sub](https://github.com/libp2p/js-libp2p-example-browser-pubsub) - Using Pub/Sub between browsers #### libp2p in the Browser diff --git a/examples/js-libp2p-example-browser-pubsub/package.json b/examples/js-libp2p-example-browser-pubsub/package.json index 09f328d..31898e4 100644 --- a/examples/js-libp2p-example-browser-pubsub/package.json +++ b/examples/js-libp2p-example-browser-pubsub/package.json @@ -2,6 +2,15 @@ "name": "@libp2p/example-browser-pubsub", "version": "1.0.0", "description": "How to use libp2p pubsub in browsers", + "license": "Apache-2.0 OR MIT", + "homepage": "https://github.com/libp2p/js-libp2p-example-browser-pubsub#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/libp2p/js-libp2p-examples.git" + }, + "bugs": { + "url": "https://github.com/libp2p/js-libp2p-examples/issues" + }, "type": "module", "scripts": { "start": "vite", @@ -22,7 +31,7 @@ "@libp2p/webrtc": "^4.0.5", "@libp2p/websockets": "^8.0.4", "@multiformats/multiaddr": "^12.1.11", - "libp2p": "^1.0.5", + "libp2p": "^1.0.8", "vite": "^5.0.4" }, "devDependencies": { diff --git a/examples/js-libp2p-example-chat/package.json b/examples/js-libp2p-example-chat/package.json index 7e29f91..76e5cd2 100644 --- a/examples/js-libp2p-example-chat/package.json +++ b/examples/js-libp2p-example-chat/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "An example chat app using libp2p", "license": "Apache-2.0 OR MIT", - "homepage": "https://github.com/libp2p/js-libp2p/tree/master/examples/chat#readme", + "homepage": "https://github.com/libp2p/js-libp2p-example-chat#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p-examples.git" @@ -26,7 +26,7 @@ "it-length-prefixed": "^9.0.1", "it-map": "^3.0.3", "it-pipe": "^3.0.1", - "libp2p": "^1.0.5", + "libp2p": "^1.0.8", "p-defer": "^4.0.0", "uint8arrays": "^4.0.6" }, diff --git a/examples/js-libp2p-example-circuit-relay/package.json b/examples/js-libp2p-example-circuit-relay/package.json index 43670c7..77e6444 100644 --- a/examples/js-libp2p-example-circuit-relay/package.json +++ b/examples/js-libp2p-example-circuit-relay/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "How to use Circuit Relay to connect two nodes", "license": "Apache-2.0 OR MIT", - "homepage": "https://github.com/libp2p/js-libp2p-examples/tree/master/examples/js-libp2p-example-circuit-relay#readme", + "homepage": "https://github.com/libp2p/js-libp2p-example-circuit-relay#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p-examples.git" @@ -22,7 +22,7 @@ "@libp2p/identify": "^1.0.3", "@libp2p/websockets": "^8.0.4", "@multiformats/multiaddr": "^12.1.11", - "libp2p": "^1.0.5" + "libp2p": "^1.0.8 " }, "devDependencies": { "test-ipfs-example": "^1.1.0" diff --git a/examples/js-libp2p-example-connection-encryption/package.json b/examples/js-libp2p-example-connection-encryption/package.json index 138203a..1858c6f 100644 --- a/examples/js-libp2p-example-connection-encryption/package.json +++ b/examples/js-libp2p-example-connection-encryption/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "An example of how to configure connection encryption", "license": "Apache-2.0 OR MIT", - "homepage": "https://github.com/libp2p/js-libp2p-examples/tree/master/examples/js-libp2p-example-connection-encryption#readme", + "homepage": "https://github.com/libp2p/js-libp2p-example-connection-encryption#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p-examples.git" @@ -21,7 +21,7 @@ "@libp2p/plaintext": "^1.0.4", "@libp2p/tcp": "^9.0.4", "it-pipe": "^3.0.1", - "libp2p": "^1.0.5", + "libp2p": "^1.0.8", "uint8arrays": "^4.0.6" }, "devDependencies": { diff --git a/examples/js-libp2p-example-custom-protocols/package.json b/examples/js-libp2p-example-custom-protocols/package.json index deab9cf..c3dfae7 100644 --- a/examples/js-libp2p-example-custom-protocols/package.json +++ b/examples/js-libp2p-example-custom-protocols/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "How to create custom protocols for your app", "license": "Apache-2.0 OR MIT", - "homepage": "https://github.com/libp2p/js-libp2p-examples/tree/main/examples/js-libp2p-example-custom-protocols#readme", + "homepage": "https://github.com/libp2p/js-libp2p-example-custom-protocols#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p-examples.git"