Skip to content

Commit

Permalink
feat(payment)!: move error matcher injection token to state subpackage (
Browse files Browse the repository at this point in the history
#2645)

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent 876d005 commit 88bf320
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions libs/cart/state/src/effects/cart-payment-processor.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@ import {
} from '@daffodil/cart/driver';
import { catchAndArrayifyErrors } from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';
import {
DaffPaymentResponse,
DAFF_PAYMENT_ERROR_MATCHER,
} from '@daffodil/payment';
import { DaffPaymentResponse } from '@daffodil/payment';
import {
DAFF_PAYMENT_PROCESSOR_COLLECTION,
DaffPaymentProcessorCollection,
DaffPaymentGenerateToken,
DaffPaymentGenerateTokenFailure,
DAFF_PAYMENT_ERROR_MATCHER,
} from '@daffodil/payment/state';

import {
Expand Down
1 change: 0 additions & 1 deletion libs/payment/src/injection-tokens/public_api.ts

This file was deleted.

1 change: 0 additions & 1 deletion libs/payment/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './models/public_api';
export * from './injection-tokens/public_api';
1 change: 1 addition & 0 deletions libs/payment/state/src/injection-tokens/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export {
daffPaymentProvideAvailableProcessors,
} from './available-processors.token';
export { DAFF_PAYMENT_PROCESSOR_COLLECTION } from './processor-collection.token';
export { DAFF_PAYMENT_ERROR_MATCHER } from './error-matcher.token';

0 comments on commit 88bf320

Please sign in to comment.