@bananapus/router-terminal-v6 0.0.47 → 0.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/router-terminal-v6",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -847,8 +847,8 @@ contract JBRouterTerminal is
847
847
 
848
848
  // Decode only the buyback field used for route scoring. `minimumSwapAmountOut` is executable because the
849
849
  // hook will enforce it; the later raw quote word is diagnostic and can overstate what execution can prove.
850
- (uint256 minimumSwapAmountOut,,,,,,) =
851
- abi.decode(specification.metadata, (uint256, uint256, uint256, int24, uint128, PoolId, uint256));
850
+ (uint256 minimumSwapAmountOut,,,,,,,) =
851
+ abi.decode(specification.metadata, (uint256, uint256, uint256, int24, uint128, PoolId, uint256, bool));
852
852
 
853
853
  // Keep whichever understood executable hook commitment implies the strongest cash-out output.
854
854
  if (minimumSwapAmountOut > effectiveAmount) effectiveAmount = minimumSwapAmountOut;