@hypercerts-org/marketplace-sdk 0.3.28 → 0.3.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -503,7 +503,7 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
503
503
|
const executeTakerBid = (signer, address, taker, maker, makerSignature, merkleTree, overrides) => {
|
504
504
|
const overridesWithValue = {
|
505
505
|
...overrides,
|
506
|
-
...(maker.currency === ethers.ZeroAddress && { value: maker.price }),
|
506
|
+
...(maker.currency === ethers.ZeroAddress && { value: overrides?.value || maker.price }),
|
507
507
|
};
|
508
508
|
const contract = new ethers.Contract(address, contracts.HypercertExchangeAbi).connect(signer);
|
509
509
|
return {
|
package/dist/index.esm.js
CHANGED
@@ -501,7 +501,7 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
501
501
|
const executeTakerBid = (signer, address, taker, maker, makerSignature, merkleTree, overrides) => {
|
502
502
|
const overridesWithValue = {
|
503
503
|
...overrides,
|
504
|
-
...(maker.currency === ZeroAddress && { value: maker.price }),
|
504
|
+
...(maker.currency === ZeroAddress && { value: overrides?.value || maker.price }),
|
505
505
|
};
|
506
506
|
const contract = new Contract(address, HypercertExchangeAbi).connect(signer);
|
507
507
|
return {
|