@cowprotocol/sdk-order-book 0.3.1 → 0.3.2
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -787,7 +787,7 @@ function getQuoteAmountsAndCosts(params) {
|
|
|
787
787
|
};
|
|
788
788
|
const beforeAllFees = isSell ? {
|
|
789
789
|
sellAmount: sellAmountBeforeNetworkCosts.big,
|
|
790
|
-
buyAmount: buyAmountBeforeNetworkCosts.big
|
|
790
|
+
buyAmount: buyAmountBeforeNetworkCosts.big
|
|
791
791
|
} : {
|
|
792
792
|
sellAmount: sellAmountBeforeNetworkCosts.big - protocolFeeAmount,
|
|
793
793
|
buyAmount: buyAmountBeforeNetworkCosts.big
|
package/dist/index.mjs
CHANGED
|
@@ -741,7 +741,7 @@ function getQuoteAmountsAndCosts(params) {
|
|
|
741
741
|
};
|
|
742
742
|
const beforeAllFees = isSell ? {
|
|
743
743
|
sellAmount: sellAmountBeforeNetworkCosts.big,
|
|
744
|
-
buyAmount: buyAmountBeforeNetworkCosts.big
|
|
744
|
+
buyAmount: buyAmountBeforeNetworkCosts.big
|
|
745
745
|
} : {
|
|
746
746
|
sellAmount: sellAmountBeforeNetworkCosts.big - protocolFeeAmount,
|
|
747
747
|
buyAmount: buyAmountBeforeNetworkCosts.big
|