@frontegg/redux-store 7.0.0-alpha.8 → 7.1.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/index.d.ts +1 -1
- package/index.js +1 -13
- package/node/index.js +1 -1
- package/node/toolkit/store.js +1 -1
- package/package.json +2 -2
- package/toolkit/store.d.ts +4 -1
- package/toolkit/store.js +1 -1
package/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './constants';
|
|
|
3
3
|
export * from './helpers';
|
|
4
4
|
export * from './auth/helpers';
|
|
5
5
|
export * from './interfaces';
|
|
6
|
-
export type { NotEntitledJustification } from '@frontegg/rest-api';
|
|
7
6
|
export * from './auth';
|
|
8
7
|
export * from './auth/interfaces';
|
|
9
8
|
export * from './connectivity';
|
|
@@ -14,3 +13,4 @@ export * from './vendor';
|
|
|
14
13
|
export * from './vendor/interfaces';
|
|
15
14
|
export * from './audits';
|
|
16
15
|
export * from './audits/interfaces';
|
|
16
|
+
export type { NotEntitledJustification } from '@frontegg/rest-api';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license Frontegg v7.
|
|
1
|
+
/** @license Frontegg v7.1.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.
|
|
@@ -7,27 +7,15 @@ export * from './toolkit';
|
|
|
7
7
|
export * from './constants';
|
|
8
8
|
export * from './helpers';
|
|
9
9
|
export * from './auth/helpers';
|
|
10
|
-
|
|
11
|
-
// TODO: export type * instead of *
|
|
12
10
|
export * from './interfaces';
|
|
13
|
-
// TODO: export type * instead of *
|
|
14
11
|
export * from './auth';
|
|
15
|
-
// TODO: export type * instead of *
|
|
16
12
|
export * from './auth/interfaces';
|
|
17
|
-
// TODO: export type * instead of *
|
|
18
13
|
export * from './connectivity';
|
|
19
|
-
// TODO: export type * instead of *
|
|
20
14
|
export * from './connectivity/interfaces';
|
|
21
|
-
// TODO: export type * instead of *
|
|
22
15
|
export * from './subscriptions';
|
|
23
|
-
// TODO: export type * instead of *
|
|
24
16
|
export * from './subscriptions/interfaces';
|
|
25
|
-
// TODO: export type * instead of *
|
|
26
17
|
export * from './vendor';
|
|
27
|
-
// TODO: export type * instead of *
|
|
28
18
|
export * from './vendor/interfaces';
|
|
29
|
-
// TODO: export type * instead of *
|
|
30
19
|
export * from './audits';
|
|
31
|
-
// TODO: export type * instead of *
|
|
32
20
|
export * from './audits/interfaces';
|
|
33
21
|
export {};
|
package/node/index.js
CHANGED
package/node/toolkit/store.js
CHANGED
|
@@ -10,7 +10,7 @@ var _exportNames = {
|
|
|
10
10
|
};
|
|
11
11
|
exports.createStore = exports.createFronteggStore = void 0;
|
|
12
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
-
var _utils = require("valtio/utils");
|
|
13
|
+
var _utils = require("valtio/vanilla/utils");
|
|
14
14
|
var _restApi = require("@frontegg/rest-api");
|
|
15
15
|
var _helpers = require("../helpers");
|
|
16
16
|
var _auth = require("../auth");
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/redux-store",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.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": "3.
|
|
10
|
+
"@frontegg/rest-api": "3.2.0",
|
|
11
11
|
"fast-deep-equal": "3.1.3",
|
|
12
12
|
"set-value": "^4.1.0",
|
|
13
13
|
"uuid": "^8.3.2",
|
package/toolkit/store.d.ts
CHANGED
|
@@ -49,7 +49,10 @@ export declare const createFronteggStore: (rootInitialState: RootState, storeHol
|
|
|
49
49
|
auth: DeepPartial<AuthState>;
|
|
50
50
|
connectivity: Partial<import("..").ConnectivityState>;
|
|
51
51
|
subscriptions: DeepPartial<import("..").SubscriptionsState>;
|
|
52
|
-
vendor: DeepPartial<import("..").VendorState>;
|
|
52
|
+
vendor: DeepPartial<import("..").VendorState>; /**
|
|
53
|
+
* Internal Usage
|
|
54
|
+
* load Store as builder mode
|
|
55
|
+
*/
|
|
53
56
|
auditLogs: DeepPartial<import("..").AuditsState>;
|
|
54
57
|
audits: Partial<import("../audits-backward-compatibility/interfaces").OldAuditsState>;
|
|
55
58
|
}> | undefined, builderMode?: boolean, urlStrategy?: 'hash' | 'path') => FronteggStore;
|
package/toolkit/store.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3
|
-
import { devtools } from 'valtio/utils';
|
|
3
|
+
import { devtools } from 'valtio/vanilla/utils';
|
|
4
4
|
import { createApiClient, ContextHolder, FetchClient } from '@frontegg/rest-api';
|
|
5
5
|
import { deepClone } from '../helpers';
|
|
6
6
|
import { buildAuthActions, createAuthState } from '../auth';
|