@fractalpay/fractalpay-next-dev 0.0.244 → 0.0.245

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
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  "package.json"(exports, module) {
40
40
  module.exports = {
41
41
  name: "@fractalpay/fractalpay-next-dev",
42
- version: "0.0.244",
42
+ version: "0.0.245",
43
43
  private: false,
44
44
  type: "module",
45
45
  scripts: {
@@ -3070,7 +3070,7 @@ function CardBankRadioStyles({}) {
3070
3070
  }
3071
3071
 
3072
3072
  .frac-saving-badge {
3073
- padding: 1px 7px;
3073
+ padding: 1px 7px !important;
3074
3074
  border: 1px solid #9ad7ab;
3075
3075
  border-radius: 999px;
3076
3076
  background: #e8f8ec;
@@ -3487,13 +3487,17 @@ var DataCapFields = ({
3487
3487
  };
3488
3488
  initialize();
3489
3489
  }, [isOpen, tokenKey]);
3490
- window.requestDcToken = () => {
3491
- return new Promise((resolve, reject) => {
3492
- setLoader == null ? void 0 : setLoader(true);
3493
- resolverRef.current = { resolve, reject };
3494
- window.DatacapHostedWebToken.requestToken();
3495
- });
3496
- };
3490
+ useEffect7(() => {
3491
+ window.requestDcToken = () => {
3492
+ return new Promise((resolve, reject) => {
3493
+ setLoader == null ? void 0 : setLoader(true);
3494
+ resolverRef.current = { resolve, reject };
3495
+ });
3496
+ };
3497
+ return () => {
3498
+ delete window.requestDcToken;
3499
+ };
3500
+ }, []);
3497
3501
  console.log(setLoader, "loadingIframe");
3498
3502
  return /* @__PURE__ */ jsx18(
3499
3503
  "iframe",