@frontegg/redux-store 7.75.0-alpha.0 → 7.75.0-alpha.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.
@@ -2,7 +2,6 @@ import { FronteggApiError, ITeamUserPermission, ITeamUserRole, MachineToMachineA
2
2
  import { LoaderIndicatorState, WithCallback } from '../../interfaces';
3
3
  export interface ApiTokensState {
4
4
  loaders: LoaderIndicatorState<ApiStateKeys>;
5
- searchValue: string;
6
5
  apiTokensDataTenant: ITenantApiTokensData[];
7
6
  apiTokensDataUser: IApiTokensData[];
8
7
  showAddTokenDialog: boolean;
@@ -1,7 +1,6 @@
1
1
  import { createProxy } from '../../toolkit/proxy';
2
2
  export const initialState = {
3
3
  apiTokenType: null,
4
- searchValue: '',
5
4
  showAddTokenDialog: false,
6
5
  createdByUserIdColumn: 'show',
7
6
  deleteTokenDialog: {
@@ -70,6 +70,7 @@ export default ((store, api, sharedActions) => {
70
70
  });
71
71
  try {
72
72
  await api.teams.verifyEmail(email, code);
73
+ await actions.__refreshToken();
73
74
  setProfileState({
74
75
  saving: false,
75
76
  error: null,
@@ -6,3 +6,8 @@ export interface UserEmailPolicyState {
6
6
  loading: boolean;
7
7
  error?: any;
8
8
  }
9
+ export declare enum EditEmailView {
10
+ Email = 0,
11
+ Otc = 1,
12
+ Success = 2
13
+ }
@@ -1 +1,6 @@
1
- export {};
1
+ export let EditEmailView;
2
+ (function (EditEmailView) {
3
+ EditEmailView[EditEmailView["Email"] = 0] = "Email";
4
+ EditEmailView[EditEmailView["Otc"] = 1] = "Otc";
5
+ EditEmailView[EditEmailView["Success"] = 2] = "Success";
6
+ })(EditEmailView || (EditEmailView = {}));
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.75.0-alpha.0
1
+ /** @license Frontegg v7.75.0-alpha.2
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -7,7 +7,6 @@ exports.initialState = exports.default = void 0;
7
7
  var _proxy = require("../../toolkit/proxy");
8
8
  const initialState = {
9
9
  apiTokenType: null,
10
- searchValue: '',
11
10
  showAddTokenDialog: false,
12
11
  createdByUserIdColumn: 'show',
13
12
  deleteTokenDialog: {
@@ -77,6 +77,7 @@ var _default = (store, api, sharedActions) => {
77
77
  });
78
78
  try {
79
79
  await api.teams.verifyEmail(email, code);
80
+ await actions.__refreshToken();
80
81
  setProfileState({
81
82
  saving: false,
82
83
  error: null,
@@ -2,4 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
5
+ });
6
+ exports.EditEmailView = void 0;
7
+ let EditEmailView;
8
+ exports.EditEmailView = EditEmailView;
9
+ (function (EditEmailView) {
10
+ EditEmailView[EditEmailView["Email"] = 0] = "Email";
11
+ EditEmailView[EditEmailView["Otc"] = 1] = "Otc";
12
+ EditEmailView[EditEmailView["Success"] = 2] = "Success";
13
+ })(EditEmailView || (exports.EditEmailView = EditEmailView = {}));
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.75.0-alpha.0
1
+ /** @license Frontegg v7.75.0-alpha.2
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
- "version": "7.75.0-alpha.0",
3
+ "version": "7.75.0-alpha.2",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
9
  "@frontegg/entitlements-javascript-commons": "1.1.2",
10
- "@frontegg/rest-api": "7.75.0-alpha.0",
10
+ "@frontegg/rest-api": "7.75.0-alpha.2",
11
11
  "fast-deep-equal": "3.1.3",
12
12
  "get-value": "^3.0.1",
13
13
  "proxy-compare": "^3.0.0",