Skip to content

Commit

Permalink
chore: fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 8, 2024
1 parent 6b13269 commit 41d390b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check",
"dep-check": "aegir dep-check -i @ipfs-shipyard/pinning-service-compliance",
"build": "aegir build --bundle false",
"test": "aegir test -t node",
"test:node": "aegir test -t node --cov"
},
"devDependencies": {
"@helia/pinning-service-api-server": "~0.0.0",
"@helia/remote-pinning": "^1.0.0",
"@ipfs-shipyard/pinning-service-compliance": "^1.8.1",
"aegir": "^44.1.2",
"execa": "^9.4.0",
"fastify": "^5.0.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check -i sinon",
"dep-check": "aegir dep-check",
"build": "aegir build --bundle false",
"test": "aegir test -t node",
"test:node": "aegir test -t node --cov",
Expand All @@ -172,7 +172,6 @@
"devDependencies": {
"@ipfs-shipyard/pinning-service-client": "^3.0.0",
"@types/sinon": "^17.0.3",
"aegir": "^44.1.2",
"sinon": "^19.0.2"
"aegir": "^44.1.2"
}
}
3 changes: 1 addition & 2 deletions packages/server/src/pin-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ export class PinStore <T extends Libp2p = Libp2p> {

status.status = 'pinned'
await this.helia.datastore.put(dsKey, cborg.encode(status))

opts?.signal?.throwIfAborted()
await this.helia.routing.provide(opts.cid, opts)
} catch (err: any) {
this.log.error('failed to pin %c - %e', opts.cid, err)

Expand Down

0 comments on commit 41d390b

Please sign in to comment.