From 999cff35cf6b72ea0703bdc3874299b14ecae28d Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Fri, 8 Oct 2021 12:15:11 +0200 Subject: [PATCH] Supported repeating Offers for monthly Cadence refs https://github.com/TryGhost/Team/issues/1083 Offers with a "repeating" duration will repeat for a number of months. These offers are restricted to the monthly Cadence. This updates the members-offers module to add support for them. --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f6576862ea..220ef5cf21 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@tryghost/members-api": "2.1.0", "@tryghost/members-csv": "1.1.7", "@tryghost/members-importer": "0.3.3", - "@tryghost/members-offers": "0.3.5", + "@tryghost/members-offers": "0.4.0", "@tryghost/members-ssr": "1.0.14", "@tryghost/mw-session-from-token": "0.1.25", "@tryghost/nodemailer": "0.3.3", diff --git a/yarn.lock b/yarn.lock index 5edaf890b0..81dbc2b31b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1596,10 +1596,10 @@ "@tryghost/tpl" "^0.1.3" moment-timezone "0.5.23" -"@tryghost/members-offers@0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.3.5.tgz#0ce70dcec35f4e5191d68d9e26a81b9e06a6ae63" - integrity sha512-MlgzYnVq/MzTgvKFw8r58hshBm20wGWeIZO54Al2oQ5tIlFeBjYc5IPfze5KYoBjcWNeIZG/0fOs7NFZmjc4gQ== +"@tryghost/members-offers@0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@tryghost/members-offers/-/members-offers-0.4.0.tgz#76c1eb67abbd3598d8603d4d028b907484e27cb5" + integrity sha512-S2ncT3Yz5O8hhLUKDy6yM+t+f2TbtQbKZD6XGKbLq3UoPtQdPnGETo+Wp845newNIlhDl22Ykf9d1cVWrrpmuw== dependencies: "@tryghost/string" "^0.1.20"