@shopgate/engage
Version:
Shopgate's ENGAGE library.
10 lines (9 loc) • 346 B
JavaScript
import { main$ } from '@shopgate/pwa-common/streams';
import { SUCCESS_REGISTRATION } from "../constants/actionTypes";
/**
* Gets triggered when registration was successful via the shopgate.user.register pipeline
* @type {Observable}
*/
export const registrationSuccess$ = main$.filter(({
action
}) => action.type === SUCCESS_REGISTRATION);