@goweekdays/core 2.11.6 → 2.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @goweekdays/core
|
|
2
2
|
|
|
3
|
+
## 2.11.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 327e627: Fix next billing date calculation in subscription service
|
|
8
|
+
|
|
9
|
+
## 2.11.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 635486e: remove finance module as dependency
|
|
14
|
+
|
|
3
15
|
## 2.11.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -8597,7 +8597,7 @@ function useSubscriptionService() {
|
|
|
8597
8597
|
throw new import_utils44.BadRequestError("User is not a member of the organization.");
|
|
8598
8598
|
}
|
|
8599
8599
|
const nextBillingDate = /* @__PURE__ */ new Date();
|
|
8600
|
-
nextBillingDate.
|
|
8600
|
+
nextBillingDate.setDate(nextBillingDate.getDate() + 30);
|
|
8601
8601
|
const { subscriptionAmount, currency } = await computeFee({
|
|
8602
8602
|
seats: value.seats,
|
|
8603
8603
|
promoCode: value.promoCode,
|