@justifi/webcomponents 4.19.1-rc-7 → 4.19.1-rc-9

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.
Files changed (97) hide show
  1. package/dist/cjs/{Analytics-84483298.js → Analytics-7b691662.js} +2 -2
  2. package/dist/cjs/{business.service-54b93e3a.js → business.service-090a21e1.js} +5 -5
  3. package/dist/cjs/{get-payout-csv-f20745bd.js → get-payout-csv-238e839a.js} +3 -3
  4. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +4 -4
  5. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  6. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  7. package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
  8. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  9. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  10. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  11. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  12. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +4 -4
  13. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +1 -1
  14. package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
  15. package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -3
  16. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1 -1
  17. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  18. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
  20. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  21. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
  22. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +4 -4
  23. package/dist/cjs/{package-47c49390.js → package-bf1bdd89.js} +1 -1
  24. package/dist/cjs/{payment.service-396d76a6.js → payment.service-c92635c8.js} +2 -2
  25. package/dist/docs.json +1 -1
  26. package/dist/esm/{Analytics-5c3e1cbb.js → Analytics-f41168f5.js} +2 -2
  27. package/dist/esm/{business.service-c8195c2f.js → business.service-37d0cc72.js} +5 -5
  28. package/dist/esm/{get-payout-csv-691cd57f.js → get-payout-csv-a702a0d9.js} +3 -3
  29. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +4 -4
  30. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  31. package/dist/esm/justifi-business-details.entry.js +3 -3
  32. package/dist/esm/justifi-business-form.entry.js +3 -3
  33. package/dist/esm/justifi-card-form.entry.js +3 -3
  34. package/dist/esm/justifi-checkout-core.entry.js +1 -1
  35. package/dist/esm/justifi-checkout.entry.js +4 -4
  36. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  37. package/dist/esm/justifi-new-payment-method_4.entry.js +4 -4
  38. package/dist/esm/justifi-owner-form_3.entry.js +1 -1
  39. package/dist/esm/justifi-payment-details.entry.js +3 -3
  40. package/dist/esm/justifi-payment-form.entry.js +3 -3
  41. package/dist/esm/justifi-payment-method-form.entry.js +1 -1
  42. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  43. package/dist/esm/justifi-payments-list.entry.js +3 -3
  44. package/dist/esm/justifi-payout-details.entry.js +3 -3
  45. package/dist/esm/justifi-payouts-list.entry.js +3 -3
  46. package/dist/esm/justifi-refund-form.entry.js +1 -1
  47. package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -4
  48. package/dist/{webcomponents/p-0550e8b2.js → esm/package-1e26d7be.js} +1 -1
  49. package/dist/esm/{payment.service-b88abfbd.js → payment.service-9359fe15.js} +2 -2
  50. package/dist/module/Analytics.js +1 -1
  51. package/dist/module/business-bank-account-form-step.js +1 -1
  52. package/dist/module/business-document-upload-form-step.js +1 -1
  53. package/dist/module/business-terms-conditions-form-step.js +1 -1
  54. package/dist/module/business.service.js +5 -5
  55. package/dist/module/checkout-core.js +1 -1
  56. package/dist/module/get-payout-csv.js +3 -3
  57. package/dist/module/justifi-bank-account-form.js +1 -1
  58. package/dist/module/justifi-business-form.js +1 -1
  59. package/dist/module/justifi-card-form.js +1 -1
  60. package/dist/module/justifi-checkout.js +2 -2
  61. package/dist/module/justifi-gross-payment-chart.js +1 -1
  62. package/dist/module/justifi-payment-form.js +1 -1
  63. package/dist/module/justifi-payment-provisioning.js +1 -1
  64. package/dist/module/justifi-refund-form.js +1 -1
  65. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  66. package/dist/module/new-payment-method.js +1 -1
  67. package/dist/module/package.js +1 -1
  68. package/dist/module/payment-method-options.js +1 -1
  69. package/dist/module/payment.service.js +2 -2
  70. package/dist/module/saved-payment-method.js +1 -1
  71. package/dist/module/sezzle-payment-method.js +1 -1
  72. package/dist/webcomponents/{p-80eb0908.entry.js → p-02ad434c.entry.js} +3 -3
  73. package/dist/webcomponents/{p-6c9aa2ef.entry.js → p-03a16d1d.entry.js} +3 -3
  74. package/dist/webcomponents/{p-9e2b3614.entry.js → p-06b795d9.entry.js} +1 -1
  75. package/dist/webcomponents/{p-20be55f2.js → p-0e1bc91e.js} +5 -5
  76. package/dist/webcomponents/{p-9dcf8d53.entry.js → p-1cbed2a0.entry.js} +4 -4
  77. package/dist/webcomponents/{p-25bc3378.entry.js → p-24dc023a.entry.js} +4 -4
  78. package/dist/webcomponents/{p-32c82bbb.entry.js → p-26dec41c.entry.js} +3 -3
  79. package/dist/webcomponents/{p-c099e1f6.entry.js → p-2b9846b8.entry.js} +3 -3
  80. package/dist/webcomponents/{p-c2145be8.entry.js → p-40cd264a.entry.js} +4 -4
  81. package/dist/webcomponents/{p-dbe88c82.entry.js → p-42f855f5.entry.js} +3 -3
  82. package/dist/webcomponents/{p-09e9a800.js → p-47d79529.js} +2 -2
  83. package/dist/webcomponents/{p-1e76e6f6.entry.js → p-4e492fed.entry.js} +4 -4
  84. package/dist/webcomponents/{p-c6349e75.entry.js → p-53ecc8b9.entry.js} +1 -1
  85. package/dist/webcomponents/{p-2598093e.js → p-67600cc0.js} +2 -2
  86. package/dist/webcomponents/{p-a0ba0583.entry.js → p-6771e64c.entry.js} +3 -3
  87. package/dist/webcomponents/{p-be0817a0.entry.js → p-75fd6367.entry.js} +1 -1
  88. package/dist/webcomponents/{p-b5a8178c.entry.js → p-92694c3d.entry.js} +3 -3
  89. package/dist/{esm/package-19824070.js → webcomponents/p-9c868390.js} +1 -1
  90. package/dist/webcomponents/{p-9033b0e0.entry.js → p-a63e3c0d.entry.js} +3 -3
  91. package/dist/webcomponents/{p-23046b82.js → p-b4b8b531.js} +3 -3
  92. package/dist/webcomponents/{p-7ab438d3.entry.js → p-bd66f9d2.entry.js} +1 -1
  93. package/dist/webcomponents/{p-571522f4.entry.js → p-c031ddc0.entry.js} +3 -3
  94. package/dist/webcomponents/{p-86a1705b.entry.js → p-dad3e069.entry.js} +4 -4
  95. package/dist/webcomponents/{p-372e17c1.entry.js → p-e461747b.entry.js} +3 -3
  96. package/dist/webcomponents/webcomponents.esm.js +1 -1
  97. package/package.json +1 -1
