@zeniai/client-epic-state 4.12.79 → 4.12.81

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.
@@ -19,10 +19,7 @@ const resendOtpEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators
19
19
  const productSettings = currentTenantId != null
20
20
  ? (_a = tenantState.tenantsById[currentTenantId]) === null || _a === void 0 ? void 0 : _a.productSettings
21
21
  : undefined;
22
- const isCardsEnabled = productSettings != null
23
- ? productSettings.isBookkeepingEnabled ||
24
- productSettings.isCardsEnabled
25
- : false;
22
+ const isCardsEnabled = productSettings != null ? productSettings.isCardsEnabled : false;
26
23
  const payload = {
27
24
  otp_challenge: otpChallenge,
28
25
  is_for_charge_cards: twoFASource === 'ChargeCard' ||
@@ -19,10 +19,7 @@ const sendOtpEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1
19
19
  const productSettings = currentTenantId != null
20
20
  ? (_a = tenantState.tenantsById[currentTenantId]) === null || _a === void 0 ? void 0 : _a.productSettings
21
21
  : undefined;
22
- const isCardsEnabled = productSettings != null
23
- ? productSettings.isBookkeepingEnabled ||
24
- productSettings.isCardsEnabled
25
- : false;
22
+ const isCardsEnabled = productSettings != null ? productSettings.isCardsEnabled : false;
26
23
  const queryPayload = {
27
24
  channel_type: 'phone',
28
25
  channel_info: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.12.79",
3
+ "version": "4.12.81",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",