@shopify/shopify-app-react-router
Version:
Shopify React Router - to simplify the building of Shopify Apps with React Router
19 lines (16 loc) • 771 B
JavaScript
import { authenticateCheckoutFactory } from './checkout/authenticate.mjs';
import { authenticateAppProxyFactory } from './appProxy/authenticate.mjs';
import { authenticateCustomerAccountFactory } from './customer-account/authenticate.mjs';
function authenticatePublicFactory(params) {
const authenticateCheckout = authenticateCheckoutFactory(params);
const authenticateAppProxy = authenticateAppProxyFactory(params);
const authenticateCustomerAccount = authenticateCustomerAccountFactory(params);
const context = {
checkout: authenticateCheckout,
appProxy: authenticateAppProxy,
customerAccount: authenticateCustomerAccount,
};
return context;
}
export { authenticatePublicFactory };
//# sourceMappingURL=factory.mjs.map