@pelcro/react-pelcro-js 3.9.3-beta.1 → 3.9.4-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
@@ -15454,7 +15454,7 @@ const PaymentMethodContainerWithoutStripe = ({
15454
15454
  }, 0);
15455
15455
  };
15456
15456
 
15457
- const totalAmount = (_ref = (_ref2 = (_ref3 = (_state$updatedPrice = state === null || state === void 0 ? void 0 : state.updatedPrice) !== null && _state$updatedPrice !== void 0 ? _state$updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount) !== null && _ref3 !== void 0 ? _ref3 : invoice === null || invoice === void 0 ? void 0 : invoice.amount_remaining) !== null && _ref2 !== void 0 ? _ref2 : getOrderItemsTotal()) !== null && _ref !== void 0 ? _ref : 0.1;
15457
+ const totalAmount = (_ref = (_ref2 = (_ref3 = (_state$updatedPrice = state === null || state === void 0 ? void 0 : state.updatedPrice) !== null && _state$updatedPrice !== void 0 ? _state$updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount) !== null && _ref3 !== void 0 ? _ref3 : invoice === null || invoice === void 0 ? void 0 : invoice.amount_remaining) !== null && _ref2 !== void 0 ? _ref2 : getOrderItemsTotal()) !== null && _ref !== void 0 ? _ref : 10;
15458
15458
  tapInstanceRef.current.createToken(tapInstanceCard.current).then(function (result) {
15459
15459
  if (result.error) {
15460
15460
  // Inform the user if there was an error
package/dist/index.esm.js CHANGED
@@ -15424,7 +15424,7 @@ const PaymentMethodContainerWithoutStripe = ({
15424
15424
  }, 0);
15425
15425
  };
15426
15426
 
15427
- const totalAmount = (_ref = (_ref2 = (_ref3 = (_state$updatedPrice = state === null || state === void 0 ? void 0 : state.updatedPrice) !== null && _state$updatedPrice !== void 0 ? _state$updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount) !== null && _ref3 !== void 0 ? _ref3 : invoice === null || invoice === void 0 ? void 0 : invoice.amount_remaining) !== null && _ref2 !== void 0 ? _ref2 : getOrderItemsTotal()) !== null && _ref !== void 0 ? _ref : 0.1;
15427
+ const totalAmount = (_ref = (_ref2 = (_ref3 = (_state$updatedPrice = state === null || state === void 0 ? void 0 : state.updatedPrice) !== null && _state$updatedPrice !== void 0 ? _state$updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount) !== null && _ref3 !== void 0 ? _ref3 : invoice === null || invoice === void 0 ? void 0 : invoice.amount_remaining) !== null && _ref2 !== void 0 ? _ref2 : getOrderItemsTotal()) !== null && _ref !== void 0 ? _ref : 10;
15428
15428
  tapInstanceRef.current.createToken(tapInstanceCard.current).then(function (result) {
15429
15429
  if (result.error) {
15430
15430
  // Inform the user if there was an error
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.9.3-beta.1",
4
+ "version": "3.9.4-beta.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",