@pinerohit11/testwidget 0.2.116 → 0.2.117

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({
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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.2.116",
3
+ "version": "0.2.117",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev -p 4001",