@@ -31,7 +31,7 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
31
31
  this.insuranceToggled = undefined;
32
32
  this.authToken = undefined;
33
33
  this.accountId = undefined;
34
- this.iframeOrigin = "https://components.justifi.ai/v1";
34
+ this.iframeOrigin = "";
35
35
  this.savedPaymentMethods = [];
36
36
  this.paymentAmount = undefined;
37
37
  this.selectedPaymentMethodId = undefined;
@@ -5,13 +5,13 @@ import './Payout.js';
5
5
 
6
6
  class PaymentService {
7
7
  async fetchPayments(accountId, authToken, params) {
8
- const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
8
+ const api = Api({ authToken, apiOrigin: "" });
9
9
  const endpoint = `account/${accountId}/payments`;
10
10
  return api.get(endpoint, params);
11
11
  }
12
12
  async fetchPayment(paymentId, authToken) {
13
13
  const endpoint = `payments/${paymentId}`;
14
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
14
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
15
15
  }
16
16
  }
17
17
 
@@ -29,7 +29,7 @@ const SavedPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMe
29
29
  this.onPaymentMethodOptionClick = () => {
30
30
  this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
31
31
  };
32
- this.iframeOrigin = "https://components.justifi.ai/v1";
32
+ this.iframeOrigin = "";
33
33
  this.paymentMethodOption = undefined;
