Skip to content

Releases: WalletConnect/walletconnect-monorepo

@walletconnect/utils@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • #7205 bb4869f Thanks @ganchoradkov! - fix: replace Node.js Buffer with browser-safe alternatives to fix "Buffer is not defined" in browser environments

    • Replace Buffer.from/Buffer.concat with Uint8Array, btoa/atob, TextEncoder/TextDecoder, and uint8arrays helpers across misc.ts, crypto.ts, cacao.ts, signatures.ts, and polkadot.ts
    • Add scripts/verify-no-buffer.mjs to verify UMD bundles contain no unguarded Buffer usage
  • Updated dependencies []:

    • @walletconnect/types@2.23.9

@walletconnect/universal-provider@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • Updated dependencies [bb4869f, 6e4a34d]:
    • @walletconnect/utils@2.23.9
    • @walletconnect/sign-client@2.23.9
    • @walletconnect/types@2.23.9

@walletconnect/types@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

@walletconnect/types@2.23.9

@walletconnect/signer-connection@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • Updated dependencies [bb4869f, 6e4a34d]:
    • @walletconnect/utils@2.23.9
    • @walletconnect/sign-client@2.23.9
    • @walletconnect/types@2.23.9

@walletconnect/sign-client@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • #7201 6e4a34d Thanks @ganchoradkov! - fix: clean up orphaned subscriber topics to prevent indefinite persistence

    • Fix onSessionSettleResponse error path to fully clean up session topic (unsubscribe, delete keys, remove expiry)
    • Fix proposalExpireHandler to unsubscribe session topic when proposal expires after wallet approval
    • Fix authenticate() to unsubscribe previous auth response topic before subscribing to a new one
    • Add heartbeat-based reconciliation that removes subscriber topics not associated with any active session, pairing, or pending session
  • Updated dependencies [431e43b, bb4869f, ed0fa42]:

    • @walletconnect/core@2.23.9
    • @walletconnect/utils@2.23.9
    • @walletconnect/types@2.23.9

@walletconnect/react-native-compat@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

@walletconnect/react-native-compat@2.23.9

@walletconnect/pos-client@1.0.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • Updated dependencies [431e43b, bb4869f, ed0fa42, 6e4a34d]:
    • @walletconnect/core@2.23.9
    • @walletconnect/utils@2.23.9
    • @walletconnect/sign-client@2.23.9
    • @walletconnect/types@2.23.9

@walletconnect/pay@1.0.8

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • Updated dependencies [bb4869f]:
    • @walletconnect/utils@2.23.9
    • @walletconnect/types@2.23.9

@walletconnect/ethereum-provider@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • Updated dependencies [bb4869f, 6e4a34d]:
    • @walletconnect/utils@2.23.9
    • @walletconnect/sign-client@2.23.9
    • @walletconnect/universal-provider@2.23.9
    • @walletconnect/types@2.23.9

@walletconnect/core@2.23.9

27 Mar 08:59
a451d9f

Choose a tag to compare

Patch Changes

  • #7204 431e43b Thanks @ganchoradkov! - fix: prevent Node.js crypto module from leaking into browser bundles

    • Fix Rollup external config to handle subpath imports (e.g. uint8arrays/from-string), preventing transitive bundling of multiformats and its Node.js crypto import in ESM/CJS outputs
    • Add browser field override plugin to redirect multiformats internal sha2.js to sha2-browser.js (Web Crypto API) in UMD bundles
    • Add build-time guard that fails the UMD build if any Node.js built-in module is referenced
  • #7206 ed0fa42 Thanks @ganchoradkov! - fix: prevent infinite loop and memory exhaustion in relayer reconnection

    • Eliminate new Promise(async executor) antipattern in connect() and subscribe() so background tasks no longer spawn unsupervised connection attempts
    • Serialize connection attempts via connectPromise in both transportOpen() and toEstablishConnection() to prevent concurrent connect() calls
    • Keep connectionAttemptInProgress guard up during the entire retry loop to block restartTransport() from spawning parallel connections
    • Reset reconnectInProgress on early returns in onProviderDisconnect() to prevent the flag from getting permanently stuck
    • Close old WebSocket in createProvider() before creating a new one to prevent connection and listener leaks
    • Wrap subscriber.stop() in try/catch in onProviderDisconnect() to prevent reconnectInProgress from getting stuck on throw
    • Reset stalledRestartBackoff on successful connection so recovery latency doesn't degrade after repeated stall/recover cycles
  • Updated dependencies [bb4869f]:

    • @walletconnect/utils@2.23.9
    • @walletconnect/types@2.23.9