@fractalpay/fractalpay-next-dev 0.0.142 → 0.0.144
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var M=Object.defineProperty,G=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var N=(e,t,a)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,pe=(e,t)=>{for(var a in t||(t={}))E.call(t,a)&&N(e,a,t[a]);if(v)for(var a of v(t))P.call(t,a)&&N(e,a,t[a]);return e},de=(e,t)=>G(e,Y(t));var ce=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,a)=>(typeof require!="undefined"?require:t)[a]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var me=(e,t)=>{var a={};for(var o in e)E.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&v)for(var o of v(e))t.indexOf(o)<0&&P.call(e,o)&&(a[o]=e[o]);return a};var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var j=I((ke,H)=>{H.exports={name:"@fractalpay/fractalpay-next-dev",version:"0.0.
|
|
1
|
+
var M=Object.defineProperty,G=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var N=(e,t,a)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,pe=(e,t)=>{for(var a in t||(t={}))E.call(t,a)&&N(e,a,t[a]);if(v)for(var a of v(t))P.call(t,a)&&N(e,a,t[a]);return e},de=(e,t)=>G(e,Y(t));var ce=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,a)=>(typeof require!="undefined"?require:t)[a]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var me=(e,t)=>{var a={};for(var o in e)E.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&v)for(var o of v(e))t.indexOf(o)<0&&P.call(e,o)&&(a[o]=e[o]);return a};var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var j=I((ke,H)=>{H.exports={name:"@fractalpay/fractalpay-next-dev",version:"0.0.144",private:!1,scripts:{dev:"next dev -p 4001",build:"next build",start:"next start",lint:"next lint",bundle:"tsup src/app/index.ts"},dependencies:{"@stripe/react-stripe-js":"^5.3.0","@stripe/stripe-js":"^8.3.0","@types/yup":"^0.29.14",axios:"^1.8.1",bootstrap:"^5.3.3","credit-card-type":"^10.0.1",formik:"^2.4.6","node-forge":"^1.3.1","react-bootstrap":"^2.10.5","react-bs-datatable":"^3.15.0","react-datepicker":"^7.5.0","react-icons":"^5.5.0","react-number-format":"^5.4.3","react-toastify":"^10.0.6","socket.io-client":"^4.8.1","styled-components":"^6.1.15",sweetalert2:"^11.22.0",yup:"^1.6.1"},peerdependencies:{next:"15.0.5",react:">=18.0.0 <20.0.0","react-dom":">=18.0.0 <20.0.0"},devDependencies:{"@types/estree":"^1.0.8","@types/node":"^20","@types/node-forge":"^1.3.11","@types/react":"^18","@types/react-dom":"^18",autoprefixer:"^10.4.20","credit-card-type":"^10.0.1",eslint:"^8","eslint-config-next":"15.0.3",next:"^15.0.5",react:"^18.3.1","react-bs-datatable":"^3.15.0","react-datepicker":"^7.5.0","react-dom":"^18.3.1","react-toastify":"^10.0.6",tsup:"^8.4.0",typescript:"^5"},author:"Mukul",license:"MIT",keywords:["nextjs","next","typescript","tailwindcss"],main:"dist/index.js",publishConfig:{access:"public"}}});import q from"react";var Q=e=>q.createElement("style",null,`
|
|
2
2
|
.fractal-input::placeholder {
|
|
3
3
|
color: #35254D;
|
|
4
4
|
opacity: 1;
|
|
@@ -251,7 +251,7 @@ var M=Object.defineProperty,G=Object.defineProperties;var Y=Object.getOwnPropert
|
|
|
251
251
|
padding: 0px !important;
|
|
252
252
|
border-radius: 12px !important;
|
|
253
253
|
}
|
|
254
|
-
`),S=Q;import f from"react";var J=({open:e,onClose:t,children:a,maxWidth:o})=>e?f.createElement(f.Fragment,null,f.createElement(S,null),f.createElement("div",{className:"fractal-popup"},f.createElement("div",{className:"fractal-popup-content request-payment-popup-container",style:{maxWidth:`${o!=null?o:"auto"}`}},a))):null,be=J;import{useEffect as z}from"react";var{name:y}=j();console.log(y,"dgijiisdfhg");var n="https://fractal-userdata-upload.s3.us-east-1.amazonaws.com/";y==="@fractalpay/fractalpay-next-dev"?(g="
|
|
254
|
+
`),S=Q;import f from"react";var J=({open:e,onClose:t,children:a,maxWidth:o})=>e?f.createElement(f.Fragment,null,f.createElement(S,null),f.createElement("div",{className:"fractal-popup"},f.createElement("div",{className:"fractal-popup-content request-payment-popup-container",style:{maxWidth:`${o!=null?o:"auto"}`}},a))):null,be=J;import{useEffect as z}from"react";var{name:y}=j();console.log(y,"dgijiisdfhg");var n="https://fractal-userdata-upload.s3.us-east-1.amazonaws.com/";y==="@fractalpay/fractalpay-next-dev"?(g="http://192.168.1.63:8082/",u="http://192.168.1.63:8081/",x="https://api-dev.merchant-trends.com/",m="https://token-cert.dcap.com/v1/client",h="pk_test_51RH5Wc2SlJvyNZ80hpUDy88r4rVdpijfKbNaWaUyQEE6rOrPmG2JQyAj7G5amBD5z5daC56WaeT4jfNhrrPcGOEP00UyKu6AOw"):y==="@fractalpay/fractalpay-next-test"?(u="https://testapi.fractalpay.com/",g="https://staging-widget.fractalpay.com/",x="https://api-dev.merchant-trends.com/",m="https://token-cert.dcap.com/v1/client",h="pk_test_51RH5Wc2SlJvyNZ80hpUDy88r4rVdpijfKbNaWaUyQEE6rOrPmG2JQyAj7G5amBD5z5daC56WaeT4jfNhrrPcGOEP00UyKu6AOw"):y==="@fractalpay/fractalpay-next-testprod"?(u="https://sky-node-prod.fractalpay.com/",g="https://widget-prod.fractalpay.com/",x="https://api.merchant-trends.com/",m="https://token.dcap.com/v1/client",h="pk_live_51RH5WXCZ90rBGeaYwqmjWqgUmudTgxL6uKOE1keu617jvRx9OvW2ke6zGf6SKgv4ixsBLcIPQ4sQIEhp8MgBX39500CqULxOPB"):y==="@fractalpay/fractalpay-next"?(u="https://api.fractalpay.com/",g="https://widget.fractalpay.com/",x="https://api.merchant-trends.com/",m="https://token.dcap.com/v1/client",h="pk_live_51RH5WXCZ90rBGeaYwqmjWqgUmudTgxL6uKOE1keu617jvRx9OvW2ke6zGf6SKgv4ixsBLcIPQ4sQIEhp8MgBX39500CqULxOPB"):(g="http://localhost:8082/",u="http://localhost:8081/",x="https://api-dev.merchant-trends.com/",m="https://token-cert.dcap.com/v1/client",h="pk_test_51RH5Wc2SlJvyNZ80hpUDy88r4rVdpijfKbNaWaUyQEE6rOrPmG2JQyAj7G5amBD5z5daC56WaeT4jfNhrrPcGOEP00UyKu6AOw");var u,g,x,m,h;function L(){return z(()=>{let e=m;if(typeof window!="undefined"){if(window.DatacapWebToken){console.log("\u2705 Datacap already available");return}if(document.querySelector(`script[src="${e}"]`))console.log("\u2139\uFE0F Script already in DOM, waiting for Datacap...");else{let t=document.createElement("script");t.src=e,t.async=!0,t.onload=()=>{console.log("\u2705 Datacap script loaded"),window.DatacapWebToken?console.log("\u2705 DatacapWebToken is ready:",window.DatacapWebToken):console.warn("\u26A0\uFE0F Script loaded, but DatacapWebToken not found")},t.onerror=a=>{console.error("\u274C Failed to load Datacap script",a)},document.head.appendChild(t)}}},[]),z(()=>{let e="forge-cdn-script";if(!document.getElementById(e)){let t=document.createElement("script");t.src="https://cdn.jsdelivr.net/npm/node-forge@1.0.0/dist/forge.min.js",t.id=e,t.async=!0,document.head.appendChild(t)}return()=>{let t=document.getElementById(e);t&&document.head.removeChild(t)}},[]),null}import X from"react";function Z({}){return X.createElement("style",null,`
|
|
255
255
|
.frac-card-bank-radio-main{
|
|
256
256
|
display: flex;
|
|
257
257
|
flex-direction: column;
|