-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Problem
The Docker build for js-v2.x was failing with TypeScript compilation errors:
discoverRelaysproperty doesn't exist inCircuitRelayTransportInittype- TypeScript configuration incompatibilities with aegir 47.0.16
Solution
- Updated aegir from
^47.0.16to^47.0.22to match js-v3.x (which builds successfully) - Removed
discoverRelays: 1parameter fromcircuitRelayTransport()call - this API was removed in @libp2p/circuit-relay-v2 v3.x, relay discovery is now automatic - Updated package-lock.json to sync with new aegir version
Changes
transport/impls/js/v2.x/package.json- Updated aegir versiontransport/impls/js/v2.x/package-lock.json- Synced dependenciestransport/impls/js/v2.x/test/fixtures/get-libp2p.ts- Removed deprecated discoverRelays parameter
The build now completes successfully.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels