Skip to content

Commit

Permalink
fix: use normal imports with .js
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Oct 30, 2024
1 parent 2c07108 commit bce39ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/helia/src/utils/libp2p-defaults.browser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { noise } from '@chainsafe/libp2p-noise'
import { yamux } from '@chainsafe/libp2p-yamux'
import { createDelegatedRoutingV1HttpApiClient } from '@helia/delegated-routing-v1-http-api-client'
import { delegatedHTTPRoutingDefaults } from '@helia/routers/src/utils/delegated-http-routing-defaults.js'
import { delegatedHTTPRoutingDefaults } from '@helia/routers/src/utils/delegated-http-routing-defaults'
import { autoNAT } from '@libp2p/autonat'
import { bootstrap } from '@libp2p/bootstrap'
import { circuitRelayTransport } from '@libp2p/circuit-relay-v2'
Expand Down
2 changes: 1 addition & 1 deletion packages/helia/src/utils/libp2p-defaults.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { noise } from '@chainsafe/libp2p-noise'
import { yamux } from '@chainsafe/libp2p-yamux'
import { createDelegatedRoutingV1HttpApiClient } from '@helia/delegated-routing-v1-http-api-client'
import { delegatedHTTPRoutingDefaults } from '@helia/routers/src/utils/delegated-http-routing-defaults.js'
import { delegatedHTTPRoutingDefaults } from '@helia/routers/src/utils/delegated-http-routing-defaults'
import { autoNAT } from '@libp2p/autonat'
import { bootstrap } from '@libp2p/bootstrap'
import { circuitRelayTransport, circuitRelayServer, type CircuitRelayService } from '@libp2p/circuit-relay-v2'
Expand Down

0 comments on commit bce39ed

Please sign in to comment.