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