@reserve-protocol/dtf-rebalance-lib 0.0.5 → 0.0.6

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.
@@ -66,7 +66,7 @@ const getOpenAuction = (rebalance, _supply, _initialFolio = [], _targetBasket =
66
66
  _prices.length != _priceError.length) {
67
67
  throw new Error('length mismatch');
68
68
  }
69
- if (_finalStageAt >= 1) {
69
+ if (_finalStageAt > 1) {
70
70
  throw new Error('finalStageAt must be less than 1');
71
71
  }
72
72
  // ================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reserve-protocol/dtf-rebalance-lib",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Rebalancing library for DTFs in typescript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -123,7 +123,7 @@ export const getOpenAuction = (
123
123
  throw new Error('length mismatch')
124
124
  }
125
125
 
126
- if (_finalStageAt >= 1) {
126
+ if (_finalStageAt > 1) {
127
127
  throw new Error('finalStageAt must be less than 1')
128
128
  }
129
129