@osovitny/anatoly 3.17.120 → 3.17.122
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/esm2022/lib/billing/components/buttons/subscribe-plan-button.component.mjs +9 -9
- package/esm2022/lib/data/services/billing/subscriptions-api.service.mjs +15 -3
- package/fesm2022/osovitny-anatoly.mjs +22 -10
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/billing/components/buttons/subscribe-plan-button.component.d.ts +2 -2
- package/lib/billing/components/index.d.ts +1 -1
- package/lib/data/services/billing/subscriptions-api.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ export declare class SubscribePlanButtonComponent implements OnInit {
|
|
|
5
5
|
private appContext;
|
|
6
6
|
contextUpdated: boolean;
|
|
7
7
|
isUserSignedIn: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
currentPlanId: number;
|
|
9
|
+
requestedPlanId: number;
|
|
10
10
|
plan: number;
|
|
11
11
|
visibleIfUserSignedIn: boolean;
|
|
12
12
|
planselect: EventEmitter<any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BuyAccessButtonComponent, SubscribePlanButtonComponent, OrderSummaryComponent, PaymentMethodsComponent, PaymentOptionsComponent, BraintreeDialog, PaypalButtonComponent, PayPalComponent, StripeDialog } from "./exports";
|
|
2
|
-
export declare const COMPONENTS: (typeof
|
|
2
|
+
export declare const COMPONENTS: (typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof OrderSummaryComponent | typeof PaymentMethodsComponent | typeof PaymentOptionsComponent | typeof BraintreeDialog | typeof PaypalButtonComponent | typeof PayPalComponent | typeof StripeDialog)[];
|
|
@@ -6,7 +6,8 @@ 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(
|
|
9
|
+
addSubscription(subscriptionProvider: any, currentSubscriptionId: any, newSubscriptionId: any, planId: any, success?: Function, error?: Function): void;
|
|
10
|
+
cancelSubscription(subscriptionProvider: any, subscriptionId: any, success?: Function, error?: Function): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsApiService, never>;
|
|
11
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionsApiService>;
|
|
12
13
|
}
|