Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feat(Mollie): Prevent duplicate payments #2691

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(core): Export order state machine
  • Loading branch information
martijnvdbrug committed Feb 14, 2024
commit 138d9fffd4c12080b774d1486a6e39d934020051
1 change: 1 addition & 0 deletions packages/core/src/service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * from './helpers/order-merger/order-merger';
export * from './helpers/order-modifier/order-modifier';
export * from './helpers/order-splitter/order-splitter';
export * from './helpers/order-state-machine/order-state';
export * from './helpers/order-state-machine/order-state-machine';
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Without this, this.injector.get(OrderStateMachine); in the Mollie service throws an error.

Copy link
Member

Choose a reason for hiding this comment

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

it throws an error if you use a deep import to this?

@vendure/core/dist/service/helpers/order-state-machine/order-state-machine

weird, but ok - it's worth exposing anyway.

export * from './helpers/password-cipher/password-cipher';
export * from './helpers/payment-state-machine/payment-state';
export * from './helpers/product-price-applicator/product-price-applicator';
Expand Down