Skip to content

Commit

Permalink
Add missing dependencies for package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sethfork committed Mar 11, 2024
1 parent c010a16 commit 74c755e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ipfs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
async function uploadToIpfs(content) {
const { createHelia } = await import("helia");
const { json } = await import("@helia/json");

const helia = await createHelia();
const heliaInstance = json(helia);

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
"prepublishOnly": "npm run build-gateway"
},
"dependencies": {
"@helia/json": "^3.0.1",
"bos-cli": "^0.3.6",
"chokidar": "^3.5.3",
"commander": "^11.1.0",
"crypto-js": "^4.2.0",
"express": "^4.18.2",
"glob": "^10.3.10",
"helia": "^4.0.2",
"mock-fs": "^5.2.0",
"near-cli-rs": "^0.4.3",
"prettier": "^3.1.0",
Expand Down

0 comments on commit 74c755e

Please sign in to comment.