Skip to content

Commit 8ccd9aa

Browse files
chore: update versions and lerna.json
1 parent 35f6257 commit 8ccd9aa

27 files changed

Lines changed: 164 additions & 106 deletions

.changeset/fix-browser-crypto-resolution.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/fix-buffer-not-defined-browser.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/fix-relayer-reconnect-infinite-loop.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/fix-subscription-cleanup.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"ignore": ["packages/web3wallet"]
77
}
88
},
9-
"version": "2.23.8"
9+
"version": "2.23.9"
1010
}

package-lock.json

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @walletconnect/core
22

3+
## 2.23.9
4+
5+
### Patch Changes
6+
7+
- [#7204](https://github.com/WalletConnect/walletconnect-monorepo/pull/7204) [`431e43b`](https://github.com/WalletConnect/walletconnect-monorepo/commit/431e43b6f49139b6151e712bc40b518bc74a6123) Thanks [@ganchoradkov](https://github.com/ganchoradkov)! - fix: prevent Node.js crypto module from leaking into browser bundles
8+
- 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
9+
- Add browser field override plugin to redirect `multiformats` internal `sha2.js` to `sha2-browser.js` (Web Crypto API) in UMD bundles
10+
- Add build-time guard that fails the UMD build if any Node.js built-in module is referenced
11+
12+
- [#7206](https://github.com/WalletConnect/walletconnect-monorepo/pull/7206) [`ed0fa42`](https://github.com/WalletConnect/walletconnect-monorepo/commit/ed0fa424f86a0a36fe6235bb4535b92c36ca94bd) Thanks [@ganchoradkov](https://github.com/ganchoradkov)! - fix: prevent infinite loop and memory exhaustion in relayer reconnection
13+
- Eliminate `new Promise(async executor)` antipattern in `connect()` and `subscribe()` so background tasks no longer spawn unsupervised connection attempts
14+
- Serialize connection attempts via `connectPromise` in both `transportOpen()` and `toEstablishConnection()` to prevent concurrent `connect()` calls
15+
- Keep `connectionAttemptInProgress` guard up during the entire retry loop to block `restartTransport()` from spawning parallel connections
16+
- Reset `reconnectInProgress` on early returns in `onProviderDisconnect()` to prevent the flag from getting permanently stuck
17+
- Close old WebSocket in `createProvider()` before creating a new one to prevent connection and listener leaks
18+
- Wrap `subscriber.stop()` in try/catch in `onProviderDisconnect()` to prevent `reconnectInProgress` from getting stuck on throw
19+
- Reset `stalledRestartBackoff` on successful connection so recovery latency doesn't degrade after repeated stall/recover cycles
20+
21+
- Updated dependencies [[`bb4869f`](https://github.com/WalletConnect/walletconnect-monorepo/commit/bb4869f44f493973cef190c4100d28b321284e03)]:
22+
- @walletconnect/utils@2.23.9
23+
- @walletconnect/types@2.23.9
24+
325
## 2.23.8
426

527
### Patch Changes

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@walletconnect/core",
33
"description": "Core for WalletConnect Protocol",
4-
"version": "2.23.8",
4+
"version": "2.23.9",
55
"author": "WalletConnect, Inc. <walletconnect.com>",
66
"homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
77
"license": "SEE LICENSE IN LICENSE.md",
@@ -50,8 +50,8 @@
5050
"@walletconnect/relay-auth": "1.1.0",
5151
"@walletconnect/safe-json": "1.0.2",
5252
"@walletconnect/time": "1.0.2",
53-
"@walletconnect/types": "2.23.8",
54-
"@walletconnect/utils": "2.23.8",
53+
"@walletconnect/types": "2.23.9",
54+
"@walletconnect/utils": "2.23.9",
5555
"@walletconnect/window-getters": "1.0.1",
5656
"es-toolkit": "1.44.0",
5757
"events": "3.3.0",

packages/core/src/constants/relayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const RELAYER_STORAGE_OPTIONS = {
3434

3535
// Updated automatically via `new-version` npm script.
3636

37-
export const RELAYER_SDK_VERSION = "2.23.8";
37+
export const RELAYER_SDK_VERSION = "2.23.9";
3838

3939
// delay to wait before closing the transport connection after init if not active
4040
export const RELAYER_TRANSPORT_CUTOFF = 10_000;

packages/pay/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.0.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb4869f`](https://github.com/WalletConnect/walletconnect-monorepo/commit/bb4869f44f493973cef190c4100d28b321284e03)]:
8+
- @walletconnect/utils@2.23.9
9+
- @walletconnect/types@2.23.9
10+
311
## 1.0.7
412

513
### Patch Changes

0 commit comments

Comments
 (0)