Skip to content

Commit

Permalink
deps: update all example deps (#269)
Browse files Browse the repository at this point in the history
The ones that can be updated.
  • Loading branch information
achingbrain authored Jan 19, 2024
1 parent c2a0003 commit 345d277
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions 301-networking.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { noise } from '@chainsafe/libp2p-noise'
import { yamux } from '@chainsafe/libp2p-yamux'
import { unixfs } from '@helia/unixfs'
import { bootstrap } from '@libp2p/bootstrap'
import { identify } from '@libp2p/identify'
import { tcp } from '@libp2p/tcp'
import { MemoryBlockstore } from 'blockstore-core'
import { MemoryDatastore } from 'datastore-core'
import { createHelia } from 'helia'
import { createLibp2p } from 'libp2p'
import { identifyService } from 'libp2p/identify'

async function createNode () {
// the blockstore is where we store the blocks that make up files
Expand Down Expand Up @@ -46,7 +46,7 @@ async function createNode () {
})
],
services: {
identify: identifyService()
identify: identify()
}
})

Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@
"test": "test-node-example test/*"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^13.0.1",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@helia/unixfs": "^1.4.1",
"@libp2p/bootstrap": "^9.0.8",
"@libp2p/tcp": "^8.0.9",
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-yamux": "^6.0.1",
"@helia/unixfs": "^2.0.1",
"@libp2p/bootstrap": "^10.0.12",
"@libp2p/identify": "1.0.11",
"@libp2p/tcp": "^9.0.12",
"blockstore-core": "^4.1.0",
"datastore-core": "^9.1.1",
"helia": "^2.0.3",
"libp2p": "^0.46.14"
"helia": "^3.0.1",
"libp2p": "^1.2.0"
},
"devDependencies": {
"test-ipfs-example": "^1.0.0"
Expand Down

0 comments on commit 345d277

Please sign in to comment.