Skip to content

Conversation

@alvrs
Copy link
Member

@alvrs alvrs commented Jul 19, 2025

changed ws.on to ws.addEventListener for better cross environment compatibility

@changeset-bot
Copy link

changeset-bot bot commented Jul 19, 2025

🦋 Changeset detected

Latest commit: acb12ba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@latticexyz/store-sync Patch
@latticexyz/cli Patch
@latticexyz/dev-tools Patch
@latticexyz/explorer Patch
@latticexyz/store-indexer Patch
@latticexyz/world-module-erc20 Patch
@latticexyz/world-modules Patch
@latticexyz/abi-ts Patch
@latticexyz/block-logs-stream Patch
@latticexyz/common Patch
@latticexyz/config Patch
create-mud Patch
@latticexyz/entrykit Patch
@latticexyz/faucet Patch
@latticexyz/gas-report Patch
@latticexyz/paymaster Patch
@latticexyz/protocol-parser Patch
@latticexyz/react Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/stash Patch
@latticexyz/store Patch
@latticexyz/utils Patch
vite-plugin-mud Patch
@latticexyz/world-consumer Patch
@latticexyz/world-module-callwithsignature Patch
@latticexyz/world-module-metadata Patch
@latticexyz/world Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines -66 to -80
ws.on("ping", () => {
debug(`ws${wsId} ping`);
});

ws.on("pong", () => {
debug(`ws${wsId} pong`);
});

ws.on("unexpected-response", (message) => {
debugError(`ws${wsId} unexpected-response`, message);
});

ws.on("upgrade", () => {
debug(`ws${wsId} upgrade`);
});
Copy link
Member Author

Choose a reason for hiding this comment

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

these were unused, and are not available on the addEventListener api

@vercel
Copy link

vercel bot commented Jul 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
id.place ❌ Failed (Inspect) Jul 19, 2025 8:40am

@alvrs alvrs marked this pull request as ready for review July 19, 2025 08:49
@alvrs alvrs merged commit e76d725 into main Jul 19, 2025
18 of 19 checks passed
@alvrs alvrs deleted the alvrs/fix-wiresaw-web branch July 19, 2025 08:49
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