Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: update multiformats and related dependencies #257

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

achingbrain
Copy link
Collaborator

[email protected] shipped with a breaking change so update all deps using multiformats to the latest version.

The code changed is not used by this module so there's not a lot of changes here, but this should still go out as a major because the interface versions have changed.

`[email protected]` shipped with a [breaking change](multiformats/js-multiformats#230)
so update all deps using multiformats to the latest version.

The code changed is not used by this module so there's not a lot of
changes here, but this should still go out as a major because the
interface versions have changed.
@achingbrain achingbrain requested a review from a team as a code owner January 6, 2023 18:42
@@ -72,6 +72,7 @@ async function createJsPeer (options: SpawnOptions): Promise<Daemon> {
}

const opts: Libp2pOptions = {
// @ts-expect-error @libp2p/interface-peer-id types are not aligned
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed once [email protected] ships

@@ -43,7 +44,7 @@ describe('Index', () => {
const wrappedInbound = pbStream(inbound.conn)
const wrappedOutbound = pbStream(outbound.conn)

wrappedOutbound.writeLP(Buffer.from('test'))
wrappedOutbound.writeLP(uint8ArrayFromString('test'))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was necessary for the browser tests to pass for me as Buffer is not in the browser global scope.

@wemeetagain wemeetagain merged commit a2914a0 into ChainSafe:master Jan 6, 2023
@achingbrain achingbrain deleted the fix/update-multiformats branch January 7, 2023 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants