Skip to content

Commit

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

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent 929e6ac commit 25bd578
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion libs/customer-payment/src/injection-tokens/public_api.ts

This file was deleted.

1 change: 0 additions & 1 deletion libs/customer-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';
6 changes: 2 additions & 4 deletions libs/customer-payment/state/src/effects/payment.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ import {

import { DaffError } from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';
import {
DaffCustomerPayment,
DAFF_CUSTOMER_PAYMENT_ERROR_MATCHER,
} from '@daffodil/customer-payment';
import { DaffCustomerPayment } from '@daffodil/customer-payment';
import {
DaffCustomerPaymentDriver,
DaffCustomerPaymentDriverInterface,
Expand All @@ -44,6 +41,7 @@ import {
DaffCustomerPaymentListSuccess,
DaffCustomerPaymentActions,
} from '../actions/payment.actions';
import { DAFF_CUSTOMER_PAYMENT_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffCustomerPaymentEffects<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export {
daffPaymentProvideAvailableProcessors,
} from './available-transforms.token';
export { DAFF_CUSTOMER_PAYMENT_REQUEST_TRANSFORM_COLLECTION } from './transform-collection.token';
export { DAFF_CUSTOMER_PAYMENT_ERROR_MATCHER } from './error-matcher.token';
1 change: 1 addition & 0 deletions libs/customer-payment/state/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export * from './reducers/public_api';
export * from './selectors/public_api';
export * from './facades/public_api';
export * from './models/public_api';
export * from './injection-tokens/public_api';

export * from './state.module';

0 comments on commit 25bd578

Please sign in to comment.