@pinerohit11/testwidget 0.2.116 → 0.2.118

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.js CHANGED
@@ -3147,6 +3147,9 @@ function PreAuthPayment(props) {
3147
3147
  response.customer_id = props == null ? void 0 : props.customerId;
3148
3148
  response.link_token = "";
3149
3149
  response.gateway_id = paymentData == null ? void 0 : paymentData.paymentGateway;
3150
+ response.discount = props == null ? void 0 : props.discount;
3151
+ response.tax = props == null ? void 0 : props.tax;
3152
+ response.surcharge = props == null ? void 0 : props.surcharge;
3150
3153
  try {
3151
3154
  let apiResponse = await import_axios4.default.post(`${baseUrl}preauth`, response);
3152
3155
  setCardData({
@@ -4602,7 +4605,7 @@ function AddCardEasyPay(props) {
4602
4605
  }
4603
4606
  }
4604
4607
  };
4605
- return /* @__PURE__ */ import_react21.default.createElement(import_react21.default.Fragment, null, /* @__PURE__ */ import_react21.default.createElement(DataScript, null), /* @__PURE__ */ import_react21.default.createElement(AddCardStyle, null), /* @__PURE__ */ import_react21.default.createElement(Loader_default, { loading }), error && /* @__PURE__ */ import_react21.default.createElement("div", { style: { maxHeight: "606px", minHeight: "60vh", padding: "40px" } }, /* @__PURE__ */ import_react21.default.createElement(ErrorCardMessage_default, { error, onClose: handleClose })), !error && !success && /* @__PURE__ */ import_react21.default.createElement(import_react21.default.Fragment, null, success ? /* @__PURE__ */ import_react21.default.createElement(SuccessCardMsz_default, { onClose: handleCloseSeccess }) : /* @__PURE__ */ import_react21.default.createElement(
4608
+ return /* @__PURE__ */ import_react21.default.createElement(import_react21.default.Fragment, null, /* @__PURE__ */ import_react21.default.createElement(DataScript, null), /* @__PURE__ */ import_react21.default.createElement(AddCardStyle, null), /* @__PURE__ */ import_react21.default.createElement(Loader_default, { loading }), error && /* @__PURE__ */ import_react21.default.createElement("div", { style: { maxHeight: "606px", minHeight: "60vh", padding: "40px" } }, /* @__PURE__ */ import_react21.default.createElement(ErrorCardMessage_default, { error, onClose: handleClose })), success && /* @__PURE__ */ import_react21.default.createElement(SuccessCardMsz_default, { onClose: handleCloseSeccess }), !error && !success && /* @__PURE__ */ import_react21.default.createElement(import_react21.default.Fragment, null, /* @__PURE__ */ import_react21.default.createElement(
4606
4609
  "div",
4607
4610
  {
4608
4611
  className: "container-creditcard add-card modal-content",
package/dist/index.mjs CHANGED
@@ -3109,6 +3109,9 @@ function PreAuthPayment(props) {
3109
3109
  response.customer_id = props == null ? void 0 : props.customerId;
3110
3110
  response.link_token = "";
3111
3111
  response.gateway_id = paymentData == null ? void 0 : paymentData.paymentGateway;
3112
+ response.discount = props == null ? void 0 : props.discount;
3113
+ response.tax = props == null ? void 0 : props.tax;
3114
+ response.surcharge = props == null ? void 0 : props.surcharge;
3112
3115
  try {
3113
3116
  let apiResponse = await axios4.post(`${baseUrl}preauth`, response);
3114
3117
  setCardData({
@@ -4564,7 +4567,7 @@ function AddCardEasyPay(props) {
4564
4567
  }
4565
4568
  }
4566
4569
  };
4567
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(DataScript, null), /* @__PURE__ */ React20.createElement(AddCardStyle, null), /* @__PURE__ */ React20.createElement(Loader_default, { loading }), error && /* @__PURE__ */ React20.createElement("div", { style: { maxHeight: "606px", minHeight: "60vh", padding: "40px" } }, /* @__PURE__ */ React20.createElement(ErrorCardMessage_default, { error, onClose: handleClose })), !error && !success && /* @__PURE__ */ React20.createElement(React20.Fragment, null, success ? /* @__PURE__ */ React20.createElement(SuccessCardMsz_default, { onClose: handleCloseSeccess }) : /* @__PURE__ */ React20.createElement(
4570
+ return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(DataScript, null), /* @__PURE__ */ React20.createElement(AddCardStyle, null), /* @__PURE__ */ React20.createElement(Loader_default, { loading }), error && /* @__PURE__ */ React20.createElement("div", { style: { maxHeight: "606px", minHeight: "60vh", padding: "40px" } }, /* @__PURE__ */ React20.createElement(ErrorCardMessage_default, { error, onClose: handleClose })), success && /* @__PURE__ */ React20.createElement(SuccessCardMsz_default, { onClose: handleCloseSeccess }), !error && !success && /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(
4568
4571
  "div",
4569
4572
  {
4570
4573
  className: "container-creditcard add-card modal-content",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.2.116",
3
+ "version": "0.2.118",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev -p 4001",