If you are seeing an error like Module not found: Can't resolve 'rpc-websockets/dist/lib/client.cjs' when trying to use the SDK, you can fix this by adding the following to your package.json file:

Note that even if you are not using Solana, you still need to include the @solana/web3 line below. This will be fixed in the next major SDK release (V3).

"overrides": {
  "rpc-websockets": "7.10.0",
  "@solana/web3.js": "1.91.6"