@frontegg/redux-store 5.40.0 → 5.41.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.
- package/auth/AccountSettingsState/index.d.ts +0 -8
- package/auth/MfaState/index.d.ts +2 -8
- package/auth/ResetPhoneNumberState/index.d.ts +0 -8
- package/auth/SignUp/saga.d.ts +1 -1
- package/auth/index.js +9 -4
- package/auth/interfaces.d.ts +7 -1
- package/index.js +1 -1
- package/node/auth/index.js +151 -3518
- package/node/{saga-633c17d2.js → index-2ab7009b.js} +12 -2
- package/node/index-5c2d4101.js +3612 -0
- package/node/index.js +52 -48
- package/node/toolkit/index.js +65 -144
- package/node/vendor/index.js +8 -15
- package/package.json +1 -1
package/node/index.js
CHANGED
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var auth_index = require('./
|
|
5
|
+
var auth_index = require('./index-5c2d4101.js');
|
|
6
6
|
var audits_index = require('./audits/index.js');
|
|
7
7
|
var connectivity_index = require('./connectivity/index.js');
|
|
8
8
|
var subscriptions_index = require('./subscriptions/index.js');
|
|
9
|
-
var vendor_index = require('./
|
|
9
|
+
var vendor_index = require('./index-2ab7009b.js');
|
|
10
10
|
var saga = require('./saga-b0d1a607.js');
|
|
11
|
-
var toolkit_index = require('./toolkit/index.js');
|
|
12
11
|
var restApi = require('@frontegg/rest-api');
|
|
13
12
|
var constants = require('./constants-52e37c08.js');
|
|
14
|
-
var saga$1 = require('./saga-633c17d2.js');
|
|
15
13
|
var toolkit = require('@reduxjs/toolkit');
|
|
16
14
|
var effects = require('redux-saga/effects');
|
|
17
15
|
var createSagaMiddleware = require('redux-saga');
|
|
@@ -42,6 +40,12 @@ Object.defineProperty(exports, 'ApiStateKeys', {
|
|
|
42
40
|
return auth_index.ApiStateKeys;
|
|
43
41
|
}
|
|
44
42
|
});
|
|
43
|
+
Object.defineProperty(exports, 'AuthenticationTypes', {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return auth_index.AuthenticationTypes;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
45
49
|
Object.defineProperty(exports, 'ForgotPasswordStep', {
|
|
46
50
|
enumerable: true,
|
|
47
51
|
get: function () {
|
|
@@ -96,59 +100,60 @@ Object.defineProperty(exports, 'UserVeirifedOriginTypes', {
|
|
|
96
100
|
return auth_index.UserVeirifedOriginTypes;
|
|
97
101
|
}
|
|
98
102
|
});
|
|
99
|
-
exports.acceptInvitationActions = auth_index.
|
|
100
|
-
exports.acceptInvitationReducers = auth_index.
|
|
103
|
+
exports.acceptInvitationActions = auth_index.actions$3;
|
|
104
|
+
exports.acceptInvitationReducers = auth_index.reducers$2;
|
|
101
105
|
exports.acceptInvitationState = auth_index.acceptInvitationState;
|
|
102
|
-
exports.accountSettingsActions = auth_index.
|
|
103
|
-
exports.accountSettingsReducers = auth_index.
|
|
106
|
+
exports.accountSettingsActions = auth_index.actions$14;
|
|
107
|
+
exports.accountSettingsReducers = auth_index.reducers$13;
|
|
104
108
|
exports.accountSettingsState = auth_index.accountSettingsState;
|
|
105
|
-
exports.activateAccountActions = auth_index.
|
|
106
|
-
exports.activateAccountReducers = auth_index.
|
|
109
|
+
exports.activateAccountActions = auth_index.actions$2;
|
|
110
|
+
exports.activateAccountReducers = auth_index.reducers$1;
|
|
107
111
|
exports.activateState = auth_index.activateState;
|
|
108
|
-
exports.apiTokensActions = auth_index.
|
|
109
|
-
exports.apiTokensReducers = auth_index.
|
|
112
|
+
exports.apiTokensActions = auth_index.actions$12;
|
|
113
|
+
exports.apiTokensReducers = auth_index.reducers$11;
|
|
110
114
|
exports.apiTokensState = auth_index.apiTokensState;
|
|
111
|
-
exports.auth = auth_index
|
|
112
|
-
exports.authActions = auth_index.
|
|
113
|
-
exports.authInitialState = auth_index.
|
|
114
|
-
exports.authMockSagas = auth_index.
|
|
115
|
-
exports.authReducers = auth_index.
|
|
116
|
-
exports.authSagas = auth_index.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
115
|
+
exports.auth = auth_index.authStore;
|
|
116
|
+
exports.authActions = auth_index.actions;
|
|
117
|
+
exports.authInitialState = auth_index.initialState;
|
|
118
|
+
exports.authMockSagas = auth_index.mockSagas;
|
|
119
|
+
exports.authReducers = auth_index.reducer;
|
|
120
|
+
exports.authSagas = auth_index.sagas;
|
|
121
|
+
exports.createFronteggStore = auth_index.createFronteggStore;
|
|
122
|
+
exports.forgotPasswordActions = auth_index.actions$4;
|
|
123
|
+
exports.forgotPasswordReducers = auth_index.reducers$3;
|
|
119
124
|
exports.forgotPasswordState = auth_index.forgotPasswordState;
|
|
120
|
-
exports.loginActions = auth_index.
|
|
121
|
-
exports.loginReducers = auth_index.
|
|
125
|
+
exports.loginActions = auth_index.actions$1;
|
|
126
|
+
exports.loginReducers = auth_index.reducers;
|
|
122
127
|
exports.loginState = auth_index.loginState;
|
|
123
|
-
exports.mfaActions = auth_index.
|
|
124
|
-
exports.mfaReducers = auth_index.
|
|
128
|
+
exports.mfaActions = auth_index.actions$7;
|
|
129
|
+
exports.mfaReducers = auth_index.reducers$6;
|
|
125
130
|
exports.mfaState = auth_index.mfaState;
|
|
126
|
-
exports.profileActions = auth_index.
|
|
127
|
-
exports.profileReducers = auth_index.
|
|
131
|
+
exports.profileActions = auth_index.actions$8;
|
|
132
|
+
exports.profileReducers = auth_index.reducers$7;
|
|
128
133
|
exports.profileState = auth_index.profileState;
|
|
129
|
-
exports.resetPhoneNumberActions = auth_index.
|
|
130
|
-
exports.resetPhoneNumberReducers = auth_index.
|
|
134
|
+
exports.resetPhoneNumberActions = auth_index.actions$5;
|
|
135
|
+
exports.resetPhoneNumberReducers = auth_index.reducers$4;
|
|
131
136
|
exports.resetPhoneNumberState = auth_index.resetPhoneNumberState;
|
|
132
|
-
exports.rolesActions = auth_index.
|
|
133
|
-
exports.rolesReducers = auth_index.
|
|
137
|
+
exports.rolesActions = auth_index.actions$16;
|
|
138
|
+
exports.rolesReducers = auth_index.reducers$15;
|
|
134
139
|
exports.rolesState = auth_index.rolesState;
|
|
135
|
-
exports.securityPolicyActions = auth_index.
|
|
136
|
-
exports.securityPolicyReducers = auth_index.
|
|
140
|
+
exports.securityPolicyActions = auth_index.actions$13;
|
|
141
|
+
exports.securityPolicyReducers = auth_index.reducers$12;
|
|
137
142
|
exports.securityPolicyState = auth_index.securityPolicyState;
|
|
138
|
-
exports.signUpActions = auth_index.
|
|
139
|
-
exports.signUpReducers = auth_index.
|
|
143
|
+
exports.signUpActions = auth_index.actions$11;
|
|
144
|
+
exports.signUpReducers = auth_index.reducers$10;
|
|
140
145
|
exports.signUpState = auth_index.signUpState;
|
|
141
146
|
exports.socialLoginState = auth_index.socialLoginState;
|
|
142
|
-
exports.socialLoginsActions = auth_index.
|
|
143
|
-
exports.socialLoginsReducer = auth_index.
|
|
144
|
-
exports.ssoActions = auth_index.
|
|
145
|
-
exports.ssoReducers = auth_index.
|
|
147
|
+
exports.socialLoginsActions = auth_index.actions$10;
|
|
148
|
+
exports.socialLoginsReducer = auth_index.reducers$9;
|
|
149
|
+
exports.ssoActions = auth_index.actions$6;
|
|
150
|
+
exports.ssoReducers = auth_index.reducers$5;
|
|
146
151
|
exports.ssoState = auth_index.ssoState;
|
|
147
|
-
exports.teamActions = auth_index.
|
|
148
|
-
exports.teamReducers = auth_index.
|
|
152
|
+
exports.teamActions = auth_index.actions$9;
|
|
153
|
+
exports.teamReducers = auth_index.reducers$8;
|
|
149
154
|
exports.teamState = auth_index.teamState;
|
|
150
|
-
exports.tenantsActions = auth_index.
|
|
151
|
-
exports.tenantsReducers = auth_index.
|
|
155
|
+
exports.tenantsActions = auth_index.actions$15;
|
|
156
|
+
exports.tenantsReducers = auth_index.reducers$14;
|
|
152
157
|
exports.tenantsState = auth_index.tenantsState;
|
|
153
158
|
exports.auditLogsActions = audits_index.auditLogsActions;
|
|
154
159
|
exports.auditLogsReducers = audits_index.auditLogsReducers;
|
|
@@ -209,14 +214,17 @@ exports.subscriptionReducers = subscriptions_index.subscriptionReducers;
|
|
|
209
214
|
exports.subscriptionSagas = subscriptions_index.subscriptionSagas;
|
|
210
215
|
exports.subscriptionSagasMock = subscriptions_index.subscriptionSagasMock;
|
|
211
216
|
exports.subscriptions = subscriptions_index['default'];
|
|
212
|
-
exports.vendor = vendor_index
|
|
217
|
+
exports.vendor = vendor_index.vendorStore;
|
|
218
|
+
exports.vendorActions = vendor_index.actions;
|
|
219
|
+
exports.vendorInitialState = vendor_index.initialState;
|
|
220
|
+
exports.vendorReducers = vendor_index.reducer;
|
|
221
|
+
exports.vendorSagas = vendor_index.sagas;
|
|
213
222
|
exports.actions = saga.actions;
|
|
214
223
|
exports.defaultItemsPerPage = saga.defaultItemsPerPage;
|
|
215
224
|
exports.initialState = saga.initialState;
|
|
216
225
|
exports.reducer = saga.reducer;
|
|
217
226
|
exports.sagas = saga.sagas;
|
|
218
227
|
exports.storeName = saga.storeName;
|
|
219
|
-
exports.createFronteggStore = toolkit_index.createFronteggStore;
|
|
220
228
|
Object.defineProperty(exports, 'AuthStrategyEnum', {
|
|
221
229
|
enumerable: true,
|
|
222
230
|
get: function () {
|
|
@@ -228,10 +236,6 @@ exports.authStoreName = constants.authStoreName;
|
|
|
228
236
|
exports.connectivityStoreName = constants.connectivityStoreName;
|
|
229
237
|
exports.subscriptionsStoreName = constants.subscriptionsStoreName;
|
|
230
238
|
exports.vendorStoreName = constants.vendorStoreName;
|
|
231
|
-
exports.vendorActions = saga$1.actions;
|
|
232
|
-
exports.vendorInitialState = saga$1.initialState;
|
|
233
|
-
exports.vendorReducers = saga$1.reducer;
|
|
234
|
-
exports.vendorSagas = saga$1.sagas;
|
|
235
239
|
Object.defineProperty(exports, 'bindActionCreators', {
|
|
236
240
|
enumerable: true,
|
|
237
241
|
get: function () {
|
package/node/toolkit/index.js
CHANGED
|
@@ -2,187 +2,108 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var auth_index = require('../
|
|
5
|
+
var auth_index = require('../index-5c2d4101.js');
|
|
6
6
|
var toolkit = require('@reduxjs/toolkit');
|
|
7
7
|
var createSagaMiddleware = require('redux-saga');
|
|
8
8
|
var effects = require('redux-saga/effects');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
require('@frontegg/rest-api');
|
|
10
|
+
require('../audits/index.js');
|
|
11
|
+
require('../saga-b0d1a607.js');
|
|
12
|
+
require('../connectivity/index.js');
|
|
13
|
+
require('../subscriptions/index.js');
|
|
14
|
+
require('../index-2ab7009b.js');
|
|
15
15
|
require('../constants-52e37c08.js');
|
|
16
16
|
require('tslib');
|
|
17
|
-
require('../saga-633c17d2.js');
|
|
18
17
|
require('uuid');
|
|
19
18
|
|
|
20
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
21
20
|
|
|
22
21
|
var createSagaMiddleware__default = /*#__PURE__*/_interopDefaultLegacy(createSagaMiddleware);
|
|
23
22
|
|
|
24
|
-
const initialState = {
|
|
25
|
-
context: undefined,
|
|
26
|
-
};
|
|
27
|
-
const { reducer: rootReducer } = toolkit.createSlice({
|
|
28
|
-
name: 'root',
|
|
29
|
-
initialState,
|
|
30
|
-
reducers: {
|
|
31
|
-
setContext: {
|
|
32
|
-
prepare: (context) => ({ payload: context }),
|
|
33
|
-
reducer: (state, { payload }) => {
|
|
34
|
-
restApi.ContextHolder.setContext(payload);
|
|
35
|
-
return Object.assign(Object.assign({}, state), { context: payload });
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
const createFronteggStore = (rootInitialState, storeHolder, previewMode = false, authInitialState, overrideInitialState, builderMode = false) => {
|
|
41
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
42
|
-
const isSSR = typeof window === 'undefined';
|
|
43
|
-
let holder = storeHolder;
|
|
44
|
-
if (isSSR && storeHolder == null) {
|
|
45
|
-
throw Error('createFronteggStore(initState, storeHolder) failed, storeHolder must not be null in Server-Side rendering');
|
|
46
|
-
}
|
|
47
|
-
if (!holder) {
|
|
48
|
-
holder = window;
|
|
49
|
-
}
|
|
50
|
-
if (!holder.store) {
|
|
51
|
-
if (!previewMode && !builderMode) {
|
|
52
|
-
restApi.ContextHolder.setContext(rootInitialState.context);
|
|
53
|
-
}
|
|
54
|
-
const sagaMiddleware = createSagaMiddleware__default['default']();
|
|
55
|
-
const middleware = [
|
|
56
|
-
...toolkit.getDefaultMiddleware({ thunk: false, immutableCheck: false, serializableCheck: false }),
|
|
57
|
-
sagaMiddleware,
|
|
58
|
-
];
|
|
59
|
-
holder.store = toolkit.configureStore({
|
|
60
|
-
middleware,
|
|
61
|
-
preloadedState: {
|
|
62
|
-
root: Object.assign(Object.assign({}, rootInitialState), { previewMode }),
|
|
63
|
-
[auth_index['default'].storeName]: Object.assign(Object.assign(Object.assign(Object.assign({}, auth_index['default'].initialState), authInitialState), ((_a = overrideInitialState === null || overrideInitialState === void 0 ? void 0 : overrideInitialState.auth) !== null && _a !== void 0 ? _a : {})), { routes: Object.assign(Object.assign(Object.assign({}, auth_index['default'].initialState.routes), ((_b = authInitialState === null || authInitialState === void 0 ? void 0 : authInitialState.routes) !== null && _b !== void 0 ? _b : {})), ((_d = (_c = overrideInitialState === null || overrideInitialState === void 0 ? void 0 : overrideInitialState.auth) === null || _c === void 0 ? void 0 : _c.routes) !== null && _d !== void 0 ? _d : {})) }),
|
|
64
|
-
[audits_index['default'].storeName]: Object.assign(Object.assign(Object.assign({}, audits_index['default'].initialState), ((_e = overrideInitialState === null || overrideInitialState === void 0 ? void 0 : overrideInitialState.auditLogs) !== null && _e !== void 0 ? _e : {})), { auditLogsState: Object.assign(Object.assign({}, audits_index['default'].initialState.auditLogsState), ((_g = (_f = overrideInitialState === null || overrideInitialState === void 0 ? void 0 : overrideInitialState.auditLogs) === null || _f === void 0 ? void 0 : _f.auditLogsState) !== null && _g !== void 0 ? _g : {})), auditsMetadataState: Object.assign(Object.assign({}, audits_index['default'].initialState.auditsMetadataState), ((_j = (_h = overrideInitialState === null || overrideInitialState === void 0 ? void 0 : overrideInitialState.auditLogs) === null || _h === void 0 ? void 0 : _h.auditsMetadataState) !== null && _j !== void 0 ? _j : {})) }),
|
|
65
|
-
[saga.storeName]: Object.assign(Object.assign({}, saga.initialState), ((_k = overrideInitialState === null || overrideInitialState === void 0 ? void 0 : overrideInitialState.audits) !== null && _k !== void 0 ? _k : {})),
|
|
66
|
-
[connectivity_index['default'].storeName]: connectivity_index['default'].initialState,
|
|
67
|
-
[subscriptions_index['default'].storeName]: subscriptions_index['default'].initialState,
|
|
68
|
-
[vendor_index['default'].storeName]: vendor_index['default'].initialState,
|
|
69
|
-
},
|
|
70
|
-
reducer: toolkit.combineReducers({
|
|
71
|
-
root: rootReducer,
|
|
72
|
-
[auth_index['default'].storeName]: auth_index['default'].reducer,
|
|
73
|
-
[audits_index['default'].storeName]: audits_index['default'].reducer,
|
|
74
|
-
[saga.storeName]: saga.reducer,
|
|
75
|
-
[connectivity_index['default'].storeName]: connectivity_index['default'].reducer,
|
|
76
|
-
[subscriptions_index['default'].storeName]: subscriptions_index['default'].reducer,
|
|
77
|
-
[vendor_index['default'].storeName]: vendor_index['default'].reducer,
|
|
78
|
-
}),
|
|
79
|
-
});
|
|
80
|
-
const rootSaga = function* () {
|
|
81
|
-
yield effects.all([
|
|
82
|
-
effects.call(auth_index['default'].sagas),
|
|
83
|
-
effects.call(audits_index['default'].sagas),
|
|
84
|
-
effects.call(saga.sagas),
|
|
85
|
-
effects.call(connectivity_index['default'].sagas),
|
|
86
|
-
effects.call(subscriptions_index['default'].sagas),
|
|
87
|
-
effects.call(vendor_index['default'].sagas),
|
|
88
|
-
]);
|
|
89
|
-
};
|
|
90
|
-
const rootMockSaga = function* () {
|
|
91
|
-
yield effects.all([effects.call(auth_index['default'].mockSagas), effects.call(audits_index['default'].mockSagas), effects.call(subscriptions_index['default'].mockSagas)]);
|
|
92
|
-
};
|
|
93
|
-
if (previewMode) {
|
|
94
|
-
holder.store.destroy = sagaMiddleware.run(rootMockSaga).cancel;
|
|
95
|
-
holder.store.dispatch(auth_index.authActions.requestAuthorize(true));
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
holder.store.destroy = sagaMiddleware.run(rootSaga).cancel;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return holder.store;
|
|
102
|
-
};
|
|
103
23
|
|
|
24
|
+
|
|
25
|
+
exports.createFronteggStore = auth_index.createFronteggStore;
|
|
104
26
|
Object.defineProperty(exports, 'bindActionCreators', {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () {
|
|
29
|
+
return toolkit.bindActionCreators;
|
|
30
|
+
}
|
|
109
31
|
});
|
|
110
32
|
Object.defineProperty(exports, 'combineReducers', {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return toolkit.combineReducers;
|
|
36
|
+
}
|
|
115
37
|
});
|
|
116
38
|
Object.defineProperty(exports, 'configureStore', {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () {
|
|
41
|
+
return toolkit.configureStore;
|
|
42
|
+
}
|
|
121
43
|
});
|
|
122
44
|
Object.defineProperty(exports, 'createSelector', {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () {
|
|
47
|
+
return toolkit.createSelector;
|
|
48
|
+
}
|
|
127
49
|
});
|
|
128
50
|
Object.defineProperty(exports, 'createSlice', {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () {
|
|
53
|
+
return toolkit.createSlice;
|
|
54
|
+
}
|
|
133
55
|
});
|
|
134
56
|
Object.defineProperty(exports, 'getDefaultMiddleware', {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return toolkit.getDefaultMiddleware;
|
|
60
|
+
}
|
|
139
61
|
});
|
|
140
62
|
Object.defineProperty(exports, 'createSagaMiddleware', {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () {
|
|
65
|
+
return createSagaMiddleware__default['default'];
|
|
66
|
+
}
|
|
145
67
|
});
|
|
146
68
|
Object.defineProperty(exports, 'all', {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () {
|
|
71
|
+
return effects.all;
|
|
72
|
+
}
|
|
151
73
|
});
|
|
152
74
|
Object.defineProperty(exports, 'call', {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () {
|
|
77
|
+
return effects.call;
|
|
78
|
+
}
|
|
157
79
|
});
|
|
158
80
|
Object.defineProperty(exports, 'delay', {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () {
|
|
83
|
+
return effects.delay;
|
|
84
|
+
}
|
|
163
85
|
});
|
|
164
86
|
Object.defineProperty(exports, 'put', {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () {
|
|
89
|
+
return effects.put;
|
|
90
|
+
}
|
|
169
91
|
});
|
|
170
92
|
Object.defineProperty(exports, 'select', {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () {
|
|
95
|
+
return effects.select;
|
|
96
|
+
}
|
|
175
97
|
});
|
|
176
98
|
Object.defineProperty(exports, 'takeEvery', {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return effects.takeEvery;
|
|
102
|
+
}
|
|
181
103
|
});
|
|
182
104
|
Object.defineProperty(exports, 'takeLatest', {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () {
|
|
107
|
+
return effects.takeLatest;
|
|
108
|
+
}
|
|
187
109
|
});
|
|
188
|
-
exports.createFronteggStore = createFronteggStore;
|
package/node/vendor/index.js
CHANGED
|
@@ -2,24 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var vendor_index = require('../index-2ab7009b.js');
|
|
6
6
|
var constants = require('../constants-52e37c08.js');
|
|
7
|
+
require('@reduxjs/toolkit');
|
|
7
8
|
require('redux-saga/effects');
|
|
8
9
|
require('@frontegg/rest-api');
|
|
9
|
-
require('@reduxjs/toolkit');
|
|
10
10
|
|
|
11
|
-
// export store
|
|
12
|
-
var vendorStore = {
|
|
13
|
-
sagas: saga.sagas,
|
|
14
|
-
storeName: constants.vendorStoreName,
|
|
15
|
-
initialState: saga.initialState,
|
|
16
|
-
reducer: saga.reducer,
|
|
17
|
-
actions: saga.actions,
|
|
18
|
-
};
|
|
19
11
|
|
|
20
|
-
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
12
|
+
|
|
13
|
+
exports.default = vendor_index.vendorStore;
|
|
14
|
+
exports.vendorActions = vendor_index.actions;
|
|
15
|
+
exports.vendorInitialState = vendor_index.initialState;
|
|
16
|
+
exports.vendorReducers = vendor_index.reducer;
|
|
17
|
+
exports.vendorSagas = vendor_index.sagas;
|
|
24
18
|
exports.vendorStoreName = constants.vendorStoreName;
|
|
25
|
-
exports['default'] = vendorStore;
|