@automattic/calypso-products
Version:
This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.
12 lines • 631 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getJetpackProductWhatIsIncludedComingSoon = getJetpackProductWhatIsIncludedComingSoon;
const translations_1 = require("./translations");
/**
* Get Jetpack product "Includes" that are coming soon based on the product purchase object.
*/
function getJetpackProductWhatIsIncludedComingSoon(product) {
const jetpackProductsIncludesInfo = (0, translations_1.getJetpackProductsWhatIsIncludedComingSoon)();
return jetpackProductsIncludesInfo[product.product_slug];
}
//# sourceMappingURL=get-jetpack-product-what-is-included-coming-soon.js.map