@usewinter/checkout
Advanced tools
Comparing version 0.1.43 to 0.1.44
@@ -30,3 +30,5 @@ import React = require("react"); | ||
recaptcha?: string; // Used for jpg primary mints | ||
listingId?: string; // Used for fxhash secondary | ||
contractVersion?: string; // Used for fxhash secondary | ||
}>; | ||
export default WinterCheckout; |
@@ -47,3 +47,5 @@ "use strict"; | ||
policyId, | ||
recaptcha | ||
recaptcha, | ||
listingId, | ||
contractVersion | ||
} = _ref; | ||
@@ -92,2 +94,6 @@ const [projectUrl, setProjectUrl] = (0, _react.useState)(""); | ||
if (listingId && contractVersion) { | ||
queryString += "listingId=".concat(listingId, "&contractVersion=").concat(contractVersion); | ||
} | ||
if (recaptcha) { | ||
@@ -183,3 +189,3 @@ // Used for jpg primary mints | ||
} | ||
}, [onSuccess, onClose, projectId, showModal, walletAddress, email, mintQuantity, erc1155Video, title, brandImage, extraMintParams, priceFunctionParams, production, language, appearance, gentkId, assetId, giftingAvailable, giftingNFT, fa2Address]); | ||
}, [onSuccess, onClose, projectId, showModal, walletAddress, email, mintQuantity, erc1155Video, title, brandImage, extraMintParams, priceFunctionParams, production, language, appearance, gentkId, assetId, giftingAvailable, giftingNFT, fa2Address, listingId, contractVersion]); | ||
return showModal && paymentMethod !== "SOL" ? /*#__PURE__*/_react.default.createElement("div", { | ||
@@ -186,0 +192,0 @@ dangerouslySetInnerHTML: { |
{ | ||
"name": "@usewinter/checkout", | ||
"version": "0.1.43", | ||
"version": "0.1.44", | ||
"description": "Integrate Winter's NFT checkout with this React component", | ||
@@ -5,0 +5,0 @@ "author": "Evan Fisher", |
11132
208