@pelcro/react-pelcro-js 3.6.0-beta.21 → 3.6.0-beta.22

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
@@ -15224,6 +15224,14 @@ const PaymentMethodContainerWithoutStripe = ({
15224
15224
  if (result.error) {
15225
15225
  // Inform the user if there was an error
15226
15226
  onFailure(result.error);
15227
+ dispatch({
15228
+ type: DISABLE_SUBMIT,
15229
+ payload: false
15230
+ });
15231
+ dispatch({
15232
+ type: LOADING,
15233
+ payload: false
15234
+ });
15227
15235
  return dispatch({
15228
15236
  type: SHOW_ALERT,
15229
15237
  payload: {
package/dist/index.esm.js CHANGED
@@ -15194,6 +15194,14 @@ const PaymentMethodContainerWithoutStripe = ({
15194
15194
  if (result.error) {
15195
15195
  // Inform the user if there was an error
15196
15196
  onFailure(result.error);
15197
+ dispatch({
15198
+ type: DISABLE_SUBMIT,
15199
+ payload: false
15200
+ });
15201
+ dispatch({
15202
+ type: LOADING,
15203
+ payload: false
15204
+ });
15197
15205
  return dispatch({
15198
15206
  type: SHOW_ALERT,
15199
15207
  payload: {
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.6.0-beta.21",
4
+ "version": "3.6.0-beta.22",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",