Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Revert js exports to what they were before #255

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

runticle
Copy link
Contributor

Revert back to this

import _PaymentRequest from './PaymentRequest';
import { PKPaymentButton } from './PKPaymentButton';

export const ApplePayButton = PKPaymentButton;
export const PaymentRequest = _PaymentRequest;

from

import { PKPaymentButton } from './PKPaymentButton';

export { default as PaymentRequest } from './PaymentRequest';
export const ApplePayButton = PKPaymentButton;

@nabilfreeman
Copy link
Collaborator

Thanks, I think this is to do with Babel version in your project being older than the one in this repo. Let's switch it back for wider compatibility!

Copy link
Collaborator

@nabilfreeman nabilfreeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merge once tests pass

@nabilfreeman nabilfreeman merged commit 6dc67cc into naoufal:master Nov 19, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants