@pinerohit11/testwidget 0.2.121 → 0.2.122

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
@@ -2702,12 +2702,12 @@ function GetPaymentPage(props) {
2702
2702
  const handlechargeCustomer = async () => {
2703
2703
  var _b2, _c2, _d2, _e2, _f2, _g2, _h2;
2704
2704
  let customer_id = props == null ? void 0 : props.customerId;
2705
- let discount = props == null ? void 0 : props.discount;
2706
- let surcharge = props == null ? void 0 : props.surcharge;
2707
- let tax = props == null ? void 0 : props.tax;
2705
+ let discount = String(props == null ? void 0 : props.discount);
2706
+ let surcharge = String(props == null ? void 0 : props.surcharge);
2707
+ let tax = String(props == null ? void 0 : props.tax);
2708
2708
  let fractalpayPublicKey = props == null ? void 0 : props.fractalpayClientKey;
2709
2709
  let order_id = props == null ? void 0 : props.orderID;
2710
- let amount = props == null ? void 0 : props.amount;
2710
+ let amount = String(props == null ? void 0 : props.amount);
2711
2711
  let card_id = selectedCard == null ? void 0 : selectedCard.id;
2712
2712
  let card_type = selectedCard == null ? void 0 : selectedCard.card_type;
2713
2713
  if (fractalpayPublicKey && order_id && amount) {
@@ -2823,7 +2823,6 @@ function GetPaymentPage(props) {
2823
2823
  }
2824
2824
  });
2825
2825
  };
2826
- console.log(loading, loading2);
2827
2826
  return /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, /* @__PURE__ */ import_react14.default.createElement(DataScript, null), /* @__PURE__ */ import_react14.default.createElement(Chargewidgetstyles, null), /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, /* @__PURE__ */ import_react14.default.createElement(
2828
2827
  "button",
2829
2828
  {
package/dist/index.mjs CHANGED
@@ -2664,12 +2664,12 @@ function GetPaymentPage(props) {
2664
2664
  const handlechargeCustomer = async () => {
2665
2665
  var _b2, _c2, _d2, _e2, _f2, _g2, _h2;
2666
2666
  let customer_id = props == null ? void 0 : props.customerId;
2667
- let discount = props == null ? void 0 : props.discount;
2668
- let surcharge = props == null ? void 0 : props.surcharge;
2669
- let tax = props == null ? void 0 : props.tax;
2667
+ let discount = String(props == null ? void 0 : props.discount);
2668
+ let surcharge = String(props == null ? void 0 : props.surcharge);
2669
+ let tax = String(props == null ? void 0 : props.tax);
2670
2670
  let fractalpayPublicKey = props == null ? void 0 : props.fractalpayClientKey;
2671
2671
  let order_id = props == null ? void 0 : props.orderID;
2672
- let amount = props == null ? void 0 : props.amount;
2672
+ let amount = String(props == null ? void 0 : props.amount);
2673
2673
  let card_id = selectedCard == null ? void 0 : selectedCard.id;
2674
2674
  let card_type = selectedCard == null ? void 0 : selectedCard.card_type;
2675
2675
  if (fractalpayPublicKey && order_id && amount) {
@@ -2785,7 +2785,6 @@ function GetPaymentPage(props) {
2785
2785
  }
2786
2786
  });
2787
2787
  };
2788
- console.log(loading, loading2);
2789
2788
  return /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(DataScript, null), /* @__PURE__ */ React13.createElement(Chargewidgetstyles, null), /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(
2790
2789
  "button",
2791
2790
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinerohit11/testwidget",
3
- "version": "0.2.121",
3
+ "version": "0.2.122",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev -p 4001",