@mindly/ui-components 8.5.6 → 8.5.7

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.
@@ -13,4 +13,5 @@ export type SessionPreviewFeatureProps = {
13
13
  onSessionStart?(session: Session | SessionQueue): void;
14
14
  rateSessionCallback?: (session: Session | SessionQueue) => void;
15
15
  onUpdateSubscription?: (session: Session | SessionQueue) => void;
16
+ getSubscriptionRemainingBalance?: (session: Session | SessionQueue) => number;
16
17
  };
@@ -20,6 +20,7 @@ export type SessionsWidgetProps = {
20
20
  onRecurringSessionClick?(recurringSession: RecurringSession): void;
21
21
  onScheduleSession?(): void;
22
22
  onUpdateSubscription?(session: Session): void;
23
+ getSubscriptionRemainingBalance?: (session: Session) => number;
23
24
  t?: WithTranslation['t'];
24
25
  timeZone?: string;
25
26
  };
package/dist/index.d.ts CHANGED
@@ -3467,6 +3467,7 @@ type SessionPreviewFeatureProps = {
3467
3467
  onSessionStart?(session: Session | SessionQueue): void;
3468
3468
  rateSessionCallback?: (session: Session | SessionQueue) => void;
3469
3469
  onUpdateSubscription?: (session: Session | SessionQueue) => void;
3470
+ getSubscriptionRemainingBalance?: (session: Session | SessionQueue) => number;
3470
3471
  };
3471
3472
 
3472
3473
  declare const SessionPreviewFeature: React__default.FC<SessionPreviewFeatureProps>;
@@ -4295,6 +4296,7 @@ type SessionsWidgetProps = {
4295
4296
  onRecurringSessionClick?(recurringSession: RecurringSession): void;
4296
4297
  onScheduleSession?(): void;
4297
4298
  onUpdateSubscription?(session: Session): void;
4299
+ getSubscriptionRemainingBalance?: (session: Session) => number;
4298
4300
  t?: WithTranslation['t'];
4299
4301
  timeZone?: string;
4300
4302
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "8.5.6",
3
+ "version": "8.5.7",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",