@frontegg/redux-store 5.37.0 → 5.39.0

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.
@@ -82,9 +82,7 @@ const { reducer: reducer$6, actions: overviewActions$1, name: name$5, } = toolki
82
82
  initialState: initialSubscriptionState,
83
83
  reducers: reducers$5,
84
84
  });
85
- const actions$6 = Object.assign({ load: toolkit.createAction(`${name$5}/loadSubscription`, (payload) => ({
86
- payload,
87
- })), cancelSubscription: toolkit.createAction(`${name$5}/cancelSubscription`), renewSubscription: toolkit.createAction(`${name$5}/renewSubscription`) }, overviewActions$1);
85
+ const actions$6 = Object.assign({ load: toolkit.createAction(`${name$5}/loadSubscription`), cancelSubscription: toolkit.createAction(`${name$5}/cancelSubscription`), renewSubscription: toolkit.createAction(`${name$5}/renewSubscription`) }, overviewActions$1);
88
86
 
89
87
  const initialBillingInformationState = {
90
88
  loading: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
3
  "libName": "FronteggReduxStore",
4
- "version": "5.37.0",
4
+ "version": "5.39.0",
5
5
  "author": "Frontegg LTD",
6
6
  "main": "./node/index.js",
7
7
  "module": "./index.js",
@@ -9,7 +9,7 @@ declare const actions: {
9
9
  setLoading: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[boolean], boolean, string, never, never>;
10
10
  setError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string | null], string | null, string, never, never>;
11
11
  setState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<SubscriptionState>], Partial<SubscriptionState>, string, never, never>;
12
- load: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string], string, string, never, never>;
12
+ load: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
13
13
  cancelSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
14
14
  renewSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
15
15
  };
@@ -14,5 +14,5 @@ export interface SubscriptionState {
14
14
  };
15
15
  }
16
16
  export interface SubscriptionActions {
17
- load: (tenantId: string) => void;
17
+ load: () => void;
18
18
  }
@@ -46,7 +46,7 @@ export declare const billingActions: {
46
46
  setLoading: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[boolean], boolean, string, never, never>;
47
47
  setError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string | null], string | null, string, never, never>;
48
48
  setState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./interfaces").SubscriptionState>], Partial<import("./interfaces").SubscriptionState>, string, never, never>;
49
- load: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string], string, string, never, never>;
49
+ load: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
50
50
  cancelSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
51
51
  renewSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
52
52
  };
@@ -65,7 +65,7 @@ declare const _default: {
65
65
  setLoading: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[boolean], boolean, string, never, never>;
66
66
  setError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string | null], string | null, string, never, never>;
67
67
  setState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./interfaces").SubscriptionState>], Partial<import("./interfaces").SubscriptionState>, string, never, never>;
68
- load: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string], string, string, never, never>;
68
+ load: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
69
69
  cancelSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
70
70
  renewSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
71
71
  };
@@ -79,9 +79,7 @@ const { reducer: reducer$6, actions: overviewActions$1, name: name$5, } = create
79
79
  initialState: initialSubscriptionState,
80
80
  reducers: reducers$5,
81
81
  });
82
- const actions$6 = Object.assign({ load: createAction(`${name$5}/loadSubscription`, (payload) => ({
83
- payload,
84
- })), cancelSubscription: createAction(`${name$5}/cancelSubscription`), renewSubscription: createAction(`${name$5}/renewSubscription`) }, overviewActions$1);
82
+ const actions$6 = Object.assign({ load: createAction(`${name$5}/loadSubscription`), cancelSubscription: createAction(`${name$5}/cancelSubscription`), renewSubscription: createAction(`${name$5}/renewSubscription`) }, overviewActions$1);
85
83
 
86
84
  const initialBillingInformationState = {
87
85
  loading: false,
@@ -53,7 +53,7 @@ declare const actions: {
53
53
  setLoading: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[boolean], boolean, string, never, never>;
54
54
  setError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string | null], string | null, string, never, never>;
55
55
  setState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./interfaces").SubscriptionState>], Partial<import("./interfaces").SubscriptionState>, string, never, never>;
56
- load: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string], string, string, never, never>;
56
+ load: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
57
57
  cancelSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
58
58
  renewSubscription: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
59
59
  };