notify-me-wl 1.0.1 → 1.1.0

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -240,7 +240,7 @@ document.addEventListener("DOMContentLoaded", function () {
240
240
  formData.isMobile = true;
241
241
  }
242
242
 
243
- fetch("https://api.au-sandbox.thewishlist.io/services/wsservice/api/wishlist/items/customerInterest", {
243
+ fetch(`https://api.au-sandbox.thewishlist.io/services/wsservice/api/wishlist/items/customerInterest/${formData.email || formData.mobile}`, {
244
244
  method: "POST",
245
245
  headers: {
246
246
  "Content-Type": "application/json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notify-me-wl",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"