Skip to content

Commit

Permalink
feat: upgrade to bee 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 committed Jun 3, 2024
1 parent 12f8712 commit 1709eb6
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 129 deletions.
2 changes: 1 addition & 1 deletion src/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function runDownloader(force = false): Promise<void> {
}
await ensureDir(paths.data)
await ensureAsset(
`https://github.com/ethersphere/bee/releases/download/v2.0.0/bee-${platformString}-${archString}${suffixString}`,
`https://github.com/ethersphere/bee/releases/download/v2.1.0/bee-${platformString}-${archString}${suffixString}`,
`bee${suffixString}`,
{ chmod: process.platform !== 'win32', force },
)
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function runServer() {
})
router.get('/peers', async context => {
try {
const response = await fetch('http://127.0.0.1:1635/peers')
const response = await fetch('http://127.0.0.1:1633/peers')
const { peers } = await response.json()

context.body = { connections: peers ? peers.length || 0 : 0 }
Expand Down
173 changes: 47 additions & 126 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"homepage": "http://localhost:5000/dashboard",
"dependencies": {
"@ethersphere/bee-dashboard": "^0.25.0",
"@ethersphere/bee-dashboard": "^0.26.0",
"@types/jest": "^28.1.3",
"@types/node": "^18.0.0",
"@types/react": "^18.0.14",
Expand Down
3 changes: 3 additions & 0 deletions ui/src/ethersphere__bee-dasboard.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module '@ethersphere/bee-dashboard' {
export default function BeeDashboard(props: { isDesktop: boolean }): JSX.Element
}

0 comments on commit 1709eb6

Please sign in to comment.