tf-checkout-react 1.5.4-beta.0 → 1.5.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tf-checkout-react.cjs.development.js +1 -0
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +1 -0
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/downloadPDF.tsx +1 -0
|
@@ -627,6 +627,7 @@ var downloadPDF = function downloadPDF(pdfUrl) {
|
|
|
627
627
|
var link = document.createElement('a');
|
|
628
628
|
link.href = fileURL;
|
|
629
629
|
link.setAttribute('download', fileName);
|
|
630
|
+
document.body.appendChild(link);
|
|
630
631
|
link.click();
|
|
631
632
|
document.body.removeChild(link);
|
|
632
633
|
})["catch"](function (error) {
|