diff --git a/package.json b/package.json index 4a26a3a..e0a27c5 100644 --- a/package.json +++ b/package.json @@ -158,18 +158,18 @@ "release": "aegir release" }, "dependencies": { - "@libp2p/logger": "^4.0.1", - "@multiformats/multiaddr": "^12.1.11", - "@multiformats/multiaddr-matcher": "^1.1.0", - "multiformats": "^12.1.3", - "p-retry": "^6.1.0" + "@libp2p/logger": "^4.0.6", + "@multiformats/multiaddr": "^12.1.14", + "@multiformats/multiaddr-matcher": "^1.1.2", + "multiformats": "^13.0.1", + "p-retry": "^6.2.0" }, "devDependencies": { - "@helia/interface": "^2.1.0", - "@helia/unixfs": "^1.4.3", + "@helia/interface": "^4.0.0", + "@helia/unixfs": "^3.0.0", "@ipfs-shipyard/pinning-service-client": "^1.0.3", - "@types/express": "^4.17.17", - "aegir": "^41.1.14", + "@types/express": "^4.17.21", + "aegir": "^42.2.3", "get-port": "^7.0.0", "mock-ipfs-pinning-service": "^0.4.2", "nyc": "^15.1.0", diff --git a/src/heliaRemotePinner.ts b/src/heliaRemotePinner.ts index a757492..e24c5d9 100644 --- a/src/heliaRemotePinner.ts +++ b/src/heliaRemotePinner.ts @@ -3,7 +3,7 @@ import { logger } from '@libp2p/logger' import { multiaddr } from '@multiformats/multiaddr' import { P2P } from '@multiformats/multiaddr-matcher' import pRetry, { type Options as pRetryOptions } from 'p-retry' -import type { Helia } from '@helia/interface' +import type { Helia } from 'helia' import type { CID } from 'multiformats/cid' const log = logger('helia:remote-pinning') diff --git a/src/index.ts b/src/index.ts index a8a61f8..df57e34 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { HeliaRemotePinner, type HeliaRemotePinnerConfig } from './heliaRemotePinner.js' -import type { Helia } from '@helia/interface' import type { RemotePinningServiceClient } from '@ipfs-shipyard/pinning-service-client' +import type { Helia } from 'helia' export type { HeliaRemotePinner, HeliaRemotePinnerConfig } from './heliaRemotePinner.js' diff --git a/test/index.spec.ts b/test/index.spec.ts index 6aa6163..6d65b74 100644 --- a/test/index.spec.ts +++ b/test/index.spec.ts @@ -1,10 +1,9 @@ import { unixfs, type UnixFS } from '@helia/unixfs' import { Configuration, RemotePinningServiceClient, Status } from '@ipfs-shipyard/pinning-service-client' import { expect } from 'aegir/chai' -import { createHelia } from 'helia' +import { createHelia, type Helia } from 'helia' import sinon, { type SinonSandbox, type SinonStub } from 'sinon' import { type HeliaRemotePinner, createRemotePinner } from '../src/index.js' -import type { Helia } from '@helia/interface' const encoder = new TextEncoder()