34
34
  this.isSelected = undefined;
35
35
  }
@@ -42,7 +42,7 @@ const SezzlePaymentMethod = /*@__PURE__*/ proxyCustomElement(class SezzlePayment
42
42
  this.sezzleCheckout = checkout;
43
43
  this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
44
44
  };
45
- this.iframeOrigin = "https://components.justifi.ai/v1";
45
+ this.iframeOrigin = "";
46
46
  this.bnpl = undefined;
47
47
  this.clientId = undefined;
48
48
  this.accountId = undefined;
@@ -3,12 +3,12 @@ import { A as Api } from './p-29c0b182.js';
3
3
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
4
4
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
5
5
  import { E as ErrorState } from './p-dce846bf.js';
6
- import { J as JustifiAnalytics } from './p-2598093e.js';
7
- import './p-0550e8b2.js';
6
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
7
+ import './p-9c868390.js';
8
8
 
9
9
  class ReportsService {
10
10
  async fetchGrossVolumeChartData(accountId, authToken) {
11
- const api = Api({ authToken: authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
11
+ const api = Api({ authToken: authToken, apiOrigin: "" });
12
12
  const endpoint = `account/${accountId}/reports/gross_volume`;
13
13
  return api.get(endpoint);
14
14
  }
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
- import { P as PaymentService } from './p-09e9a800.js';
2
+ import { P as PaymentService } from './p-47d79529.js';
3
3
  import './p-56f6ce4c.js';
4
4
  import { P as Payment } from './p-df21aaad.js';
5
5
  import './p-e3fab0e2.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
8
8
  import { E as ErrorState } from './p-dce846bf.js';
9
- import { J as JustifiAnalytics } from './p-2598093e.js';
9
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
10
10
  import './p-29c0b182.js';
11
- import './p-0550e8b2.js';
11
+ import './p-9c868390.js';
12
12
 
13
13
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
14
14
  var _a;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './p-fad19d75.js';
2
- import { p as packageJson } from './p-0550e8b2.js';
2
+ import { p as packageJson } from './p-9c868390.js';
3
3
  import { m as composeQueryParams } from './p-83125497.js';
4
4
 
5
5
  var iframeResizer = {exports: {}};
@@ -3,25 +3,25 @@ import { A as Api } from './p-29c0b182.js';
3
3
  class BusinessService {
4
4
  async fetchBusiness(businessId, authToken) {
5
5
  const endpoint = `entities/business/${businessId}`;
6
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
6
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
7
7
  }
8
8
  async patchBusiness(authToken, businessId, payload) {
9
9
  const endpoint = `entities/business/${businessId}`;
10
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
10
+ return Api({ authToken, apiOrigin: "" }).patch(endpoint, payload);
11
11
  }
12
12
  }
13
13
  class IdentityService {
14
14
  async fetchIdentity(identityId, authToken) {
15
15
  const endpoint = `entities/identity/${identityId}`;
16
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
16
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
17
17
  }
18
18
  async patchIdentity(authToken, identityId, payload) {
19
19
  const endpoint = `entities/identity/${identityId}`;
20
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
20
+ return Api({ authToken, apiOrigin: "" }).patch(endpoint, payload);
21
21
  }
22
22
  async postIdentity(authToken, payload) {
23
23
  const endpoint = `entities/identity`;
24
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
24
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, payload);
25
25
  }
26
26
  }
27
27
 
@@ -5,17 +5,17 @@ import './p-df21aaad.js';
5
5
  import './p-e3fab0e2.js';
6
6
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
8
- import { J as JustifiAnalytics } from './p-2598093e.js';
9
- import './p-0550e8b2.js';
8
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
9
+ import './p-9c868390.js';
10
10
 
11
11
  class InsuranceService {
12
12
  async fetchQuote(authToken, payload) {
13
13
  const endpoint = 'insurance/quotes';
14
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
14
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
15
15
  }
16
16
  async toggleCoverage(authToken, quoteId, payload) {
17
17
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
18
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
18
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
19
19
  }
20
20
  }
21
21
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './p-fad19d75.js';
2
2
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './p-14c91ffd.js';
3
3
  import { m as makeGetBusiness, b as makePatchBusiness } from './p-5968ff8a.js';
4
- import { B as BusinessService } from './p-20be55f2.js';
4
+ import { B as BusinessService } from './p-0e1bc91e.js';
5
5
  import { c as create$3, F as FormController, e as create$7 } from './p-2eab3c90.js';
6
6
  import { b as BusinessFormStep, a as BusinessFormClickActions } from './p-d89bad72.js';
7
7
  import { z as bankNameValidation, A as nicknameValidation, i as identityNameValidation, B as accountTypeValidation, C as accountNumberValidation, D as routingNumberValidation, E as voidedCheckValidation, F as governmentIdValidation, G as ss4Validation, H as otherDocumentValidation, I as balanceSheetValidation, J as bankStatementValidation, K as profitAndLossStatementValidation, L as EntityDocument, M as EntityDocumentStorage } from './p-89887332.js';
@@ -199,7 +199,7 @@ const BusinessBankAccountFormStep = class {
199
199
  ;
200
200
  componentWillLoad() {
201
201
  this.formController = new FormController(businessBankAccountSchema(this.allowOptionalFields));
202
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
202
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
203
203
  if (this.businessId && this.authToken) {
204
204
  this.fetchData();
205
205
  }
@@ -429,7 +429,7 @@ const BusinessDocumentFormStep = class {
429
429
  return 'entities/document';
430
430
  }
431
431
  componentWillLoad() {
432
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
432
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
433
433
  if (this.businessId && this.authToken) {
434
434
  this.fetchData();
435
435
  }
@@ -646,7 +646,7 @@ const BusinessTermsConditionsFormStep = class {
646
646
  };
647
647
  }
648
648
  async componentWillLoad() {
649
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
649
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
650
650
  this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
651
651
  if (this.businessId && this.authToken) {
652
652
  this.fetchData();
@@ -5,10 +5,10 @@ import './p-e3fab0e2.js';
5
5
  import { l as loadFontsOnParent } from './p-83125497.js';
6
6
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './p-14c91ffd.js';
7
7
  import { g as getErrorMessage } from './p-8115b2f4.js';
8
- import { J as JustifiAnalytics } from './p-2598093e.js';
8
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
9
9
  import { B as Button } from './p-9c9c7dac.js';
10
10
  import { S as StyledHost } from './p-ba4bae6f.js';
11
- import './p-0550e8b2.js';
11
+ import './p-9c868390.js';
12
12
  import './p-29c0b182.js';
13
13
 
14
14
  const paymentFormCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
@@ -117,7 +117,7 @@ const PaymentForm = class {
117
117
  }
118
118
  }
119
119
  render() {
120
- return (h(StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: "https://components.justifi.ai/v1", ref: el => {
120
+ return (h(StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: "", ref: el => {
121
121
  if (el) {
122
122
  this.paymentMethodFormRef = el;
123
123
  }
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
- import { m as makeGetPayoutCSV, P as PayoutService } from './p-23046b82.js';
2
+ import { m as makeGetPayoutCSV, P as PayoutService } from './p-b4b8b531.js';
3
3
  import './p-56f6ce4c.js';
4
4
  import './p-df21aaad.js';
5
5
  import { P as Payout } from './p-e3fab0e2.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
8
8
  import { E as ErrorState } from './p-dce846bf.js';
9
- import { J as JustifiAnalytics } from './p-2598093e.js';
9
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
10
10
  import './p-29c0b182.js';
11
- import './p-0550e8b2.js';
11
+ import './p-9c868390.js';
12
12
 
13
13
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
14
14
  var _a;
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
- import { J as JustifiAnalytics } from './p-2598093e.js';
2
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
3
3
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './p-14c91ffd.js';
4
4
  import { m as makeGetBusiness, a as makePostProvisioning } from './p-5968ff8a.js';
5
- import { B as BusinessService } from './p-20be55f2.js';
5
+ import { B as BusinessService } from './p-0e1bc91e.js';
6
6
  import { A as Api } from './p-29c0b182.js';
7
- import './p-0550e8b2.js';
7
+ import './p-9c868390.js';
8
8
  import './p-8115b2f4.js';
9
9
 
10
10
  class ProvisionService {
@@ -14,7 +14,7 @@ class ProvisionService {
14
14
  business_id: businessId,
15
15
  product_category: product,
16
16
  };
17
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
17
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
18
18
  }
19
19
  }
20
20
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
- import { J as JustifiAnalytics } from './p-2598093e.js';
3
- import './p-0550e8b2.js';
2
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
3
+ import './p-9c868390.js';
4
4
  import './p-29c0b182.js';
5
5
 
6
6
  const CardForm = class {
@@ -11,7 +11,7 @@ const CardForm = class {
11
11
  this.cardFormTokenized = createEvent(this, "cardFormTokenize", 7);
12
12
  this.cardFormValidated = createEvent(this, "cardFormValidate", 7);
13
13
  this.validationMode = undefined;
14
- this.iframeOrigin = "https://components.justifi.ai/v1";
14
+ this.iframeOrigin = "";
15
15
  this.singleLine = false;
16
16
  this.internalStyleOverrides = undefined;
17
17
  }
@@ -5,13 +5,13 @@ import './p-e3fab0e2.js';
5
5
 
6
6
  class PaymentService {
7
7
  async fetchPayments(accountId, authToken, params) {
8
- const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
8
+ const api = Api({ authToken, apiOrigin: "" });
9
9
  const endpoint = `account/${accountId}/payments`;
10
10
  return api.get(endpoint, params);
11
11
  }
12
12
  async fetchPayment(paymentId, authToken) {
13
13
  const endpoint = `payments/${paymentId}`;
14
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
14
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
15
15
  }
16
16
  }
17
17
 
@@ -5,8 +5,8 @@ import { A as Api } from './p-29c0b182.js';
5
5
  import './p-56f6ce4c.js';
6
6
  import './p-df21aaad.js';
7
7
  import './p-e3fab0e2.js';
8
- import { J as JustifiAnalytics } from './p-2598093e.js';
9
- import './p-0550e8b2.js';
8
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
9
+ import './p-9c868390.js';
10
10
 
11
11
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
12
12
  var _a;
@@ -65,7 +65,7 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
65
65
  class CheckoutService {
66
66
  async fetchCheckout(authToken, checkoutId) {
67
67
  const endpoint = `checkouts/${checkoutId}`;
68
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
68
+ return Api({ authToken, apiOrigin: "" }).get(endpoint);
69
69
  }
70
70
  async complete(authToken, checkoutId, payment) {
71
71
  const endpoint = `checkouts/${checkoutId}/complete`;
@@ -75,7 +75,7 @@ class CheckoutService {
75
75
  if (payment.payment_token) {
76
76
  payload.payment_token = payment.payment_token;
77
77
  }
78
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
78
+ return Api({ authToken, apiOrigin: "" }).post(endpoint, JSON.stringify(payload));
79
79
  }
80
80
  }
81
81
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
2
  import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './p-5968ff8a.js';
3
- import { I as IdentityService } from './p-20be55f2.js';
3
+ import { I as IdentityService } from './p-0e1bc91e.js';
4
4
  import { F as FormController } from './p-2eab3c90.js';
5
5
  import { O as Owner } from './p-af244664.js';
6
6
  import { a as BusinessFormClickActions } from './p-d89bad72.js';
@@ -1,10 +1,10 @@
1
- import { p as packageJson } from './p-0550e8b2.js';
1
+ import { p as packageJson } from './p-9c868390.js';
2
2
  import { A as Api } from './p-29c0b182.js';
3
3
 
4
4
  class AnalyticsService {
5
5
  async record(body) {
6
6
  const endpoint = 'analytics';
7
- return Api({ apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(body));
7
+ return Api({ apiOrigin: "" }).post(endpoint, JSON.stringify(body));
8
8
  }
9
9
  }
10
10
 
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './p-fad19d75.js';
2
2
  import { t as tableExportedParts } from './p-2b6c9c4f.js';
3
- import { m as makeGetPayoutCSV, P as PayoutService } from './p-23046b82.js';
3
+ import { m as makeGetPayoutCSV, P as PayoutService } from './p-b4b8b531.js';
4
4
  import './p-56f6ce4c.js';
5
5
  import './p-df21aaad.js';
6
6
  import { P as Payout } from './p-e3fab0e2.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
8
8
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
9
9
  import { E as ErrorState } from './p-dce846bf.js';
10
- import { J as JustifiAnalytics } from './p-2598093e.js';
10
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
11
11
  import './p-29c0b182.js';
12
- import './p-0550e8b2.js';
12
+ import './p-9c868390.js';
13
13
 
14
14
  const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
15
15
  var _a, _b;
@@ -44,7 +44,7 @@ const CheckoutCore = class {
44
44
  });
45
45
  this.renderState = 'error';
46
46
  };
47
- this.iframeOrigin = "https://components.justifi.ai/v1";
47
+ this.iframeOrigin = "";
48
48
  this.authToken = undefined;
49
49
  this.getCheckout = undefined;
50
50
  this.complete = undefined;
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './p-fad19d75.js';
2
2
  import { E as ErrorState } from './p-dce846bf.js';
3
- import { B as BusinessService } from './p-20be55f2.js';
3
+ import { B as BusinessService } from './p-0e1bc91e.js';
4
4
  import { B as Business } from './p-af244664.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
6
6
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
7
- import { J as JustifiAnalytics } from './p-2598093e.js';
7
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
8
8
  import './p-29c0b182.js';
9
9
  import './p-1ff8810b.js';
10
10
  import './p-6078a370.js';
11
- import './p-0550e8b2.js';
11
+ import './p-9c868390.js';
12
12
 
13
13
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
14
14
  var _a;
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "4.19.1-rc-7";
2
+ const version = "4.19.1-rc-9";
3
3
  const description = "JustiFi Web Components";
4
4
  const collection = "dist/collection/collection-manifest.json";
5
5
  const main = "dist/index.cjs.js";
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
- import { J as JustifiAnalytics } from './p-2598093e.js';
3
- import './p-0550e8b2.js';
2
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
3
+ import './p-9c868390.js';
4
4
  import './p-29c0b182.js';
5
5
 
6
6
  const BankAccountForm = class {
@@ -11,7 +11,7 @@ const BankAccountForm = class {
11
11
  this.bankAccountFormTokenized = createEvent(this, "bankAccountFormTokenize", 7);
12
12
  this.bankAccountFormValidated = createEvent(this, "bankAccountFormValidate", 7);
13
13
  this.validationMode = undefined;
14
- this.iframeOrigin = "https://components.justifi.ai/v1";
14
+ this.iframeOrigin = "";
15
15
  this.internalStyleOverrides = undefined;
16
16
  }
17
17
  readyHandler(event) {
@@ -7,17 +7,17 @@ import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
7
7
 
8
8
  class PayoutService {
9
9
  async fetchPayouts(accountId, authToken, params) {
10
- const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
10
+ const api = Api({ authToken, apiOrigin: "" });
11
11
  const endpoint = `account/${accountId}/payouts`;
12
12
  return api.get(endpoint, params);
13
13
  }
14
14
  async fetchPayout(payoutId, authToken) {
15
- const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
15
+ const api = Api({ authToken, apiOrigin: "" });
16
16
  const endpoint = `payouts/${payoutId}`;
17
17
  return api.get(endpoint);
18
18
  }
19
19
  async fetchCSV(payoutId, authToken) {
20
- const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
20
+ const api = Api({ authToken, apiOrigin: "" });
21
21
  const endpoint = `reports/payouts/${payoutId}`;
22
22
  return api.get(endpoint);
23
23
  }
@@ -89,7 +89,7 @@ const RefundForm = class {
89
89
  if (!this.authToken) {
90
90
  console.warn('Warning: Missing auth-token.');
91
91
  }
92
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
92
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
93
93
  }
94
94
  render() {
95
95
  var _a;
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './p-fad19d75.js';
2
- import { P as PaymentService } from './p-09e9a800.js';
2
+ import { P as PaymentService } from './p-47d79529.js';
3
3
  import './p-56f6ce4c.js';
4
4
  import { P as Payment } from './p-df21aaad.js';
5
5
  import './p-e3fab0e2.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './p-14c91ffd.js';
7
7
  import { g as getErrorMessage, a as getErrorCode } from './p-8115b2f4.js';
8
8
  import { E as ErrorState } from './p-dce846bf.js';
9
- import { J as JustifiAnalytics } from './p-2598093e.js';
9
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
10
10
  import './p-29c0b182.js';
11
- import './p-0550e8b2.js';
11
+ import './p-9c868390.js';
12
12
 
13
13
  const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
14
14
  var _a, _b;
@@ -13,7 +13,7 @@ const NewPaymentMethod = class {
13
13
  this.onPaymentMethodOptionClick = () => {
14
14
  this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
15
15
  };
16
- this.iframeOrigin = "https://components.justifi.ai/v1";
16
+ this.iframeOrigin = "";
17
17
  this.authToken = undefined;
18
18
  this.accountId = undefined;
19
19
  this.paymentMethodOption = undefined;
@@ -119,7 +119,7 @@ const PaymentMethodOptions = class {
119
119
  this.insuranceToggled = undefined;
120
120
  this.authToken = undefined;
121
121
  this.accountId = undefined;
122
- this.iframeOrigin = "https://components.justifi.ai/v1";
122
+ this.iframeOrigin = "";
123
123
  this.savedPaymentMethods = [];
124
124
  this.paymentAmount = undefined;
125
125
  this.selectedPaymentMethodId = undefined;
@@ -206,7 +206,7 @@ const SavedPaymentMethod = class {
206
206
  this.onPaymentMethodOptionClick = () => {
207
207
  this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
208
208
  };
209
- this.iframeOrigin = "https://components.justifi.ai/v1";
209
+ this.iframeOrigin = "";
210
210
  this.paymentMethodOption = undefined;
211
211
  this.isSelected = undefined;
212
212
  }
@@ -265,7 +265,7 @@ const SezzlePaymentMethod = class {
265
265
  this.sezzleCheckout = checkout;
266
266
  this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
267
267
  };
268
- this.iframeOrigin = "https://components.justifi.ai/v1";
268
+ this.iframeOrigin = "";
269
269
  this.bnpl = undefined;
270
270
  this.clientId = undefined;
271
271
  this.accountId = undefined;
@@ -8,13 +8,13 @@ import './p-df21aaad.js';
8
8
  import './p-e3fab0e2.js';
9
9
  import { B as BusinessFormServerErrors, a as BusinessFormClickActions } from './p-d89bad72.js';
10
10
  import { B as Business } from './p-af244664.js';
11
- import { J as JustifiAnalytics } from './p-2598093e.js';
11
+ import { J as JustifiAnalytics } from './p-67600cc0.js';
12
12
  import { S as StyledHost } from './p-ba4bae6f.js';
13
13
  import './p-89887332.js';
14
14
  import './p-6078a370.js';
15
15
  import './p-ba5fae28.js';
16
16
  import './p-1ff8810b.js';
17
- import './p-0550e8b2.js';
17
+ import './p-9c868390.js';
18
18
 
19
19
  const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
20
20
 
@@ -81,7 +81,7 @@ const BusinessForm = class {
81
81
  if (!this.businessId)
82
82
  console.error(missingBusinessIdMessage);
83
83
  this.formController = new FormController(businessFormSchema);
84
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
84
+ this.api = Api({ authToken: this.authToken, apiOrigin: "" });
85
85
  this.fetchData();
86
86
  }
87
87
  disconnectedCallback() {