@osovitny/anatoly 3.17.119 → 3.17.120

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.
@@ -1,2 +1,2 @@
1
1
  import { BuyAccessButtonComponent, SubscribePlanButtonComponent, OrderSummaryComponent, PaymentMethodsComponent, PaymentOptionsComponent, BraintreeDialog, PaypalButtonComponent, PayPalComponent, StripeDialog } from "./exports";
2
- export declare const COMPONENTS: (typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof OrderSummaryComponent | typeof PaymentMethodsComponent | typeof PaymentOptionsComponent | typeof BraintreeDialog | typeof PaypalButtonComponent | typeof PayPalComponent | typeof StripeDialog)[];
2
+ export declare const COMPONENTS: (typeof PaypalButtonComponent | typeof PaymentOptionsComponent | typeof PaymentMethodsComponent | typeof OrderSummaryComponent | typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof BraintreeDialog | typeof PayPalComponent | typeof StripeDialog)[];
@@ -27,3 +27,7 @@ export declare enum PaymentStage {
27
27
  External = 1,
28
28
  Internal = 2
29
29
  }
30
+ export declare enum SubscriptionProvider {
31
+ PayPal = 1,
32
+ Stripe = 2
33
+ }
@@ -6,7 +6,7 @@ export declare class SubscriptionsApiService extends ApiServiceBase {
6
6
  protected http: HttpClient;
7
7
  constructor(http: HttpClient);
8
8
  getSubscriptions(data: any): Observable<any[]>;
9
- addSubscription(billingPlan: any, currentSubscriptionId: any, newSubscriptionId: any, success?: Function, error?: Function): void;
9
+ addSubscription(planId: any, subscriptionProvider: any, currentSubscriptionId: any, newSubscriptionId: any, success?: Function, error?: Function): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsApiService, never>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionsApiService>;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.17.119",
3
+ "version": "3.17.120",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.1.2",
6
6
  "@angular/core": "17.1.2",