@zeniai/client-epic-state 4.11.71 → 4.11.72

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.
@@ -314,7 +314,8 @@ const tenant = (0, toolkit_1.createSlice)({
314
314
  },
315
315
  updateReferViewedForLoggedInUser(draft) {
316
316
  if (draft.currentTenantId != null) {
317
- draft.tenantsById[draft.currentTenantId].rewardsLastViewedTime = (0, zeniDayJS_1.dateNow)();
317
+ draft.tenantsById[draft.currentTenantId].rewardsLastViewedTime =
318
+ (0, zeniDayJS_1.dateNow)();
318
319
  }
319
320
  },
320
321
  clearAll: {
@@ -178,7 +178,7 @@ const referral = (0, toolkit_1.createSlice)({
178
178
  draft.rewardsPlanFetchState.error = action.payload;
179
179
  },
180
180
  clearReferrals(draft) {
181
- draft.referralFormLocalData = exports.initialState.referralFormLocalData;
181
+ Object.assign(draft, exports.initialState);
182
182
  },
183
183
  },
184
184
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.11.71",
3
+ "version": "4.11.72",
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",