Skip to content

Commit

Permalink
build: lock versions of libp2p related deps
Browse files Browse the repository at this point in the history
We're on nodejs v18 until o1js/protokit upgrades.

@libp2p says: "We support LTS and Current which means v20+"

Related:
- libp2p/js-libp2p#2656
- libp2p/js-libp2p#2652

Fixes error:
TypeError: CustomEvent is not a constructor
    at TypedEventEmitter.safeDispatchEvent
(file:///.../appchain-agent/node_modules/.pnpm/@libp2p+interface@1.7.0/node_modules/@libp2p/interface/dist/src/event-target.js:53:35)
  • Loading branch information
xendarboh committed Aug 23, 2024
1 parent a1416c6 commit d3907a6
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 72 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
"typescript": "5.5.4"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^15.1.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@helia/unixfs": "^3.0.7",
"@libp2p/bootstrap": "^10.1.4",
"@libp2p/identify": "^1.0.21",
"@libp2p/interface": "^1.6.3",
"@libp2p/tcp": "^9.1.4",
"blockstore-core": "^4.4.1",
"blockstore-fs": "^1.1.11",
"@chainsafe/libp2p-noise": "15.1.0",
"@chainsafe/libp2p-yamux": "6.0.2",
"@helia/unixfs": "3.0.7",
"@libp2p/bootstrap": "10.1.4",
"@libp2p/identify": "1.0.21",
"@libp2p/interface": "1.6.3",
"@libp2p/tcp": "9.1.4",
"blockstore-core": "4.4.1",
"blockstore-fs": "1.1.11",
"cbor": "^9.0.2",
"chain": "file:../appchain/packages/chain",
"commander": "^12.1.0",
"datastore-core": "^9.2.9",
"datastore-fs": "^9.1.9",
"helia": "^4.2.5",
"libp2p": "^1.8.3",
"multiformats": "^13.2.2",
"datastore-core": "9.2.9",
"datastore-fs": "9.1.9",
"helia": "4.2.5",
"libp2p": "1.8.3",
"multiformats": "13.2.2",
"o1js": "1.6.0"
},
"packageManager": "pnpm@9.7.0+sha512.dc09430156b427f5ecfc79888899e1c39d2d690f004be70e05230b72cb173d96839587545d09429b55ac3c429c801b4dc3c0e002f653830a420fa2dd4e3cf9cf"
Expand Down
Loading

0 comments on commit d3907a6

Please sign in to comment.