diff --git a/package.json b/package.json index c82e71e..8f5f2c2 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "*.{js,jsx,ts,tsx}": "eslint --fix --max-warnings 0" }, "dependencies": { - "@boldcommerce/checkout-frontend-library": "0.57.1", + "@boldcommerce/checkout-frontend-library": "0.58.0", "@paypal/paypal-js": "^7.0.1", "@types/applepayjs": "^3.0.4", "@types/googlepay": "^0.6.4" diff --git a/tests/initialize/initialize.test.ts b/tests/initialize/initialize.test.ts index 5f93190..773fd7b 100644 --- a/tests/initialize/initialize.test.ts +++ b/tests/initialize/initialize.test.ts @@ -121,6 +121,7 @@ describe('testing initialize function', () => { apple_pay_enabled: true, partner_id: 'somePartnerId', merchant_id: 'someMerchantId', + fastlane_styles: {} }; const orderInitData = {...initData, alternative_payment_methods: [ppcpPayment]}; diff --git a/tests/paypal/initPpcp.test.ts b/tests/paypal/initPpcp.test.ts index b193bea..898bdc2 100644 --- a/tests/paypal/initPpcp.test.ts +++ b/tests/paypal/initPpcp.test.ts @@ -79,6 +79,7 @@ describe('testing initPpcp function', () => { apple_pay_enabled: true, merchant_id: 'someClientId', partner_id: 'somePartnerId', + fastlane_styles: {} }; const payments = {...orderInitialDataMock}; diff --git a/tests/paypal/managePaypalState.test.ts b/tests/paypal/managePaypalState.test.ts index d527263..b5d55a3 100644 --- a/tests/paypal/managePaypalState.test.ts +++ b/tests/paypal/managePaypalState.test.ts @@ -116,6 +116,7 @@ describe('testing managePaypalState functions', () => { apple_pay_enabled: true, partner_id: 'somePartnerId', merchant_id: 'someMerchantId', + fastlane_styles: {} }; test('testing call setPPCPAppleCredentials with mock', async () => { diff --git a/tests/paypal/ppcp_apple/initPPCPApple.test.ts b/tests/paypal/ppcp_apple/initPPCPApple.test.ts index 870d6ca..970537c 100644 --- a/tests/paypal/ppcp_apple/initPPCPApple.test.ts +++ b/tests/paypal/ppcp_apple/initPPCPApple.test.ts @@ -38,6 +38,7 @@ describe('testing initPPCPApple function', () => { apple_pay_enabled: true, partner_id: 'somePartnerId', merchant_id: 'someMerchantId', + fastlane_styles: {} }; const paypalNameSpaceMock: PayPalNamespace = {version: 'test_mock_version'}; const paypalScriptOptions: PayPalScriptOptions = { @@ -124,6 +125,7 @@ describe('testing initPPCPApple function', () => { apple_pay_enabled: false, partner_id: 'somePartnerId', merchant_id: 'someMerchantId', + fastlane_styles: {} }; await initPPCPApple(ppcpPaymentAppleDisabled); diff --git a/yarn.lock b/yarn.lock index e77fa09..51877d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -302,10 +302,10 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@boldcommerce/checkout-frontend-library@0.57.1": - version "0.57.1" - resolved "https://registry.yarnpkg.com/@boldcommerce/checkout-frontend-library/-/checkout-frontend-library-0.57.1.tgz#6ce909e4c796bf07a2190cbd502df06649e34810" - integrity sha512-TVqaO1rmD9LmaS/VhdwmDrdWYjgHdeiW361UFmitU+PdY0qRbKIeGNzi6I7VYMmr6QlzQEjTzlucui5K1+tvKA== +"@boldcommerce/checkout-frontend-library@0.58.0": + version "0.58.0" + resolved "https://registry.yarnpkg.com/@boldcommerce/checkout-frontend-library/-/checkout-frontend-library-0.58.0.tgz#ba099d2c15430612baf8b96ebed312725bb708e3" + integrity sha512-Jn8g0HCnPZZ03J1Xkpm32hXuXty/xWFGaBSSMG+0BqCtpzEJ4nneSxangjI0GA55kiQjyNfTtFfTFyJ7oTeZXw== "@cspotcode/source-map-support@^0.8.0": version "0.8.1"