@usewinter/checkout
Advanced tools
Comparing version 0.1.29 to 0.1.30
@@ -34,3 +34,4 @@ "use strict"; | ||
language, | ||
appearance | ||
appearance, | ||
gentkId | ||
} = _ref; | ||
@@ -96,2 +97,6 @@ const [projectUrl, setProjectUrl] = (0, _react.useState)(""); | ||
if (gentkId) { | ||
queryString += "&gentkId=".concat(gentkId); | ||
} | ||
if (extraMintParams != null) { | ||
@@ -111,3 +116,3 @@ queryString += "&extraMintParams=".concat(encodeURIComponent(JSON.stringify(extraMintParams))); | ||
setProjectUrl(url); | ||
}, [onSuccess, onClose, projectId, showModal, walletAddress, email, mintQuantity, erc1155Video, title, brandImage, extraMintParams, priceFunctionParams, production, language, appearance]); | ||
}, [onSuccess, onClose, projectId, showModal, walletAddress, email, mintQuantity, erc1155Video, title, brandImage, extraMintParams, priceFunctionParams, production, language, appearance, gentkId]); | ||
return showModal ? /*#__PURE__*/_react.default.createElement("div", { | ||
@@ -114,0 +119,0 @@ dangerouslySetInnerHTML: { |
{ | ||
"name": "@usewinter/checkout", | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"description": "Integrate Winter's NFT checkout with this React component", | ||
@@ -5,0 +5,0 @@ "author": "Evan Fisher", |
8888
136