@shopify/shopify-app-react-router
Version:
Shopify React Router - to simplify the building of Shopify Apps with React Router
21 lines (17 loc) • 799 B
JavaScript
var authenticate$2 = require('./checkout/authenticate.js');
var authenticate$1 = require('./appProxy/authenticate.js');
var authenticate = require('./customer-account/authenticate.js');
function authenticatePublicFactory(params) {
const authenticateCheckout = authenticate$2.authenticateCheckoutFactory(params);
const authenticateAppProxy = authenticate$1.authenticateAppProxyFactory(params);
const authenticateCustomerAccount = authenticate.authenticateCustomerAccountFactory(params);
const context = {
checkout: authenticateCheckout,
appProxy: authenticateAppProxy,
customerAccount: authenticateCustomerAccount,
};
return context;
}
exports.authenticatePublicFactory = authenticatePublicFactory;
//# sourceMappingURL=factory.js.map
;