payment-kit 1.24.2 → 1.24.3

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.
@@ -10,8 +10,8 @@ import {
10
10
  creditConsumptionCronTime,
11
11
  depositVaultCronTime,
12
12
  expiredSessionCleanupCronTime,
13
- meteringSubscriptionDetectionCronTime,
14
13
  notificationCronTime,
14
+ overdueDetectionCronTime,
15
15
  paymentStatCronTime,
16
16
  revokeStakeCronTime,
17
17
  stripeInvoiceCronTime,
@@ -27,7 +27,7 @@ import { startDepositVaultQueue } from '../queues/payment';
27
27
  import { startSubscriptionQueue } from '../queues/subscription';
28
28
  import { startVendorStatusCheckSchedule } from '../queues/vendors/status-check';
29
29
  import { CheckoutSession } from '../store/models';
30
- import { createMeteringSubscriptionDetection } from './metering-subscription-detection';
30
+ import { createOverdueDetection } from './overdue-detection';
31
31
  import { createPaymentStat } from './payment-stat';
32
32
  import { SubscriptionTrialWillEndSchedule } from './subscription-trial-will-end';
33
33
  import { SubscriptionWillCanceledSchedule } from './subscription-will-canceled';
@@ -102,9 +102,9 @@ function init() {
102
102
  options: { runOnInit: false },
103
103
  },
104
104
  {
105
- name: 'metering.subscription.detection',
106
- time: meteringSubscriptionDetectionCronTime,
107
- fn: () => createMeteringSubscriptionDetection(),
105
+ name: 'payment.daily.report',
106
+ time: overdueDetectionCronTime,
107
+ fn: () => createOverdueDetection(),
108
108
  options: { runOnInit: false },
109
109
  },
110
110
  {