@frontegg/redux-store 4.19.0 → 4.21.2

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/index.js CHANGED
@@ -646,10 +646,10 @@ var samlMetadataDemo = {
646
646
  properties: [],
647
647
  vendorId: 'vendorId',
648
648
  entityName: 'saml',
649
+ isActive: true,
649
650
  configuration: {
650
651
  acsUrl: 'acsUrl',
651
652
  spEntityId: 'spEntityId',
652
- isActive: true,
653
653
  },
654
654
  };
655
655
  var rolesDemo = [
@@ -2906,9 +2906,11 @@ function loadProfileMock() {
2906
2906
  return [4 /*yield*/, delay()];
2907
2907
  case 2:
2908
2908
  _a.sent();
2909
- actions.setUser(tslib.__assign(tslib.__assign({}, (userDemo)), userProfileDemo));
2910
- return [4 /*yield*/, effects.put(actions.setProfileState({ loading: false }))];
2909
+ return [4 /*yield*/, effects.put(actions.setUser(tslib.__assign(tslib.__assign({}, (userDemo)), userProfileDemo)))];
2911
2910
  case 3:
2911
+ _a.sent();
2912
+ return [4 /*yield*/, effects.put(actions.setProfileState({ loading: false, profile: userProfileDemo }))];
2913
+ case 4:
2912
2914
  _a.sent();
2913
2915
  return [2 /*return*/];
2914
2916
  }