@pelcro/react-pelcro-js 4.0.0-alpha.56 → 4.0.0-alpha.57

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
@@ -25060,7 +25060,7 @@ const PaymentMethodContainer = props => {
25060
25060
  };
25061
25061
  React.useEffect(() => {
25062
25062
  if (isStripeLoaded) {
25063
- window.Pelcro.user.createPaymentIntent({
25063
+ window.Pelcro.user.createSetupIntent({
25064
25064
  auth_token: window.Pelcro.user.read().auth_token
25065
25065
  }, (err, res) => {
25066
25066
  if (err) {
package/dist/index.esm.js CHANGED
@@ -25030,7 +25030,7 @@ const PaymentMethodContainer = props => {
25030
25030
  };
25031
25031
  useEffect(() => {
25032
25032
  if (isStripeLoaded) {
25033
- window.Pelcro.user.createPaymentIntent({
25033
+ window.Pelcro.user.createSetupIntent({
25034
25034
  auth_token: window.Pelcro.user.read().auth_token
25035
25035
  }, (err, res) => {
25036
25036
  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.56",
4
+ "version": "4.0.0-alpha.57",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",