aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-08 02:58:39 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-08 02:58:39 +0800
commiteb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02 (patch)
tree3eb08edc96fa8c2c30fb0c4c6d4b7e2b8065fb88 /packages
parentd1186e08b458191f578e406997c2b51567a5b49f (diff)
parent95b2898b9c0898c7e2d98ee603bff0604bf2a829 (diff)
downloaddexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.tar
dexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.tar.gz
dexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.tar.bz2
dexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.tar.lz
dexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.tar.xz
dexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.tar.zst
dexon-sol-tools-eb8f7b0ef56bb6e4fcaf2e53067018a1c24cfe02.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/prevent-css-leakage
Diffstat (limited to 'packages')
-rw-r--r--packages/asset-buyer/CHANGELOG.json4
-rw-r--r--packages/asset-buyer/src/constants.ts2
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/asset-buyer/CHANGELOG.json b/packages/asset-buyer/CHANGELOG.json
index 0d71bb84d..2a775075f 100644
--- a/packages/asset-buyer/CHANGELOG.json
+++ b/packages/asset-buyer/CHANGELOG.json
@@ -24,6 +24,10 @@
"note":
"Fix bug where default values for `AssetBuyer` public facing methods could get overriden by `undefined` values",
"pr": 1207
+ },
+ {
+ "note": "Lower default expiry buffer from 5 minutes to 2 minutes",
+ "pr": 1217
}
]
},
diff --git a/packages/asset-buyer/src/constants.ts b/packages/asset-buyer/src/constants.ts
index cc415102c..c0e1bf27d 100644
--- a/packages/asset-buyer/src/constants.ts
+++ b/packages/asset-buyer/src/constants.ts
@@ -9,7 +9,7 @@ const MAINNET_NETWORK_ID = 1;
const DEFAULT_ASSET_BUYER_OPTS: AssetBuyerOpts = {
networkId: MAINNET_NETWORK_ID,
orderRefreshIntervalMs: 10000, // 10 seconds
- expiryBufferSeconds: 300, // 5 minutes
+ expiryBufferSeconds: 120, // 2 minutes
};
const DEFAULT_BUY_QUOTE_REQUEST_OPTS: BuyQuoteRequestOpts = {