@shopify/shopify-api
Version:
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
16 lines (13 loc) • 546 B
JavaScript
import { decodeSessionToken } from './decode-session-token.mjs';
import { getJwtSessionId, getOfflineId, getCurrentSessionId, customAppSession } from './session-utils.mjs';
function shopifySession(config) {
return {
customAppSession: customAppSession(config),
getCurrentId: getCurrentSessionId(config),
getOfflineId: getOfflineId(config),
getJwtSessionId: getJwtSessionId(config),
decodeSessionToken: decodeSessionToken(config),
};
}
export { shopifySession };
//# sourceMappingURL=index.mjs.map