@justifi/webcomponents 4.13.0 → 4.14.0
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/cjs/{Api-ab34a402.js → Api-3bc6e43f.js} +7 -2
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +6 -6
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -4
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-owner-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-form.cjs.entry.js +36 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{payment.service-336189d3.js → payment.service-019157e9.js} +3 -3
- package/dist/cjs/{payout.service-6012d576.js → payout.service-7203762f.js} +3 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +7 -2
- package/dist/collection/api/services/business.service.js +1 -1
- package/dist/collection/api/services/checkout.service.js +5 -3
- package/dist/collection/api/services/payment.service.js +2 -2
- package/dist/collection/api/services/payout.service.js +2 -2
- package/dist/collection/api/services/reports.service.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-list/business-list.js +1 -1
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +1 -1
- package/dist/collection/components/payment-form/payment-form.js +54 -3
- package/dist/collection/components/payment-form/test/payment-form.spec.js +17 -34
- package/dist/collection/components/proceeds-list/proceeds-list.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/subaccount-details/subaccount-details.js +2 -2
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +1 -1
- package/dist/docs.json +23 -2
- package/dist/esm/{Api-e9d568c7.js → Api-b09a2f6a.js} +7 -2
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +6 -6
- package/dist/esm/justifi-billing-form_4.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-business-list.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +6 -4
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-owner-form.entry.js +2 -2
- package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-form.entry.js +36 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-proceeds-list.entry.js +2 -2
- package/dist/esm/justifi-refund-form.entry.js +2 -2
- package/dist/esm/justifi-subaccount-details.entry.js +3 -3
- package/dist/esm/justifi-subaccounts-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{payment.service-2fdc5018.js → payment.service-03e274d7.js} +3 -3
- package/dist/esm/{payout.service-15064bcc.js → payout.service-9823d66d.js} +3 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +7 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-business-list.js +1 -1
- package/dist/module/justifi-checkout.js +5 -3
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-payment-balance-transactions.js +1 -1
- package/dist/module/justifi-payment-form.js +37 -2
- package/dist/module/justifi-proceeds-list.js +1 -1
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-subaccount-details.js +2 -2
- package/dist/module/justifi-subaccounts-list.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payment.service.js +2 -2
- package/dist/module/payout.service.js +2 -2
- package/dist/types/api/Api.d.ts +5 -1
- package/dist/types/components/payment-form/payment-form.d.ts +7 -1
- package/dist/types/components.d.ts +3 -1
- package/dist/webcomponents/p-02993072.entry.js +1 -0
- package/dist/webcomponents/{p-02b18979.entry.js → p-0b8c1ffc.entry.js} +1 -1
- package/dist/webcomponents/p-1b959678.entry.js +1 -0
- package/dist/webcomponents/p-28181471.entry.js +1 -0
- package/dist/webcomponents/{p-13e2f667.js → p-29c0b182.js} +1 -1
- package/dist/webcomponents/{p-d7d40d26.entry.js → p-3d2f2937.entry.js} +1 -1
- package/dist/webcomponents/p-3d70b0f1.entry.js +1 -0
- package/dist/webcomponents/p-4824018b.entry.js +1 -0
- package/dist/webcomponents/p-598bb67c.entry.js +1 -0
- package/dist/webcomponents/{p-78b32fb9.entry.js → p-5dac370e.entry.js} +1 -1
- package/dist/webcomponents/p-617caf03.entry.js +1 -0
- package/dist/webcomponents/p-70d43109.entry.js +1 -0
- package/dist/webcomponents/{p-9ba31a6a.entry.js → p-7c5f15f8.entry.js} +1 -1
- package/dist/webcomponents/p-96a86f04.entry.js +1 -0
- package/dist/webcomponents/p-c211d068.js +1 -0
- package/dist/webcomponents/p-c3d5f7de.entry.js +1 -0
- package/dist/webcomponents/p-c48a99b9.entry.js +1 -0
- package/dist/webcomponents/p-d2fcc58b.entry.js +1 -0
- package/dist/webcomponents/p-d57f5f01.entry.js +1 -0
- package/dist/webcomponents/p-edb66ae0.js +1 -0
- package/dist/webcomponents/p-f5ae07c4.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-101b2648.entry.js +0 -1
- package/dist/webcomponents/p-1885c478.entry.js +0 -1
- package/dist/webcomponents/p-23099f1f.entry.js +0 -1
- package/dist/webcomponents/p-41bdee27.entry.js +0 -1
- package/dist/webcomponents/p-4c84952f.entry.js +0 -1
- package/dist/webcomponents/p-731085e3.js +0 -1
- package/dist/webcomponents/p-7e334dce.entry.js +0 -1
- package/dist/webcomponents/p-7faacb1e.entry.js +0 -1
- package/dist/webcomponents/p-a9af8f40.entry.js +0 -1
- package/dist/webcomponents/p-b81afd51.entry.js +0 -1
- package/dist/webcomponents/p-bb58e656.entry.js +0 -1
- package/dist/webcomponents/p-bc12b8b9.js +0 -1
- package/dist/webcomponents/p-bfe7c55c.entry.js +0 -1
- package/dist/webcomponents/p-cb31488b.entry.js +0 -1
- package/dist/webcomponents/p-d0a8c631.entry.js +0 -1
- package/dist/webcomponents/p-efbc8ffc.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
let n;const t=new Uint8Array(16);function r(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(t)}const o=[];for(let n=0;n<256;++n)o.push((n+256).toString(16).slice(1));const e={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function c(n,t,c){if(e.randomUUID&&!t&&!n)return e.randomUUID();const u=(n=n||{}).random||(n.rng||r)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){c=c||0;for(let n=0;n<16;++n)t[c+n]=u[n];return t}return function(n,t=0){return o[n[t+0]]+o[n[t+1]]+o[n[t+2]]+o[n[t+3]]+"-"+o[n[t+4]]+o[n[t+5]]+"-"+o[n[t+6]]+o[n[t+7]]+"-"+o[n[t+8]]+o[n[t+9]]+"-"+o[n[t+10]]+o[n[t+11]]+o[n[t+12]]+o[n[t+13]]+o[n[t+14]]+o[n[t+15]]}(u)}const u=(n,t)=>{async function r(){return{Authorization:`Bearer ${n}`,"Idempotency-Key":c(),"Content-Type":"application/json"}}async function o(n,o,e,c,u){const i=`${t}/v1/${n}`,a=e?`${i}?${new URLSearchParams(e)}`:i,
|
|
1
|
+
let n;const t=new Uint8Array(16);function r(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(t)}const o=[];for(let n=0;n<256;++n)o.push((n+256).toString(16).slice(1));const e={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function c(n,t,c){if(e.randomUUID&&!t&&!n)return e.randomUUID();const u=(n=n||{}).random||(n.rng||r)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){c=c||0;for(let n=0;n<16;++n)t[c+n]=u[n];return t}return function(n,t=0){return o[n[t+0]]+o[n[t+1]]+o[n[t+2]]+o[n[t+3]]+"-"+o[n[t+4]]+o[n[t+5]]+"-"+o[n[t+6]]+o[n[t+7]]+"-"+o[n[t+8]]+o[n[t+9]]+"-"+o[n[t+10]]+o[n[t+11]]+o[n[t+12]]+o[n[t+13]]+o[n[t+14]]+o[n[t+15]]}(u)}const u=({authToken:n,apiOrigin:t})=>{async function r(){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":c(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}async function o(n,o,e,c,u){const i=`${t}/v1/${n}`,a=e?`${i}?${new URLSearchParams(e)}`:i,p=await fetch(a,{method:o,headers:await r(),body:c,signal:u});if(p)return 204===p.status?{}:p.json();!function(n){console.error(`Error fetching from ${n}`)}(a)}return{get:async function(n,t,r){return o(n,"GET",t,null,r)},post:async function(n,t,r,e){return o(n,"POST",r,t,e)},put:async function(n,t,r,e){return o(n,"PUT",r,t,e)},patch:async function(n,t,r,e){return o(n,"PATCH",r,t,e)},destroy:async function(n,t,r){return o(n,"DELETE",t,null,r)}}};export{u as A}
|