ouisys-engine 2.1.20 → 2.1.25
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/dist/api/click2sms.js +357 -0
- package/dist/api/index.d.ts +1 -3
- package/dist/api/index.js +97 -173
- package/dist/api/mo.js +274 -0
- package/dist/api/moRedir.js +186 -0
- package/dist/api/oneClick.js +366 -0
- package/dist/api/pin.js +493 -0
- package/dist/api/strategies.js +704 -0
- package/dist/api/ussd.js +1 -0
- package/dist/app/store.js +35 -0
- package/dist/common-types/AppThunk.d.ts +1 -2
- package/dist/features/strategies/categories/askMobileNumber.js +395 -0
- package/dist/features/strategies/categories/askOperator.js +311 -0
- package/dist/features/strategies/categories/detectOperatorByIp.js +606 -0
- package/dist/features/strategies/categories/headerEnrichment.js +670 -0
- package/dist/features/strategies/categories/typings/click2smsSliceTypes.js +12 -0
- package/dist/features/strategies/categories/typings/identifySliceTypes.js +22 -0
- package/dist/features/strategies/categories/typings/moFlowSliceTypes.js +22 -0
- package/dist/features/strategies/categories/typings/moRedirFlowSliceTypes.js +21 -0
- package/dist/features/strategies/categories/typings/oneClickSliceTypes.js +13 -0
- package/dist/features/strategies/categories/typings/pinFlowSliceTypes.js +13 -0
- package/dist/features/strategies/click2smsFlowSlice.js +172 -0
- package/dist/features/strategies/identifySlice.js +455 -0
- package/dist/features/strategies/moFlowSlice.js +196 -0
- package/dist/features/strategies/moRedirFlowSlice.js +190 -0
- package/dist/features/strategies/oneClickFlowSlice.js +277 -0
- package/dist/features/strategies/pinFlowSlice.js +313 -0
- package/dist/features/strategies/ussdFlowSlice.js +1 -0
- package/dist/flows/strategy.d.ts +1 -2
- package/dist/flows/strategy.js +1 -5
- package/dist/ips/tryGetIPRangeName.js +14 -13
- package/dist/mockServer/browser.js +48 -0
- package/dist/mockServer/handlers.js +22 -0
- package/dist/mockServer/server.js +48 -0
- package/dist/pacman/index.js +0 -1
- package/dist/reducers/click2smsFlow/utils.js +1 -3
- package/dist/reducers/moRedirFlow/utils.js +1 -1
- package/dist/reducers/oneClickFlow/utils.js +9 -8
- package/dist/reducers/pinFlow/utils.js +17 -16
- package/dist/reducers/strategy/utils.js +12 -13
- package/dist/reducers/tpayHeFlow/utils.js +1 -1
- package/dist/store/index.d.ts +1 -2
- package/dist/store/reducers.d.ts +0 -2
- package/dist/store/reducers.js +1 -4
- package/dist/test/setup.js +24 -0
- package/dist/test/test-utils.js +51 -0
- package/package.json +1 -1
- package/src/@types/window.d.ts +1 -0
- package/src/api/index.ts +8 -41
- package/src/common-types/AppThunk.ts +1 -2
- package/src/flows/strategy.ts +1 -5
- package/src/ips/tryGetIPRangeName.ts +3 -2
- package/src/pacman/index.ts +1 -1
- package/src/reducers/click2smsFlow/utils.ts +0 -3
- package/src/reducers/moRedirFlow/utils.ts +1 -1
- package/src/reducers/oneClickFlow/utils.ts +4 -3
- package/src/reducers/pinFlow/utils.ts +4 -2
- package/src/reducers/strategy/utils.ts +2 -3
- package/src/store/index.ts +1 -2
- package/src/store/reducers.ts +1 -5
- package/yarn.lock +5204 -0
- package/src/flows/tpayHeFlow.ts +0 -20
- package/src/reducers/tpayHeFlow/ITpayHeConstants.ts +0 -7
- package/src/reducers/tpayHeFlow/TpayHeTypes.ts +0 -135
- package/src/reducers/tpayHeFlow/index.ts +0 -207
- package/src/reducers/tpayHeFlow/utils.ts +0 -311
package/src/store/reducers.ts
CHANGED
|
@@ -7,7 +7,6 @@ import moRedirFlow from "../reducers/moRedirFlow";
|
|
|
7
7
|
import oneClickFlow from "../reducers/oneClickFlow";
|
|
8
8
|
import click2smsFlow from "../reducers/click2smsFlow";
|
|
9
9
|
import ussdFlow from "../reducers/ussdFlow";
|
|
10
|
-
import tpayHeFlow from "../reducers/tpayHeFlow";
|
|
11
10
|
|
|
12
11
|
import { IStrategyReducerState } from "../reducers/strategy/StrategyTypes";
|
|
13
12
|
import { IPinFlowReducerState } from "../reducers/pinFlow/PinTypes";
|
|
@@ -16,7 +15,6 @@ import { IMoRedirFlowReducerState } from "../reducers/moRedirFlow/MoRedirTypes";
|
|
|
16
15
|
import { IOneClickFlowReducerState } from "../reducers/oneClickFlow/OneClickTypes";
|
|
17
16
|
import { IClick2smsFlowReducerState } from "../reducers/click2smsFlow/Click2smsTypes";
|
|
18
17
|
import { IUssdFlowReducerState } from "../reducers/ussdFlow/UssdTypes";
|
|
19
|
-
import { ITpayHeFlowReducerState } from "../reducers/tpayHeFlow/TpayHeTypes";
|
|
20
18
|
|
|
21
19
|
|
|
22
20
|
export interface IApplicationState {
|
|
@@ -27,7 +25,6 @@ export interface IApplicationState {
|
|
|
27
25
|
oneClickFlow:IOneClickFlowReducerState;
|
|
28
26
|
click2smsFlow:IClick2smsFlowReducerState;
|
|
29
27
|
ussdFlow:IUssdFlowReducerState;
|
|
30
|
-
tpayHeFlow:ITpayHeFlowReducerState;
|
|
31
28
|
}
|
|
32
29
|
export default() => combineReducers<IApplicationState>({
|
|
33
30
|
strategy,
|
|
@@ -36,6 +33,5 @@ export default() => combineReducers<IApplicationState>({
|
|
|
36
33
|
moRedirFlow,
|
|
37
34
|
oneClickFlow,
|
|
38
35
|
click2smsFlow,
|
|
39
|
-
ussdFlow
|
|
40
|
-
tpayHeFlow
|
|
36
|
+
ussdFlow
|
|
41
37
|
});
|