@justifi/webcomponents 5.7.6-rc-16 → 5.7.6-rc-17

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 (89) hide show
  1. package/dist/cjs/{check-pkg-version-BkzyzJ71.js → check-pkg-version-CrxxePuX.js} +1 -1
  2. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  3. package/dist/cjs/justifi-apple-pay.cjs.entry.js +15 -7
  4. package/dist/cjs/justifi-bank-account-form_5.cjs.entry.js +2 -2
  5. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  6. package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
  7. package/dist/cjs/justifi-button_5.cjs.entry.js +2 -2
  8. package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
  9. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
  10. package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
  11. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
  12. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  13. package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
  14. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  15. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  16. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
  17. package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
  18. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  19. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
  20. package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
  21. package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
  22. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
  24. package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
  25. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
  26. package/dist/cjs/{package-e83u_82Y.js → package-DEAhBHUS.js} +1 -1
  27. package/dist/collection/api/services/apple-pay.service.js +9 -2
  28. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +6 -5
  29. package/dist/docs.json +1 -1
  30. package/dist/esm/{check-pkg-version-Ddp_kLM5.js → check-pkg-version-C77xIlwV.js} +1 -1
  31. package/dist/esm/hidden-input_2.entry.js +1 -1
  32. package/dist/esm/justifi-apple-pay.entry.js +15 -7
  33. package/dist/esm/justifi-bank-account-form_5.entry.js +2 -2
  34. package/dist/esm/justifi-business-details.entry.js +2 -2
  35. package/dist/esm/justifi-business-form.entry.js +2 -2
  36. package/dist/esm/justifi-button_5.entry.js +2 -2
  37. package/dist/esm/justifi-checkout.entry.js +2 -2
  38. package/dist/esm/justifi-checkouts-list.entry.js +2 -2
  39. package/dist/esm/justifi-dispute-management.entry.js +2 -2
  40. package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
  41. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  42. package/dist/esm/justifi-order-terminals.entry.js +2 -2
  43. package/dist/esm/justifi-payment-details.entry.js +2 -2
  44. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  45. package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
  46. package/dist/esm/justifi-payments-list.entry.js +2 -2
  47. package/dist/esm/justifi-payout-details.entry.js +2 -2
  48. package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
  49. package/dist/esm/justifi-payouts-list.entry.js +2 -2
  50. package/dist/esm/justifi-refund-payment.entry.js +2 -2
  51. package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
  52. package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
  53. package/dist/esm/justifi-terminals-list.entry.js +2 -2
  54. package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
  55. package/dist/esm/{package-HMZ8vsvN.js → package-CXbfqbl8.js} +1 -1
  56. package/dist/module/justifi-apple-pay.js +15 -7
  57. package/dist/module/package.js +1 -1
  58. package/dist/webcomponents/{p-a60c67e6.entry.js → p-0dd2ca59.entry.js} +1 -1
  59. package/dist/webcomponents/p-112c600c.entry.js +1 -0
  60. package/dist/webcomponents/{p-b6d05490.entry.js → p-20e4a266.entry.js} +1 -1
  61. package/dist/webcomponents/{p-6b9dfd09.entry.js → p-24e52dd7.entry.js} +1 -1
  62. package/dist/webcomponents/{p-7db0847f.entry.js → p-31e8f0aa.entry.js} +1 -1
  63. package/dist/webcomponents/p-3f50ce69.entry.js +1 -0
  64. package/dist/webcomponents/{p-90a2875b.entry.js → p-4b1c6b41.entry.js} +1 -1
  65. package/dist/webcomponents/{p-c983e9bb.entry.js → p-59a6343e.entry.js} +1 -1
  66. package/dist/webcomponents/{p-fb6723b7.entry.js → p-6a0b7d0f.entry.js} +1 -1
  67. package/dist/webcomponents/{p-f3f8a5a2.entry.js → p-8d14f614.entry.js} +1 -1
  68. package/dist/webcomponents/{p-b0f90f5d.entry.js → p-9dbd4025.entry.js} +1 -1
  69. package/dist/webcomponents/p-CXbfqbl8.js +1 -0
  70. package/dist/webcomponents/{p-CDmdt8BH.js → p-Dd5ABBzD.js} +1 -1
  71. package/dist/webcomponents/{p-bb481c67.entry.js → p-a30e2f9f.entry.js} +1 -1
  72. package/dist/webcomponents/{p-948066ff.entry.js → p-a80d0cb9.entry.js} +1 -1
  73. package/dist/webcomponents/{p-f18076ba.entry.js → p-acf28b99.entry.js} +1 -1
  74. package/dist/webcomponents/{p-487fd882.entry.js → p-b0edb29f.entry.js} +1 -1
  75. package/dist/webcomponents/{p-e5ae45c3.entry.js → p-bcf9f037.entry.js} +1 -1
  76. package/dist/webcomponents/{p-935f8208.entry.js → p-c1908830.entry.js} +1 -1
  77. package/dist/webcomponents/{p-be4c5b34.entry.js → p-dbb2775f.entry.js} +1 -1
  78. package/dist/webcomponents/{p-04169a4a.entry.js → p-e314926e.entry.js} +1 -1
  79. package/dist/webcomponents/{p-1c79237c.entry.js → p-e335712e.entry.js} +1 -1
  80. package/dist/webcomponents/{p-35bc4279.entry.js → p-e8cb4051.entry.js} +1 -1
  81. package/dist/webcomponents/p-edfaaa43.entry.js +1 -0
  82. package/dist/webcomponents/{p-207f4e07.entry.js → p-f56576f2.entry.js} +1 -1
  83. package/dist/webcomponents/{p-df82aca6.entry.js → p-fc099a9b.entry.js} +1 -1
  84. package/dist/webcomponents/webcomponents.esm.js +1 -1
  85. package/package.json +1 -1
  86. package/dist/webcomponents/p-3fb1b0be.entry.js +0 -1
  87. package/dist/webcomponents/p-HMZ8vsvN.js +0 -1
  88. package/dist/webcomponents/p-f2bae759.entry.js +0 -1
  89. package/dist/webcomponents/p-fcc30769.entry.js +0 -1
