Skip to content

Commit

Permalink
feat(paypal)!: 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 88bf320 commit 4b2b04e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion libs/paypal/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './models/public_api';
export * from './injection-tokens/public_api';
export * from './constants/public_api';
2 changes: 1 addition & 1 deletion libs/paypal/state/src/effects/paypal.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { ErrorTransformer } from '@daffodil/core/state';
import {
DaffPaypalExpressTokenRequest,
DaffPaypalExpressTokenResponse,
DAFF_PAYPAL_ERROR_MATCHER,
} from '@daffodil/paypal';
import {
DaffPaypalExpressDriver,
Expand All @@ -38,6 +37,7 @@ import {
DaffGeneratePaypalExpressTokenSuccess,
DaffGeneratePaypalExpressTokenFailure,
} from '../actions/paypal.actions';
import { DAFF_PAYPAL_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffPaypalEffects<T extends DaffPaypalExpressTokenRequest, V extends DaffPaypalExpressTokenResponse>{
Expand Down
1 change: 1 addition & 0 deletions libs/paypal/state/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export { DaffPaypalStateModule } from './paypal-state.module';
export { DaffPaypalPaymentStateModule } from './payment-state.module';

export * from './reducers/public_api';
export * from './injection-tokens/public_api';

0 comments on commit 4b2b04e

Please sign in to comment.