@frontegg/redux-store 5.71.0 → 5.72.2
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/node/auth/index.js +1 -1
- package/node/{index-85c05bdb.js → index-b3622c8e.js} +0 -0
- package/node/index.js +1 -1
- package/node/subscriptions/index.js +186 -140
- package/node/toolkit/index.js +1 -1
- package/package.json +2 -2
- package/subscriptions/VendorPublicConfig/index.d.ts +10 -0
- package/subscriptions/VendorPublicConfig/interfaces.d.ts +10 -0
- package/subscriptions/VendorPublicConfig/saga.d.ts +2 -0
- package/subscriptions/dummy.d.ts +2 -1
- package/subscriptions/index.d.ts +7 -0
- package/subscriptions/index.js +186 -140
- package/subscriptions/interfaces.d.ts +4 -0
- package/subscriptions/reducer.d.ts +7 -0
|
@@ -3,12 +3,14 @@ import { BillingActions, BillingState } from './Billing/interfaces';
|
|
|
3
3
|
import { PlansActions, PlansState } from './Plans/interfaces';
|
|
4
4
|
import { PaymentProviderConfigActions, PaymentProviderConfigState } from './Config/interfaces';
|
|
5
5
|
import { StripeActions, StripeState } from './Stripe/interfaces';
|
|
6
|
+
import { VendorPublicConfigurationActions, VendorPublicConfigurationState } from './VendorPublicConfig/interfaces';
|
|
6
7
|
export interface SubscriptionsState {
|
|
7
8
|
config: PaymentProviderConfigState;
|
|
8
9
|
billing: BillingState;
|
|
9
10
|
plans: PlansState;
|
|
10
11
|
checkout: CheckoutState;
|
|
11
12
|
stripe: StripeState;
|
|
13
|
+
vendorPublicConfig: VendorPublicConfigurationState;
|
|
12
14
|
}
|
|
13
15
|
export declare type SubscriptionsActions = {
|
|
14
16
|
config: PaymentProviderConfigActions;
|
|
@@ -16,6 +18,7 @@ export declare type SubscriptionsActions = {
|
|
|
16
18
|
plans: PlansActions;
|
|
17
19
|
checkout: CheckoutActions;
|
|
18
20
|
stripe: StripeActions;
|
|
21
|
+
vendorPublicConfig: VendorPublicConfigurationActions;
|
|
19
22
|
};
|
|
20
23
|
export * from './general.interfaces';
|
|
21
24
|
export * from './Checkout/interfaces';
|
|
@@ -23,3 +26,4 @@ export * from './Billing/interfaces';
|
|
|
23
26
|
export * from './Plans/interfaces';
|
|
24
27
|
export * from './Config/interfaces';
|
|
25
28
|
export * from './Stripe/interfaces';
|
|
29
|
+
export * from './VendorPublicConfig/interfaces';
|
|
@@ -81,6 +81,12 @@ declare const actions: {
|
|
|
81
81
|
loadCustomer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
82
82
|
createCardSetupIntentSecret: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, string>;
|
|
83
83
|
};
|
|
84
|
+
vendorPublicConfig: {
|
|
85
|
+
setLoading: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[boolean], boolean, string, never, never>;
|
|
86
|
+
setError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string | null], string | null, string, never, never>;
|
|
87
|
+
setState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./interfaces").VendorPublicConfigurationState>], Partial<import("./interfaces").VendorPublicConfigurationState>, string, never, never>;
|
|
88
|
+
loadVendorPublicConfiguration: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
89
|
+
};
|
|
84
90
|
};
|
|
85
91
|
declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
86
92
|
config: import("./interfaces").PaymentProviderConfigState;
|
|
@@ -88,5 +94,6 @@ declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
88
94
|
plans: import("./interfaces").PlansState;
|
|
89
95
|
checkout: import("./interfaces").CheckoutState;
|
|
90
96
|
stripe: import("./interfaces").StripeState;
|
|
97
|
+
vendorPublicConfig: import("./interfaces").VendorPublicConfigurationState;
|
|
91
98
|
}>, import("redux").AnyAction>;
|
|
92
99
|
export { subscriptionsStoreName as name, reducer, actions };
|