fontdue-js 1.9.0 → 1.9.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/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.9.1
2
+
3
+ - Updates messaging after customer submits a purchase to indicate a receipt email
4
+ has been sent
5
+
1
6
  ## 1.9.0
2
7
 
3
8
  - Allow `children` for CartButton which will replace the default contents of the button
@@ -39,7 +39,7 @@ const StoreModalDownload = _ref => {
39
39
  body: /*#__PURE__*/_react.default.createElement(_StoreModalDownloadLayout.default, {
40
40
  archiveUrl: order.archiveUrl
41
41
  }, {
42
- message: /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("p", null, "Thanks, your payment was received!"), !order.archiveUrl && /*#__PURE__*/_react.default.createElement("p", null, "Your download is being prepared..."))
42
+ message: /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("p", null, "Thanks, your payment was received!"), /*#__PURE__*/_react.default.createElement("p", null, "Your download is ", order.archiveUrl ? 'ready.' : 'being prepared...'), /*#__PURE__*/_react.default.createElement("p", null, "An email receipt with a download link has been sent to your email address."))
43
43
  })
44
44
  });
45
45
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fontdue-js",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build": "run-p build-js build-css build-ts-declarations",