@@ -185,16 +185,22 @@ class ApplePayService {
185
185
  async validateMerchant(authToken, payload) {
186
186
  const endpoint = `${this.apiBaseUrl}/v1/apple_pay/merchant_session`;
187
187
  const body = payload;
188
+ console.log('=== MERCHANT VALIDATION REQUEST ===');
189
+ console.log('Endpoint:', endpoint);
190
+ console.log('Payload:', body);
191
+ console.log('Auth token present:', !!authToken);
192
+ console.log('Account ID:', this.accountId);
188
193
  const response = await fetch(endpoint, {
189
194
  method: 'POST',
190
195
  headers: {
191
196
  'Content-Type': 'application/json',
192
197
  Accept: 'application/json',
193
198
  Authorization: `Bearer ${authToken}`,
194
- "Sub-Account": this.accountId
199
+ 'Sub-Account': this.accountId,
195
200
  },
196
201
  body: JSON.stringify(body),
197
202
  });
203
+ console.log('Response status:', response.status);
198
204
  if (!response.ok) {
199
205
  const errorData = await response.text();
200
206
  console.error('Backend validation failed - Raw response:', errorData);
@@ -208,6 +214,7 @@ class ApplePayService {
208
214
  throw new Error(`Merchant validation failed: ${response.status}`);
209
215
  }
210
216
  const merchantSession = await response.json();
217
+ console.log('Merchant session received:', merchantSession);
211
218
  return merchantSession;
212
219
  }
213
220
  /**
@@ -222,7 +229,7 @@ class ApplePayService {
222
229
  'Content-Type': 'application/json',
223
230
  Accept: 'application/json',
224
231
  Authorization: `Bearer ${authToken}`,
225
- "Sub-Account": this.accountId
232
+ 'Sub-Account': this.accountId,
226
233
  },
227
234
  body: JSON.stringify(body),
228
235
  });
@@ -773,6 +780,10 @@ const ApplePay = class {
773
780
  buttonType: this.buttonType,
774
781
  buttonStyle: this.buttonStyle,
775
782
  };
783
+ console.log('=== APPLE PAY CONFIG ===');
784
+ console.log('Config:', applePayConfig);
785
+ console.log('Auth token present:', !!checkoutStore.authToken);
786
+ console.log('Account ID:', checkoutStore.accountId);
776
787
  this.applePayService.setAccountId(checkoutStore.accountId);
777
788
  this.applePayService.initialize(applePayConfig);
778
789
  const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
@@ -810,13 +821,10 @@ const ApplePay = class {
810
821
  this.isAvailable &&
811
822
  this.canMakePayments &&
812
823
  !this.error;
813
- return (h(StyledHost, { key: '627782068c729d8a2ed515957b0d1d30497c43fb' }, h("script", { key: '526abcdccd477a882c2087c1d9a2272edc24c759', async: true, onLoad: () => {
814
- console.log('Apple Pay SDK loaded');
815
- this.initializeApplePay();
816
- }, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: '29221d2d2c4ebc00ba0d27e428bdc2c26b9a3dff', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '9135d2ad9bfbcd3b84a687738d733c2b6d1c7a31', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: 'da6585c2eb35ab82aa1e21e3895dc379854a35b1', class: 'apple-pay-error', role: 'alert' }, h("span", { key: '4a3234ea9927e49bf3a8658c2800ae4baf2c8a2e', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '13627e68c6132fed6e08558386995e660f78b01b', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: 'db9167ed16f32614610f2168d25e5a4643e22879', class: 'apple-pay-unavailable' }, h("span", { key: 'f09c6e9d8325fb324dfc537edf51d80f800588a9', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
824
+ return (h(StyledHost, { key: '1067306dfa050d5c89d9bc64991c4a8e95427b3e' }, h("script", { key: '737e6d849fffc8902867dfa8a68d18f0da81f4fd', async: true, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: 'b354353c65d7f56db82c61ff088ed1d37eea905b', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '82d80ec54612e57b7a1eef76925194659e3186bb', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '0b5923bfbc3d0616fee8de4fd43b149810b91ca4', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'f3a885c30fee6375becfa53c147895db58ab1336', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '3a5ff8b3f89c46092fe41a04eb9dd635fe959d34', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '1a5ad2a2ed7e748dab98e66dca56b337991ef648', class: 'apple-pay-unavailable' }, h("span", { key: '7684e951c36278404e15b8497e9c74ffeb2cb992', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
817
825
  !this.error &&
818
826
  this.isAvailable &&
819
- this.canMakePayments && (h(ApplePayButton, { key: '2e7c23547883e165edea0ffb776e49007b8d82a1', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '99c32299d475bcbb8a093505c9254de4ab87145f' }, `
827
+ this.canMakePayments && (h(ApplePayButton, { key: '94c75b7ab68f8ff02e4953689de8931cb5aab1f2', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'acdef8691d85e319fc0ab548443173f2bd32029d' }, `
820
828
  .apple-pay-container {
821
829
  width: 100%;
822
830
  }
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-kpoIU4v_.js'
2
2
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
3
3
  import './event-types-CZfYo5-1.js';
4
4
  import { S as Skeleton } from './skeleton-CZfDofm6.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
6
6
  import { w as waitForConfig, c as configState } from './config-state-BrllxiM0.js';
7
7
  import { c as create$3, F as FormController } from './index.esm-cYgKOXtz.js';
8
8
  import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, y as identityNameValidation } from './schema-validations-DcR1ujuX.js';
@@ -10,7 +10,7 @@ import { ag as billingForm } from './parts-D3G5aVLy.js';
10
10
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
11
11
  import { S as StateOptions } from './state-options-BX8GieXu.js';
12
12
  import { o as onChange } from './checkout.store-QrBBYQfi.js';
13
- import './package-HMZ8vsvN.js';
13
+ import './package-CXbfqbl8.js';
14
14
  import './Api-DQM93PRm.js';
15
15
  import './utils-B7jE0g5_.js';
16
16
  import './ComponentError-Cjcsf8ku.js';
@@ -3,7 +3,7 @@ import { E as ErrorState } from './utils-CBJo9jNE.js';
3
3
  import { B as BusinessService } from './business.service-BgXdRyYa.js';
4
4
  import { m as makeGetBusiness } from './get-business-Crb6P-iI.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
7
7
  import './parts-D3G5aVLy.js';
8
8
  import './Api-DQM93PRm.js';
9
9
  import './config-state-BrllxiM0.js';
@@ -17,7 +17,7 @@ import './Business-BCoP0TAV.js';
17
17
  import './helpers-Mu7LQT-w.js';
18
18
  import './state-options-BX8GieXu.js';
19
19
  import './utils-BeQLScSm.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
 
22
22
  const BusinessDetails = class {
23
23
  constructor(hostRef) {
@@ -10,7 +10,7 @@ import './Pagination-CLHwhyvu.js';
10
10
  import './Payment-Bs0-9Lnt.js';
11
11
  import { B as Business, b as BusinessFormServerErrors } from './Business-BCoP0TAV.js';
12
12
  import './Dispute-7MWRbTXI.js';
13
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
13
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
14
14
  import { B as Button } from './button-DxM4-mlD.js';
15
15
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
16
16
  import { H as Header1 } from './header-1-B0PFwGib.js';
@@ -25,7 +25,7 @@ import './state-options-BX8GieXu.js';
25
25
  import './business-form-options-CgssATyg.js';
26
26
  import './index-B9me4yN2.js';
27
27
  import './helpers-Mu7LQT-w.js';
28
- import './package-HMZ8vsvN.js';
28
+ import './package-CXbfqbl8.js';
29
29
  import './Api-DQM93PRm.js';
30
30
  import './parts-D3G5aVLy.js';
31
31
  import './utils-BeQLScSm.js';
@@ -8,7 +8,7 @@ import './event-types-CZfYo5-1.js';
8
8
  import { H as Header1 } from './header-1-B0PFwGib.js';
9
9
  import { H as Header2, b as insuranceValuesOn, i as insuranceValues } from './insurance-state-DQH40x6F.js';
10
10
  import { H as Header3 } from './header-3-D3gxg6YU.js';
11
- import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-Ddp_kLM5.js';
11
+ import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-C77xIlwV.js';
12
12
  import './config-state-BrllxiM0.js';
13
13
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
14
14
  import { I as ICheckoutStatus } from './Refund-4B3c-kLz.js';
@@ -19,7 +19,7 @@ import './Dispute-7MWRbTXI.js';
19
19
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
20
20
  import { C as CheckoutService } from './checkout.service-CXeKDZTF.js';
21
21
  import './index-B9me4yN2.js';
22
- import './package-HMZ8vsvN.js';
22
+ import './package-CXbfqbl8.js';
23
23
  import './Api-DQM93PRm.js';
24
24
  import './helpers-Mu7LQT-w.js';
25
25
  import './state-options-BX8GieXu.js';
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
2
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
2
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
3
3
  import { c as checkoutStore } from './checkout.store-QrBBYQfi.js';
4
4
  import { d as checkoutSummary } from './parts-D3G5aVLy.js';
5
5
  import { P as PaymentMethodTypes } from './Payment-Bs0-9Lnt.js';
6
6
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
7
7
  import './event-types-CZfYo5-1.js';
8
- import './package-HMZ8vsvN.js';
8
+ import './package-CXbfqbl8.js';
9
9
  import './Api-DQM93PRm.js';
10
10
  import './config-state-BrllxiM0.js';
11
11
  import './index-B9me4yN2.js';
@@ -8,7 +8,7 @@ import './Payment-Bs0-9Lnt.js';
8
8
  import './Business-BCoP0TAV.js';
9
9
  import './Dispute-7MWRbTXI.js';
10
10
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
11
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
12
12
  import { C as CheckoutService } from './checkout.service-CXeKDZTF.js';
13
13
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-C62B2OC_.js';
14
14
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
@@ -17,7 +17,7 @@ import { d as defaultColumnsKeys } from './checkouts-table-Djb7Yj6O.js';
17
17
  import './index-B9me4yN2.js';
18
18
  import './helpers-Mu7LQT-w.js';
19
19
  import './state-options-BX8GieXu.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
  import './Api-DQM93PRm.js';
22
22
  import './badge-D-vrtiQR.js';
23
23
  import './parts-D3G5aVLy.js';
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
4
4
  import { a as Dispute } from './Dispute-7MWRbTXI.js';
5
5
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
6
6
  import { D as DisputeService } from './dispute.service-DWs_TX-m.js';
7
- import './package-HMZ8vsvN.js';
7
+ import './package-CXbfqbl8.js';
8
8
  import './Api-DQM93PRm.js';
9
9
  import './config-state-BrllxiM0.js';
10
10
  import './index-B9me4yN2.js';
@@ -9,7 +9,7 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Compone
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
10
10
  import { D as DisputeService } from './dispute.service-DWs_TX-m.js';
11
11
  import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
12
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
13
13
  import './Api-DQM93PRm.js';
14
14
  import './config-state-BrllxiM0.js';
15
15
  import './index-B9me4yN2.js';
@@ -20,7 +20,7 @@ import './Dispute-7MWRbTXI.js';
20
20
  import './Business-BCoP0TAV.js';
21
21
  import './helpers-Mu7LQT-w.js';
22
22
  import './state-options-BX8GieXu.js';
23
- import './package-HMZ8vsvN.js';
23
+ import './package-CXbfqbl8.js';
24
24
 
25
25
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
26
26
  var _a;
@@ -8,14 +8,14 @@ import './Business-BCoP0TAV.js';
8
8
  import './Dispute-7MWRbTXI.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
10
10
  import { E as ErrorState } from './utils-CBJo9jNE.js';
11
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
12
12
  import './config-state-BrllxiM0.js';
13
13
  import './index-B9me4yN2.js';
14
14
  import './utils-B7jE0g5_.js';
15
15
  import './helpers-Mu7LQT-w.js';
16
16
  import './state-options-BX8GieXu.js';
17
17
  import './parts-D3G5aVLy.js';
18
- import './package-HMZ8vsvN.js';
18
+ import './package-CXbfqbl8.js';
19
19
 
20
20
  const api = Api();
21
21
  class ReportsService {
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-kpoIU4v_.js'
2
2
  import { ap as heading5, am as heading4, ae as buttonPrimary, z as text } from './parts-D3G5aVLy.js';
3
3
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
6
6
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
7
7
  import { B as BusinessService } from './business.service-BgXdRyYa.js';
8
8
  import { B as Business } from './Business-BCoP0TAV.js';
@@ -16,7 +16,7 @@ import './Payment-Bs0-9Lnt.js';
16
16
  import './Dispute-7MWRbTXI.js';
17
17
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
18
18
  import { T as TerminalService } from './terminal.service-BLeBxTv4.js';
19
- import './package-HMZ8vsvN.js';
19
+ import './package-CXbfqbl8.js';
20
20
  import './Api-DQM93PRm.js';
21
21
  import './helpers-Mu7LQT-w.js';
22
22
  import './state-options-BX8GieXu.js';
@@ -3,7 +3,7 @@ import { P as PaymentService } from './payment.service-BnDr_9vX.js';
3
3
  import { m as makeGetPaymentDetails } from './get-payment-details-j8nOngzB.js';
4
4
  import { E as ErrorState } from './utils-CBJo9jNE.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
7
7
  import './Api-DQM93PRm.js';
8
8
  import './config-state-BrllxiM0.js';
9
9
  import './index-B9me4yN2.js';
@@ -17,7 +17,7 @@ import './helpers-Mu7LQT-w.js';
17
17
  import './state-options-BX8GieXu.js';
18
18
  import './utils-BeQLScSm.js';
19
19
  import './parts-D3G5aVLy.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
 
22
22
  const PaymentDetails = class {
23
23
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
2
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
2
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
3
3
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
4
4
  import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-ONP8lDnV.js';
5
5
  import { B as BusinessService } from './business.service-BgXdRyYa.js';
@@ -9,7 +9,7 @@ import './Pagination-CLHwhyvu.js';
9
9
  import './Payment-Bs0-9Lnt.js';
10
10
  import './Business-BCoP0TAV.js';
11
11
  import './Dispute-7MWRbTXI.js';
12
- import './package-HMZ8vsvN.js';
12
+ import './package-CXbfqbl8.js';
13
13
  import './utils-BeQLScSm.js';
14
14
  import './config-state-BrllxiM0.js';
15
15
  import './index-B9me4yN2.js';
@@ -7,7 +7,7 @@ import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
7
  import './Payment-Bs0-9Lnt.js';
8
8
  import './Business-BCoP0TAV.js';
9
9
  import './Dispute-7MWRbTXI.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
12
12
  import { P as PaymentService } from './payment.service-BnDr_9vX.js';
13
13
  import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-CTPfsGKi.js';
@@ -17,7 +17,7 @@ import { N as tableHeadCell, O as getAlternateTableCellPart } from './parts-D3G5
17
17
  import './index-B9me4yN2.js';
18
18
  import './helpers-Mu7LQT-w.js';
19
19
  import './state-options-BX8GieXu.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
  import './Api-DQM93PRm.js';
22
22
  import './spinner-D-vbFqC6.js';
23
23
 
@@ -9,7 +9,7 @@ import { a as Payment } from './Payment-Bs0-9Lnt.js';
9
9
  import './Business-BCoP0TAV.js';
10
10
  import './Dispute-7MWRbTXI.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
12
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
13
13
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
14
14
  import './event-types-CZfYo5-1.js';
15
15
  import { d as defaultColumnsKeys } from './payments-table-BuiNqlwv.js';
@@ -17,7 +17,7 @@ import './Api-DQM93PRm.js';
17
17
  import './index-B9me4yN2.js';
18
18
  import './helpers-Mu7LQT-w.js';
19
19
  import './state-options-BX8GieXu.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
  import './payments-status-DVYzDcJ4.js';
22
22
  import './badge-D-vrtiQR.js';
23
23
  import './parts-D3G5aVLy.js';
@@ -10,14 +10,14 @@ import './Business-BCoP0TAV.js';
10
10
  import './Dispute-7MWRbTXI.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
12
12
  import { E as ErrorState } from './utils-CBJo9jNE.js';
13
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
13
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
14
14
  import { m as makeGetPayoutCSV } from './get-payout-csv-D-Lnooki.js';
15
15
  import './Api-DQM93PRm.js';
16
16
  import './index-B9me4yN2.js';
17
17
  import './helpers-Mu7LQT-w.js';
18
18
  import './state-options-BX8GieXu.js';
19
19
  import './parts-D3G5aVLy.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
 
22
22
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
23
23
  var _a;
@@ -7,7 +7,7 @@ import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
7
  import './Payment-Bs0-9Lnt.js';
8
8
  import './Business-BCoP0TAV.js';
9
9
  import './Dispute-7MWRbTXI.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
12
12
  import { P as PayoutService } from './payout.service-Ai1aEuFC.js';
13
13
  import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-CTPfsGKi.js';
@@ -17,7 +17,7 @@ import { N as tableHeadCell, O as getAlternateTableCellPart } from './parts-D3G5
17
17
  import './index-B9me4yN2.js';
18
18
  import './helpers-Mu7LQT-w.js';
19
19
  import './state-options-BX8GieXu.js';
20
- import './package-HMZ8vsvN.js';
20
+ import './package-CXbfqbl8.js';
21
21
  import './Api-DQM93PRm.js';
22
22
  import './spinner-D-vbFqC6.js';
23
23
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
4
4
  import { P as PayoutService } from './payout.service-Ai1aEuFC.js';
5
5
  import './config-state-BrllxiM0.js';
6
6
  import './utils-B7jE0g5_.js';
@@ -15,7 +15,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
15
15
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
16
16
  import './event-types-CZfYo5-1.js';
17
17
  import { d as defaultColumnsKeys } from './payouts-table-cgIXP54P.js';
18
- import './package-HMZ8vsvN.js';
18
+ import './package-CXbfqbl8.js';
19
19
  import './Api-DQM93PRm.js';
20
20
  import './index-B9me4yN2.js';
21
21
  import './helpers-Mu7LQT-w.js';
@@ -13,7 +13,7 @@ import { S as StyledHost } from './styled-host-B_XBaM7z.js';
13
13
  import './event-types-CZfYo5-1.js';
14
14
  import { P as PaymentService } from './payment.service-BnDr_9vX.js';
15
15
  import { m as makeGetPaymentDetails } from './get-payment-details-j8nOngzB.js';
16
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
16
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
17
17
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
18
18
  import { A as Api } from './Api-DQM93PRm.js';
19
19
  import { S as Skeleton } from './skeleton-CZfDofm6.js';
@@ -22,7 +22,7 @@ import './index-B9me4yN2.js';
22
22
  import './helpers-Mu7LQT-w.js';
23
23
  import './state-options-BX8GieXu.js';
24
24
  import './parts-D3G5aVLy.js';
25
- import './package-HMZ8vsvN.js';
25
+ import './package-CXbfqbl8.js';
26
26
 
27
27
  const amountValidation = (maxAmount) => {
28
28
  const max = +maxAmount;
@@ -7,14 +7,14 @@ import './Payment-Bs0-9Lnt.js';
7
7
  import './Business-BCoP0TAV.js';
8
8
  import './Dispute-7MWRbTXI.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
11
11
  import { c as checkoutStore } from './checkout.store-QrBBYQfi.js';
12
12
  import './config-state-BrllxiM0.js';
13
13
  import './index-B9me4yN2.js';
14
14
  import './utils-B7jE0g5_.js';
15
15
  import './helpers-Mu7LQT-w.js';
16
16
  import './state-options-BX8GieXu.js';
17
- import './package-HMZ8vsvN.js';
17
+ import './package-CXbfqbl8.js';
18
18
 
19
19
  const api = Api();
20
20
  class InsuranceService {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
2
2
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
3
3
  import './event-types-CZfYo5-1.js';
4
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
4
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
5
5
  import { d as defaultColumnsKeys } from './terminal-orders-table-CvK516_V.js';
6
6
  import './config-state-BrllxiM0.js';
7
7
  import './utils-B7jE0g5_.js';
@@ -13,7 +13,7 @@ import './Business-BCoP0TAV.js';
13
13
  import './Dispute-7MWRbTXI.js';
14
14
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
15
15
  import { A as Api } from './Api-DQM93PRm.js';
16
- import './package-HMZ8vsvN.js';
16
+ import './package-CXbfqbl8.js';
17
17
  import './parts-D3G5aVLy.js';
18
18
  import './badge-D-vrtiQR.js';
19
19
  import './index-B9me4yN2.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
4
4
  import { T as TerminalService } from './terminal.service-BLeBxTv4.js';
5
5
  import './config-state-BrllxiM0.js';
6
6
  import './utils-B7jE0g5_.js';
@@ -14,7 +14,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
14
14
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
15
15
  import './event-types-CZfYo5-1.js';
16
16
  import { d as defaultColumnsKeys } from './terminals-table-2QGQITkt.js';
17
- import './package-HMZ8vsvN.js';
17
+ import './package-CXbfqbl8.js';
18
18
  import './Api-DQM93PRm.js';
19
19
  import './index-B9me4yN2.js';
20
20
  import './helpers-Mu7LQT-w.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js'
2
2
  import { B as Button } from './button-DxM4-mlD.js';
3
3
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Ddp_kLM5.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C77xIlwV.js';
6
6
  import './config-state-BrllxiM0.js';
7
7
  import './utils-B7jE0g5_.js';
8
8
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
@@ -13,7 +13,7 @@ import './Business-BCoP0TAV.js';
13
13
  import './Dispute-7MWRbTXI.js';
14
14
  import { c as checkoutStore } from './checkout.store-QrBBYQfi.js';
15
15
  import './parts-D3G5aVLy.js';
16
- import './package-HMZ8vsvN.js';
16
+ import './package-CXbfqbl8.js';
17
17
  import './Api-DQM93PRm.js';
18
18
  import './index-B9me4yN2.js';
19
19
  import './helpers-Mu7LQT-w.js';
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.6-rc-16";
2
+ const version = "5.7.6-rc-17";
3
3
  var packageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -184,16 +184,22 @@ class ApplePayService {
184
184
  async validateMerchant(authToken, payload) {
185
185
  const endpoint = `${this.apiBaseUrl}/v1/apple_pay/merchant_session`;
186
186
  const body = payload;
187
+ console.log('=== MERCHANT VALIDATION REQUEST ===');
188
+ console.log('Endpoint:', endpoint);
189
+ console.log('Payload:', body);
190
+ console.log('Auth token present:', !!authToken);
191
+ console.log('Account ID:', this.accountId);
187
192
  const response = await fetch(endpoint, {
188
193
  method: 'POST',
189
194
  headers: {
190
195
  'Content-Type': 'application/json',
191
196
  Accept: 'application/json',
192
197
  Authorization: `Bearer ${authToken}`,
193
- "Sub-Account": this.accountId
198
+ 'Sub-Account': this.accountId,
194
199
  },
195
200
  body: JSON.stringify(body),
196
201
  });
202
+ console.log('Response status:', response.status);
197
203
  if (!response.ok) {
198
204
  const errorData = await response.text();
199
205
  console.error('Backend validation failed - Raw response:', errorData);
@@ -207,6 +213,7 @@ class ApplePayService {
207
213
  throw new Error(`Merchant validation failed: ${response.status}`);
208
214
  }
209
215
  const merchantSession = await response.json();
216
+ console.log('Merchant session received:', merchantSession);
210
217
  return merchantSession;
211
218
  }
212
219
  /**
@@ -221,7 +228,7 @@ class ApplePayService {
221
228
  'Content-Type': 'application/json',
222
229
  Accept: 'application/json',
223
230
  Authorization: `Bearer ${authToken}`,
224
- "Sub-Account": this.accountId
231
+ 'Sub-Account': this.accountId,
225
232
  },
226
233
  body: JSON.stringify(body),
227
234
  });
@@ -774,6 +781,10 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
774
781
  buttonType: this.buttonType,
775
782
  buttonStyle: this.buttonStyle,
776
783
  };
784
+ console.log('=== APPLE PAY CONFIG ===');
785
+ console.log('Config:', applePayConfig);
786
+ console.log('Auth token present:', !!checkoutStore.authToken);
787
+ console.log('Account ID:', checkoutStore.accountId);
777
788
  this.applePayService.setAccountId(checkoutStore.accountId);
778
789
  this.applePayService.initialize(applePayConfig);
779
790
  const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
@@ -811,13 +822,10 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
811
822
  this.isAvailable &&
812
823
  this.canMakePayments &&
813
824
  !this.error;
814
- return (h(StyledHost, { key: '627782068c729d8a2ed515957b0d1d30497c43fb' }, h("script", { key: '526abcdccd477a882c2087c1d9a2272edc24c759', async: true, onLoad: () => {
815
- console.log('Apple Pay SDK loaded');
816
- this.initializeApplePay();
817
- }, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: '29221d2d2c4ebc00ba0d27e428bdc2c26b9a3dff', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '9135d2ad9bfbcd3b84a687738d733c2b6d1c7a31', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: 'da6585c2eb35ab82aa1e21e3895dc379854a35b1', class: 'apple-pay-error', role: 'alert' }, h("span", { key: '4a3234ea9927e49bf3a8658c2800ae4baf2c8a2e', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '13627e68c6132fed6e08558386995e660f78b01b', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: 'db9167ed16f32614610f2168d25e5a4643e22879', class: 'apple-pay-unavailable' }, h("span", { key: 'f09c6e9d8325fb324dfc537edf51d80f800588a9', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
825
+ return (h(StyledHost, { key: '1067306dfa050d5c89d9bc64991c4a8e95427b3e' }, h("script", { key: '737e6d849fffc8902867dfa8a68d18f0da81f4fd', async: true, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: 'b354353c65d7f56db82c61ff088ed1d37eea905b', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '82d80ec54612e57b7a1eef76925194659e3186bb', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '0b5923bfbc3d0616fee8de4fd43b149810b91ca4', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'f3a885c30fee6375becfa53c147895db58ab1336', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '3a5ff8b3f89c46092fe41a04eb9dd635fe959d34', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '1a5ad2a2ed7e748dab98e66dca56b337991ef648', class: 'apple-pay-unavailable' }, h("span", { key: '7684e951c36278404e15b8497e9c74ffeb2cb992', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
818
826
  !this.error &&
819
827
  this.isAvailable &&
820
- this.canMakePayments && (h(ApplePayButton, { key: '2e7c23547883e165edea0ffb776e49007b8d82a1', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '99c32299d475bcbb8a093505c9254de4ab87145f' }, `
828
+ this.canMakePayments && (h(ApplePayButton, { key: '94c75b7ab68f8ff02e4953689de8931cb5aab1f2', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'acdef8691d85e319fc0ab548443173f2bd32029d' }, `
821
829
  .apple-pay-container {
822
830
  width: 100%;
823
831
  }
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.6-rc-16";
2
+ const version = "5.7.6-rc-17";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-kpoIU4v_.js";import{C as e,a as r}from"./p-Cjcsf8ku.js";import{c as o,J as p}from"./p-CDmdt8BH.js";import{a}from"./p-7MWRbTXI.js";import{g as n,a as h}from"./p-D2muobcE.js";import{D as m}from"./p-DiWKhLRS.js";import"./p-HMZ8vsvN.js";import"./p-Dj1uo4J3.js";import"./p-9y5MOK55.js";import"./p-7WIgS5RM.js";import"./p-B7jE0g5_.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const u=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){o(),this.analytics=new p(this),this.initializeGetDispute()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:s,service:i})=>async({onSuccess:r,onError:o})=>{var p;try{const m=await i.fetchDispute(t,s);if(m.error)return o({error:h(m.error),code:n(null===(p=m.error)||void 0===p?void 0:p.code),severity:e.ERROR});{const t=Object.assign({},m.page_info);r({dispute:new a(m.data),pagingInfo:t})}}catch(t){const s=n(null==t?void 0:t.code);return o({error:t.message||t,code:s,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new m}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return i("justifi-dispute-management-core",{key:"4087eb105a046a3cc194d9f25c80fa11298fa0a2",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_dispute_management}
1
+ import{r as t,c as s,h as i}from"./p-kpoIU4v_.js";import{C as e,a as r}from"./p-Cjcsf8ku.js";import{c as o,J as p}from"./p-Dd5ABBzD.js";import{a}from"./p-7MWRbTXI.js";import{g as n,a as h}from"./p-D2muobcE.js";import{D as u}from"./p-DiWKhLRS.js";import"./p-CXbfqbl8.js";import"./p-Dj1uo4J3.js";import"./p-9y5MOK55.js";import"./p-7WIgS5RM.js";import"./p-B7jE0g5_.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const c=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){o(),this.analytics=new p(this),this.initializeGetDispute()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:s,service:i})=>async({onSuccess:r,onError:o})=>{var p;try{const u=await i.fetchDispute(t,s);if(u.error)return o({error:h(u.error),code:n(null===(p=u.error)||void 0===p?void 0:p.code),severity:e.ERROR});{const t=Object.assign({},u.page_info);r({dispute:new a(u.data),pagingInfo:t})}}catch(t){const s=n(null==t?void 0:t.code);return o({error:t.message||t,code:s,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new u}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return i("justifi-dispute-management-core",{key:"4087eb105a046a3cc194d9f25c80fa11298fa0a2",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{c as justifi_dispute_management}