Skip to content

Commit

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

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent 81ac05a commit 7eb96a4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/cart-customer/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './injection-tokens/public_api';
export {};
3 changes: 2 additions & 1 deletion libs/cart-customer/state/src/effects/auth.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ import {
DaffResolveCartSuccess,
DaffResolveCartFailure,
} from '@daffodil/cart/state';
import { DAFF_CART_CUSTOMER_ERROR_MATCHER } from '@daffodil/cart-customer';
import { DaffError } from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';

import { DAFF_CART_CUSTOMER_ERROR_MATCHER } from '../injection-tokens/public_api';

/**
* Handles merging and creating carts in response to auth actions.
*/
Expand Down
1 change: 1 addition & 0 deletions libs/cart-customer/state/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { DaffCartCustomerStateModule } from './state.module';
export * from './injection-tokens/public_api';

0 comments on commit 7eb96a4

Please sign in to comment.