Skip to content

Commit

Permalink
[INTER-3203] Fix missing changes from frontend version bump (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfalkowski11 authored May 29, 2024
1 parent 2c10e7e commit 102d597
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions tests/initialize/initialize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]};
Expand Down
1 change: 1 addition & 0 deletions tests/paypal/initPpcp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ describe('testing initPpcp function', () => {
apple_pay_enabled: true,
merchant_id: 'someClientId',
partner_id: 'somePartnerId',
fastlane_styles: {}
};

const payments = {...orderInitialDataMock};
Expand Down
1 change: 1 addition & 0 deletions tests/paypal/managePaypalState.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
2 changes: 2 additions & 0 deletions tests/paypal/ppcp_apple/initPPCPApple.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -124,6 +125,7 @@ describe('testing initPPCPApple function', () => {
apple_pay_enabled: false,
partner_id: 'somePartnerId',
merchant_id: 'someMerchantId',
fastlane_styles: {}
};

await initPPCPApple(ppcpPaymentAppleDisabled);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 102d597

Please sign in to comment.