UNPKG

@shopify/shopify-app-remix

Version:

Shopify Remix - to simplify the building of Shopify Apps with Remix

16 lines (13 loc) 782 B
'use strict'; function logDisabledFutureFlags(config, logger) { const logFlag = (flag, message) => logger.info(`Future flag ${flag} is disabled.\n\n ${message}\n`); if (!config.future.unstable_newEmbeddedAuthStrategy) { logFlag('unstable_newEmbeddedAuthStrategy', 'Enable this to use OAuth token exchange instead of auth code to generate API access tokens.' + '\n Your app must be using Shopify managed install: https://shopify.dev/docs/apps/auth/installation'); } if (!config.future.wip_optionalScopesApi) { logFlag('wip_optionalScopesApi', 'Enable this to use the optionalScopes API to request additional scopes and manage them. '); } } exports.logDisabledFutureFlags = logDisabledFutureFlags; //# sourceMappingURL=flags.js.map