@pelcro/react-pelcro-js 3.16.0-beta.1 → 3.17.0-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/index.cjs.js CHANGED
@@ -12292,7 +12292,7 @@ function Email({
12292
12292
  }, []);
12293
12293
 
12294
12294
  const isEmailValid = email => {
12295
- const re = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/;
12295
+ const re = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?/;
12296
12296
  return re.test(email);
12297
12297
  };
12298
12298
 
@@ -25390,7 +25390,6 @@ const GiftRedeemContainer = ({
25390
25390
  if (!isAuthenticated()) {
25391
25391
  switchView("register");
25392
25392
  } else {
25393
- console.log("Shaker");
25394
25393
  window.Pelcro.subscription.redeemGift({
25395
25394
  auth_token: window.Pelcro.user.read().auth_token,
25396
25395
  gift_code: giftCode,
package/dist/index.esm.js CHANGED
@@ -12262,7 +12262,7 @@ function Email({
12262
12262
  }, []);
12263
12263
 
12264
12264
  const isEmailValid = email => {
12265
- const re = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/;
12265
+ const re = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?/;
12266
12266
  return re.test(email);
12267
12267
  };
12268
12268
 
@@ -25360,7 +25360,6 @@ const GiftRedeemContainer = ({
25360
25360
  if (!isAuthenticated()) {
25361
25361
  switchView("register");
25362
25362
  } else {
25363
- console.log("Shaker");
25364
25363
  window.Pelcro.subscription.redeemGift({
25365
25364
  auth_token: window.Pelcro.user.read().auth_token,
25366
25365
  gift_code: giftCode,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.16.0-beta.1",
4
+ "version": "3.17.0-beta.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",