@gobob/bob-sdk
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -73,3 +73,7 @@ "use strict"; | ||
}); | ||
return await response.json(); | ||
const quote = await response.json(); | ||
return { | ||
...quote, | ||
fee: Math.max(0, quote.fee - (params.gasRefill || 0)), | ||
}; | ||
} | ||
@@ -76,0 +80,0 @@ async startOrder(gatewayQuote, params) { |
{ | ||
"name": "@gobob/bob-sdk", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
135609
2113