@pelcro/react-pelcro-js 4.0.0-alpha.114 → 4.0.0-alpha.115

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
@@ -49134,7 +49134,8 @@ const PaymentMethodContainer = props => {
49134
49134
  };
49135
49135
  React.useEffect(() => {
49136
49136
  if (isStripeLoaded && !selectedPaymentMethodId) {
49137
- window.Pelcro.user.createSetupIntent({
49137
+ var _window$Pelcro$user$c, _window$Pelcro$user;
49138
+ (_window$Pelcro$user$c = (_window$Pelcro$user = window.Pelcro.user).createSetupIntent) === null || _window$Pelcro$user$c === void 0 ? void 0 : _window$Pelcro$user$c.call(_window$Pelcro$user, {
49138
49139
  auth_token: window.Pelcro.user.read().auth_token
49139
49140
  }, (err, res) => {
49140
49141
  if (err) {
package/dist/index.esm.js CHANGED
@@ -49092,7 +49092,8 @@ const PaymentMethodContainer = props => {
49092
49092
  };
49093
49093
  useEffect(() => {
49094
49094
  if (isStripeLoaded && !selectedPaymentMethodId) {
49095
- window.Pelcro.user.createSetupIntent({
49095
+ var _window$Pelcro$user$c, _window$Pelcro$user;
49096
+ (_window$Pelcro$user$c = (_window$Pelcro$user = window.Pelcro.user).createSetupIntent) === null || _window$Pelcro$user$c === void 0 ? void 0 : _window$Pelcro$user$c.call(_window$Pelcro$user, {
49096
49097
  auth_token: window.Pelcro.user.read().auth_token
49097
49098
  }, (err, res) => {
49098
49099
  if (err) {
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": "4.0.0-alpha.114",
4
+ "version": "4.0.0-alpha.115",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",