From b9d3fee4993e44db132a450150fd21a5ab4e6912 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2026 01:55:14 +0000 Subject: [PATCH] Version Packages --- .changeset/ambient-slippage-basis-points.md | 5 ---- .changeset/early-terms-approve.md | 5 ---- .changeset/few-bugs-remember.md | 5 ---- .changeset/hot-pens-compare.md | 5 ---- .changeset/nervous-eyes-shake.md | 5 ---- .changeset/perimeter-fee-display.md | 5 ---- .changeset/perimeter-hold-review-fixes.md | 5 ---- .changeset/perimeter-hold-visibility.md | 5 ---- .changeset/perimeter-withdrawal-hold.md | 5 ---- .../sdk-permit2-signature-normalization.md | 5 ---- .changeset/shiny-poets-swap.md | 5 ---- .changeset/tame-pugs-fetch.md | 5 ---- .changeset/ten-dogs-glow.md | 5 ---- .changeset/tough-rocks-sniff.md | 5 ---- .changeset/violet-eagles-recover.md | 5 ---- apps/frontend/CHANGELOG.md | 24 +++++++++++++++++++ apps/frontend/package.json | 2 +- packages/sdk/CHANGELOG.md | 9 +++++++ packages/sdk/package.json | 2 +- 19 files changed, 35 insertions(+), 77 deletions(-) delete mode 100644 .changeset/ambient-slippage-basis-points.md delete mode 100644 .changeset/early-terms-approve.md delete mode 100644 .changeset/few-bugs-remember.md delete mode 100644 .changeset/hot-pens-compare.md delete mode 100644 .changeset/nervous-eyes-shake.md delete mode 100644 .changeset/perimeter-fee-display.md delete mode 100644 .changeset/perimeter-hold-review-fixes.md delete mode 100644 .changeset/perimeter-hold-visibility.md delete mode 100644 .changeset/perimeter-withdrawal-hold.md delete mode 100644 .changeset/sdk-permit2-signature-normalization.md delete mode 100644 .changeset/shiny-poets-swap.md delete mode 100644 .changeset/tame-pugs-fetch.md delete mode 100644 .changeset/ten-dogs-glow.md delete mode 100644 .changeset/tough-rocks-sniff.md delete mode 100644 .changeset/violet-eagles-recover.md diff --git a/.changeset/ambient-slippage-basis-points.md b/.changeset/ambient-slippage-basis-points.md deleted file mode 100644 index dc6874b17..000000000 --- a/.changeset/ambient-slippage-basis-points.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sovryn/sdk': patch ---- - -Fix Ambient route slippage encoding: `options.slippage` is expressed in basis points (10_000 = 100%) but was divided by 1000 instead of 10000 before being passed to sdex, so the enforced slippage bound was 10x looser than the value the user selected (e.g. 0.5% became 5%). The `?? 50` fallback keeps its intended meaning of 0.5%, matching the UI's preset tolerance. diff --git a/.changeset/early-terms-approve.md b/.changeset/early-terms-approve.md deleted file mode 100644 index e57dade83..000000000 --- a/.changeset/early-terms-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -fix: state not clearing when leaving token bridge diff --git a/.changeset/few-bugs-remember.md b/.changeset/few-bugs-remember.md deleted file mode 100644 index 804289954..000000000 --- a/.changeset/few-bugs-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -SOV-5278: fix amm rewards estimation diff --git a/.changeset/hot-pens-compare.md b/.changeset/hot-pens-compare.md deleted file mode 100644 index ceefed948..000000000 --- a/.changeset/hot-pens-compare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -SOV-5296: zero copy changes diff --git a/.changeset/nervous-eyes-shake.md b/.changeset/nervous-eyes-shake.md deleted file mode 100644 index 07dd7c207..000000000 --- a/.changeset/nervous-eyes-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -fix: ambient position amounts diff --git a/.changeset/perimeter-fee-display.md b/.changeset/perimeter-fee-display.md deleted file mode 100644 index 91089c1cb..000000000 --- a/.changeset/perimeter-fee-display.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': minor ---- - -feat: Sovryn Perimeter Fee display on withdraw and close flows. Shows the fee rate, amount, and net "You will receive" on lending withdrawals, borrower exits, Zero collateral withdrawal/close, and the surplus claim. Gated purely on on-chain state and fail-hidden: nothing renders until governance activates the perimeter and charging is enabled, so current forms are unchanged until then. diff --git a/.changeset/perimeter-hold-review-fixes.md b/.changeset/perimeter-hold-review-fixes.md deleted file mode 100644 index 8f680714e..000000000 --- a/.changeset/perimeter-hold-review-fixes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -Perimeter withdraw queue fixes: exclude a just-released hold from the batch release so it cannot revert the whole atomic transaction; stop showing the withdrawal-hold notice on a borrow or add-collateral adjust that removes nothing; correct the "Releasable by the owner" status label and use the full "Sovryn Perimeter withdraw queue" name in the hold notification. diff --git a/.changeset/perimeter-hold-visibility.md b/.changeset/perimeter-hold-visibility.md deleted file mode 100644 index 23bfab18b..000000000 --- a/.changeset/perimeter-hold-visibility.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': minor ---- - -Held withdrawals now say where the money went: a visible Perimeter withdraw queue notice with a link in every charged form, and a post-signature notification on the withdrawal itself. The Perimeter withdraw queue page is reached from the Perimeter entry in the account menu and gains a one-transaction release of all ready holds. diff --git a/.changeset/perimeter-withdrawal-hold.md b/.changeset/perimeter-withdrawal-hold.md deleted file mode 100644 index 5c1323b1e..000000000 --- a/.changeset/perimeter-withdrawal-hold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': minor ---- - -feat: Sovryn Perimeter withdrawal hold. Shows how long a withdrawal will be held before it is paid out, on lending withdrawals, borrower exits and Zero collateral withdrawal/close, and adds a Perimeter withdraw queue page at /perimeter listing the withdrawals currently held for the connected account with the state each is in and a Release action for the ones that are ready. Also corrects the on-chain surface ids after the contracts renamed them, without which the existing fee display would silently stop matching any configured policy. Gated purely on on-chain state and fail-hidden: while the perimeter is undeployed, unwired or disabled every form renders exactly as it does today and the withdraw queue page reads as empty. diff --git a/.changeset/sdk-permit2-signature-normalization.md b/.changeset/sdk-permit2-signature-normalization.md deleted file mode 100644 index c8811a628..000000000 --- a/.changeset/sdk-permit2-signature-normalization.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sovryn/sdk': patch ---- - -Canonicalize the Permit2 typed-data signature in the MocIntegration route before encoding it on-chain: wallets that return the ECDSA v byte as a raw recovery id (0/1 — Frame, onboard-ledger, some MPC wallets) or an EIP-2098 compact signature previously produced calldata that Permit2's ecrecover rejects. Signatures are normalized to the 65-byte r||s||v form with v in {27, 28}; canonical signatures pass through unchanged, malformed ones now throw at build time instead of reverting on-chain. SDK-side counterpart of the frontend fix in PR #1147. diff --git a/.changeset/shiny-poets-swap.md b/.changeset/shiny-poets-swap.md deleted file mode 100644 index f6581baf4..000000000 --- a/.changeset/shiny-poets-swap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sovryn/sdk": patch ---- - -Support non-18-decimal tokens (USDT0) in the RSK AMM swap route: add USDT0 to the tradeable token list and normalize amounts between the router's 18-decimal convention and each token's native units in quote/swap/approve diff --git a/.changeset/tame-pugs-fetch.md b/.changeset/tame-pugs-fetch.md deleted file mode 100644 index 89efc5e72..000000000 --- a/.changeset/tame-pugs-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -SOV-5304 expand bridge fees by default diff --git a/.changeset/ten-dogs-glow.md b/.changeset/ten-dogs-glow.md deleted file mode 100644 index ebae359ba..000000000 --- a/.changeset/ten-dogs-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sovryn/sdk': patch ---- - -fix: route search diff --git a/.changeset/tough-rocks-sniff.md b/.changeset/tough-rocks-sniff.md deleted file mode 100644 index 007cc7bef..000000000 --- a/.changeset/tough-rocks-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -chore: remove spice mentions diff --git a/.changeset/violet-eagles-recover.md b/.changeset/violet-eagles-recover.md deleted file mode 100644 index c2a941ee4..000000000 --- a/.changeset/violet-eagles-recover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'frontend': patch ---- - -fix: normalize typed-data signature v-byte (0/1 -> 27/28) before on-chain use so Permit2 flows work with Frame, Ledger and other raw-recovery-id wallets diff --git a/apps/frontend/CHANGELOG.md b/apps/frontend/CHANGELOG.md index 949ddf905..37606a59c 100644 --- a/apps/frontend/CHANGELOG.md +++ b/apps/frontend/CHANGELOG.md @@ -1,5 +1,29 @@ # frontend +## 1.2.0 + +### Minor Changes + +- d748a54e: feat: Sovryn Perimeter Fee display on withdraw and close flows. Shows the fee rate, amount, and net "You will receive" on lending withdrawals, borrower exits, Zero collateral withdrawal/close, and the surplus claim. Gated purely on on-chain state and fail-hidden: nothing renders until governance activates the perimeter and charging is enabled, so current forms are unchanged until then. +- f325bc26: Held withdrawals now say where the money went: a visible Perimeter withdraw queue notice with a link in every charged form, and a post-signature notification on the withdrawal itself. The Perimeter withdraw queue page is reached from the Perimeter entry in the account menu and gains a one-transaction release of all ready holds. +- f325bc26: feat: Sovryn Perimeter withdrawal hold. Shows how long a withdrawal will be held before it is paid out, on lending withdrawals, borrower exits and Zero collateral withdrawal/close, and adds a Perimeter withdraw queue page at /perimeter listing the withdrawals currently held for the connected account with the state each is in and a Release action for the ones that are ready. Also corrects the on-chain surface ids after the contracts renamed them, without which the existing fee display would silently stop matching any configured policy. Gated purely on on-chain state and fail-hidden: while the perimeter is undeployed, unwired or disabled every form renders exactly as it does today and the withdraw queue page reads as empty. + +### Patch Changes + +- d23037c4: fix: state not clearing when leaving token bridge +- a84ece08: SOV-5278: fix amm rewards estimation +- 98aa545e: SOV-5296: zero copy changes +- 49dbe17f: fix: ambient position amounts +- f325bc26: Perimeter withdraw queue fixes: exclude a just-released hold from the batch release so it cannot revert the whole atomic transaction; stop showing the withdrawal-hold notice on a borrow or add-collateral adjust that removes nothing; correct the "Releasable by the owner" status label and use the full "Sovryn Perimeter withdraw queue" name in the hold notification. +- b8bacc6a: SOV-5304 expand bridge fees by default +- a201cebe: chore: remove spice mentions +- bd18c4ed: fix: normalize typed-data signature v-byte (0/1 -> 27/28) before on-chain use so Permit2 flows work with Frame, Ledger and other raw-recovery-id wallets +- Updated dependencies [6917f90c] +- Updated dependencies [e1256a40] +- Updated dependencies [84ced870] +- Updated dependencies [f60cca69] + - @sovryn/sdk@2.0.11 + ## 1.1.41 ### Patch Changes diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 8e8c3054f..0f641ce9b 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "1.1.41", + "version": "1.2.0", "homepage": ".", "private": true, "dependencies": { diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 281c73c28..84630df04 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @sovryn/sdk +## 2.0.11 + +### Patch Changes + +- 6917f90c: Fix Ambient route slippage encoding: `options.slippage` is expressed in basis points (10_000 = 100%) but was divided by 1000 instead of 10000 before being passed to sdex, so the enforced slippage bound was 10x looser than the value the user selected (e.g. 0.5% became 5%). The `?? 50` fallback keeps its intended meaning of 0.5%, matching the UI's preset tolerance. +- e1256a40: Canonicalize the Permit2 typed-data signature in the MocIntegration route before encoding it on-chain: wallets that return the ECDSA v byte as a raw recovery id (0/1 — Frame, onboard-ledger, some MPC wallets) or an EIP-2098 compact signature previously produced calldata that Permit2's ecrecover rejects. Signatures are normalized to the 65-byte r||s||v form with v in {27, 28}; canonical signatures pass through unchanged, malformed ones now throw at build time instead of reverting on-chain. SDK-side counterpart of the frontend fix in PR #1147. +- 84ced870: Support non-18-decimal tokens (USDT0) in the RSK AMM swap route: add USDT0 to the tradeable token list and normalize amounts between the router's 18-decimal convention and each token's native units in quote/swap/approve +- f60cca69: fix: route search + ## 2.0.10 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index dae262489..205bd72a7 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@sovryn/sdk", - "version": "2.0.10", + "version": "2.0.11", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT",