dependabot[bot]
1f74148f60
deps: bump next in /js-peer in the npm_and_yarn group ( #255 )
...
Bumps the npm_and_yarn group in /js-peer with 1 update: [next](https://github.com/vercel/next.js ).
Updates `next` from 14.2.13 to 14.2.25
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v14.2.13...v14.2.25 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 17:41:26 +01:00
Daniel Norman
ec11a59480
js-peer: overhaul ui and load that chat by default ( #233 )
...
* feat: overhaul ui and load chat by default
* fix: simplify nav bar and load chat on index route
* fix: linting
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2025-02-27 09:22:09 +01:00
Daniel Norman
34b6b356a7
js-peer: update deps and add back ipv6 relay listener ( #232 )
...
* deps: bump libp2p deps
* fix: add back ipv6 circuit relay listen addrs
relies on https://github.com/libp2p/js-libp2p/pull/3001
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2025-02-26 15:43:49 +01:00
Daniel Norman
18f0504e9a
js-peer: only set circuit relay listen and simplify ( #225 )
...
* fix: only set circuit relay listen and simplify
* fix: errors and unused import
* chore: run formatter
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2025-02-20 14:34:09 +01:00
Daniel Norman
077862a6ee
js-peer: upgrade deps ( #223 )
...
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2025-02-20 12:24:21 +01:00
Daniel Norman
848d31d946
js-peer: add prettier and build gh action
...
* chore: add prettier for consistent formatting
* chore: run prettier in build command
* chore: update prettier config
* ci: add workflow to build and lint frontend
* ci: run frontend build only on changes to js-peer
* ci: fix build with working directory
* ci: format workflow
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2025-02-04 16:45:25 +01:00
Daniel Norman
7f7a54cd73
deps: upgrade to libp2p v2 ( #202 )
...
* chore(js): bump libp2p deps
* deps: bump libp2p deps
* chore: simplify config
* chore: remove max connections
---------
Co-authored-by: dozyio <github@dozy.io >
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-10-31 17:25:46 +01:00
Daniel N
77f0f6ce9e
chore: enable unoptimised images
2024-10-16 11:53:48 +02:00
Daniel N
945e0b33cb
chore: fix output mode
2024-10-16 11:51:48 +02:00
dozyio
750150c0e4
feat: direct messages ( #175 )
...
* feat: direct messages (#5 )
* chore: use Libp2pType
* feat: add direct messaging as a custom service
* chore: move init of directmessage handler
* fix: add await to dm receive
* chore: small simplification (#6 )
* chore: small simplification
* chore: remove from field which can be derived
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
* chore: signals
* chore: remove menu, add popover
* chore: move markAsRead to hook
* chore: wrap dm receive in try catch
---------
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com >
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-09-17 14:04:24 +02:00
dozyio
21cb6bb27b
feat: loading screen ( #176 )
...
* feat: loading screen
* chore: casing
---------
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com >
2024-09-03 17:16:31 +02:00
dependabot[bot]
4008981428
deps: bump @libp2p/circuit-relay-v2 from 1.0.22 to 1.0.25 in /js-peer ( #163 )
...
Bumps [@libp2p/circuit-relay-v2](https://github.com/libp2p/js-libp2p ) from 1.0.22 to 1.0.25.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/dcutr-v1.0.22...plaintext-v1.0.25 )
---
updated-dependencies:
- dependency-name: "@libp2p/circuit-relay-v2"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 11:03:21 +02:00
dependabot[bot]
4760d9b302
deps: bump @types/node from 20.12.7 to 20.14.8 in /js-peer ( #166 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-06-24 09:55:54 -05:00
dependabot[bot]
a834022f8d
deps: bump @types/react from 18.3.2 to 18.3.3 in /js-peer ( #164 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-06-17 08:50:38 -05:00
dependabot[bot]
4d972d6247
deps: bump libp2p from 1.5.1 to 1.6.1 in /js-peer ( #162 )
...
Bumps [libp2p](https://github.com/libp2p/js-libp2p ) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v1.5.1...libp2p-v1.6.1 )
---
updated-dependencies:
- dependency-name: libp2p
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-12 14:12:45 +02:00
dependabot[bot]
4025ed5008
deps: bump @libp2p/webtransport from 4.0.30 to 4.0.32 in js-peer ( #161 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-06-10 08:33:23 -05:00
dependabot[bot]
4a5466fdcc
deps: bump eslint-config-next from 14.2.2 to 14.2.3 in /js-peer ( #159 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-06-03 04:03:38 -05:00
dependabot[bot]
0761920fc4
deps: bump react-dom and @types/react-dom in /js-peer ( #158 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-05-27 11:07:36 -05:00
dependabot[bot]
d205aa1ad6
deps: bump next from 14.2.2 to 14.2.3 in /js-peer ( #151 )
...
Bumps [next](https://github.com/vercel/next.js ) from 14.2.2 to 14.2.3.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v14.2.2...v14.2.3 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 11:02:55 +02:00
dependabot[bot]
293116d9bf
deps: bump react and @types/react in /js-peer ( #152 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ). These dependencies needed to be updated together.
Updates `react` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react )
Updates `@types/react` from 18.2.79 to 18.3.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: react
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 10:40:22 +02:00
Daniel Norman
6636f2bd12
feat: add chat peer list ( #147 )
...
fixes #21
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-08 17:44:08 +02:00
Daniel Norman
5d26f8662f
feat: add proper logger ( #144 )
...
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-08 13:00:10 +02:00
Daniel Norman
da56cf364f
fix: upgrade libp2p deps ( #145 )
...
* chore: upgrade libp2p deps
* chore: remove libp2p/kad-dht
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-08 12:52:18 +02:00
dependabot[bot]
e9df860ddf
deps: bump @libp2p/identify from 1.0.19 to 2.0.0 in js-peer ( #140 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-05-07 11:47:35 -05:00
dependabot[bot]
6bdb1fc69b
deps: bump @libp2p/websockets from 8.0.20 to 8.0.22 in js-peer ( #139 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
2024-05-07 11:46:44 -05:00
Daniel Norman
de4a938160
chore: remove no-op buttons ( #143 )
...
* chore: remove no-op buttons
* chore: format code
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-07 17:51:25 +02:00
Daniel Norman
76af2f7c6d
feat: improve peer list styling ( #142 )
...
* refactor: remove unnecessary contexts
* feat: improve peer list
* chore: remove commented code
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-07 15:57:55 +02:00
Daniel Norman
bcce1fbb80
feat: add pubsub browser peer discovery ( #133 )
...
* rust-peer: do not add externally observed maddrs
Might fix #131
* feat: subscribe go peer to peer discovery topic
* feat: add pubsub peer discovery to js peer
* fix: build
* fix: use peer:discovery event to hook to peer discovery events
* fix: remove idb datastore
no real reason to use it for now
* feat: dial peers discovered through pubsub
* chore: simplify code and move out fn
* feat: autodial discovered with connection manager
* chore: remove connection manager logs
* refactor: simplify code further
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-07 12:24:55 +02:00
Daniel Norman
2246b251a1
fix: styling ( #138 )
...
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-03 17:57:18 +02:00
Daniel Norman
f6a399d8aa
add disconnect button ( #137 )
...
* feat: create circuit relay reservations on bootstrappers
* feat: persistent peer id in js-peer
* fix: pass relay listen addrs to libp2p
* Revert "feat: persistent peer id in js-peer"
Turns out this is a bad idea in a browser that can have multiple tabs
open and you don't want them to share the same peer ID
This reverts commit 50175a2fc9aff0668c399f88dc3f16636a39ee57.
* fix: import missing type
* chore: clean up bootstrap connection code
* fix: allow zero connections
avoid libp2p trying to establish connections automatically after
disconnecting
* feat: add disconnect button to peers
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-03 17:29:47 +02:00
Daniel Norman
eef2cf4fe9
chore: clean up bootstrap connection code ( #136 )
...
* feat: create circuit relay reservations on bootstrappers
* feat: persistent peer id in js-peer
* fix: pass relay listen addrs to libp2p
* Revert "feat: persistent peer id in js-peer"
Turns out this is a bad idea in a browser that can have multiple tabs
open and you don't want them to share the same peer ID
This reverts commit 50175a2fc9aff0668c399f88dc3f16636a39ee57.
* fix: import missing type
* chore: clean up bootstrap connection code
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-03 16:17:16 +02:00
Daniel Norman
6354a4abb2
feat: create circuit relay reservations on bootstrappers ( #118 )
...
* feat: create circuit relay reservations on bootstrappers
* feat: persistent peer id in js-peer
* fix: pass relay listen addrs to libp2p
* Revert "feat: persistent peer id in js-peer"
Turns out this is a bad idea in a browser that can have multiple tabs
open and you don't want them to share the same peer ID
This reverts commit 50175a2fc9aff0668c399f88dc3f16636a39ee57.
* fix: import missing type
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-05-03 16:13:24 +02:00
dependabot[bot]
d6aa4c8d49
chore(deps): bump it-map from 3.0.5 to 3.1.0 in /js-peer ( #126 )
...
Bumps [it-map](https://github.com/achingbrain/it ) from 3.0.5 to 3.1.0.
- [Release notes](https://github.com/achingbrain/it/releases )
- [Commits](https://github.com/achingbrain/it/compare/it-map-v3.0.5...it-map-3.1.0 )
---
updated-dependencies:
- dependency-name: it-map
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 12:23:38 +02:00
dependabot[bot]
d2f9cdef04
chore(deps): bump @libp2p/bootstrap from 10.0.20 to 10.0.21 in /js-peer ( #129 )
...
Bumps [@libp2p/bootstrap](https://github.com/libp2p/js-libp2p ) from 10.0.20 to 10.0.21.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/mdns-v10.0.20...mdns-v10.0.21 )
---
updated-dependencies:
- dependency-name: "@libp2p/bootstrap"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 16:19:18 +02:00
dependabot[bot]
0655ce6b96
chore(deps): bump @libp2p/webtransport from 4.0.27 to 4.0.28 in /js-peer ( #130 )
...
Bumps [@libp2p/webtransport](https://github.com/libp2p/js-libp2p ) from 4.0.27 to 4.0.28.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/webrtc-v4.0.27...webrtc-v4.0.28 )
---
updated-dependencies:
- dependency-name: "@libp2p/webtransport"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 16:19:08 +02:00
Daniel Norman
86462f2b4c
JS peer improvements ( #116 )
...
* feat: delegated routing for bootstrap multiaddrs
* feat: allow getting messages when not on chat page
also clean up and refactor some of the logic
* docs: add log line
* chore: disable eslint warning
* chore: enable indexeddb datastore
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-04-26 14:56:39 +02:00
Daniel Norman
5a7f5421c3
feat: use ipfs dht ( #113 )
...
* feat: use ipfs dht
* fix: use ipfs dht and with auto mode
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-04-25 13:58:12 +02:00
Daniel Norman
958e2755e9
Update js deps ( #112 )
...
* chore: remove fly.io deployment
Due to their networking layer, web transport wasn't working anyways
* chore: upgrade deps
---------
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2024-04-24 16:54:40 +02:00
Daniel N
c771f56413
chore: update bootstrap nodes
2024-04-24 15:48:10 +02:00
dozyio
893c57c326
chore: js-peer bump deps including libp2p to 1.x ( #110 )
2024-03-13 08:53:30 -07:00
dozyio
5c2d93e9c9
feat: log connection errors & add spinner ( #107 )
...
* chore: connection errors and spinner
* chore: dialing -> dialling
* chore: connecting text during dial
* chore: move spinner to new component
* chore: fmt svg props
2023-12-11 11:48:43 +01:00
dozyio
28ee7ba01b
chore: bump deps ( #106 )
2023-12-05 09:56:33 -05:00
Chad Nehemiah
e2d673e71c
deps: upgrade js-peer to latest libp2p ( #103 )
...
Co-authored-by: Daniel N <2color@users.noreply.github.com >
2023-11-14 16:40:20 +03:00
Daniel N
83110e01d1
add header link to source repo
2023-11-14 14:54:32 +03:00
Daniel Norman
3fab26e04a
update webrtc bootstrapper
2023-11-13 13:11:09 +03:00
Daniel N
51dedf69c4
change default boostrap node
2023-11-13 11:21:33 +03:00
Daniel N
0a4dcce100
ensure latest messages are displayed when overflow
2023-09-27 12:16:27 +02:00
Youngjoon Lee
062ba90a9b
feat: file sharing ( #76 )
...
Co-authored-by: TheDiscordian <43145244+TheDiscordian@users.noreply.github.com >
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com >
Co-authored-by: GitHub <noreply@github.com >
Co-authored-by: Thomas Eizinger <thomas@eizinger.io >
2023-09-26 11:03:09 -04:00
Thomas Eizinger
1815a15753
Move frontend to js-peer for consistency ( #84 )
...
Co-authored-by: chad <chad.nehemiah94@gmail.com >
2023-09-21 11:03:58 -05:00