@frontegg/redux-store 7.75.0-alpha.2 → 7.75.0

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/audits/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { buildAuditLogsActions } from './AuditLogsState';
2
2
  import { buildAuditsMetadataActions } from './AuditsMetadataState';
3
- import { DeepPartial, FronteggState, RestApi, SharedActions } from '../interfaces';
3
+ import { FronteggState, RestApi, SharedActions } from '../interfaces';
4
+ import { DeepPartial } from '../types';
4
5
  import { AuditsState } from './interfaces';
5
6
  export declare const createAuditsState: (overrideState?: DeepPartial<AuditsState>) => AuditsState;
6
7
  export declare const buildAuditsActions: (store: FronteggState, api: RestApi, sharedActions: SharedActions) => {
package/auth/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { DeepPartial, FronteggActions, FronteggState, RestApi } from '../interfaces';
1
+ import { FronteggActions, FronteggState, RestApi } from '../interfaces';
2
+ import { DeepPartial } from '../types';
2
3
  import { AuthState, SingleErrorByRequestDataPayload, User } from './interfaces';
3
4
  import { buildAcceptInvitationActions } from './AcceptInvitationState';
4
5
  import { buildAccountSettingsActions } from './AccountSettingsState';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.75.0-alpha.2
1
+ /** @license Frontegg v7.75.0
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/interfaces.d.ts CHANGED
@@ -11,6 +11,7 @@ import { AuditsState } from './audits/interfaces';
11
11
  import { AuditsActions } from './audits';
12
12
  import { OldAuditsState } from './audits-backward-compatibility/interfaces';
13
13
  import { OldAuditsActions } from './audits-backward-compatibility';
14
+ import { DeepPartial } from './types';
14
15
  /**
15
16
  * @deprecated use FronteggStore instead
16
17
  */
@@ -110,6 +111,3 @@ export type LoaderIndicatorState<T extends string, V = string | boolean> = Parti
110
111
  export type ErrorsIndicatorState<T extends string> = Partial<{
111
112
  [key in T]: FronteggApiError | boolean;
112
113
  }>;
113
- export type DeepPartial<T> = {
114
- [P in keyof T]?: T[P] extends any[] | undefined ? T[P] : T[P] extends Function ? T[P] : T[P] extends object | undefined ? Partial<T[P]> : T[P];
115
- };
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.75.0-alpha.2
1
+ /** @license Frontegg v7.75.0
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/node/types.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@frontegg/redux-store",
3
- "version": "7.75.0-alpha.2",
3
+ "version": "7.75.0",
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.2",
10
+ "@frontegg/rest-api": "7.75.0",
11
11
  "fast-deep-equal": "3.1.3",
12
12
  "get-value": "^3.0.1",
13
13
  "proxy-compare": "^3.0.0",
@@ -1,4 +1,5 @@
1
- import { DeepPartial, FronteggState, RestApi, SharedActions } from '../../interfaces';
1
+ import { FronteggState, RestApi, SharedActions } from '../../interfaces';
2
+ import { DeepPartial } from '../../types';
2
3
  import { BillingState } from './interfaces';
3
4
  import { buildInformationActions } from './Information';
4
5
  import { buildInvoicesActions } from './Invoices';
@@ -1,4 +1,5 @@
1
- import { DeepPartial, FronteggActions, FronteggState, RestApi } from '../interfaces';
1
+ import { FronteggActions, FronteggState, RestApi } from '../interfaces';
2
+ import { DeepPartial } from '../types';
2
3
  export * from './Checkout/interfaces';
3
4
  export * from './Billing/interfaces';
4
5
  export * from './Plans/interfaces';
@@ -1,5 +1,6 @@
1
1
  import { ContextOptions } from '@frontegg/rest-api';
2
- import { DeepPartial, FronteggActions, FronteggStateActions, FronteggStore, PartialFronteggState, RootState } from '../interfaces';
2
+ import { FronteggActions, FronteggStateActions, FronteggStore, PartialFronteggState, RootState } from '../interfaces';
3
+ import { DeepPartial } from '../types';
3
4
  import { AuthState } from '../auth';
4
5
  export * from '../auth';
5
6
  export * from '../interfaces';
package/types.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export type DeepPartial<T> = {
2
+ [P in keyof T]?: T[P] extends any[] | undefined ? T[P] : T[P] extends Function ? T[P] : T[P] extends object | undefined ? Partial<T[P]> : T[P];
3
+ };
package/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};