@frontegg/types 7.16.0 → 7.18.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.
@@ -1,37 +1 @@
1
- import { KeyValuePair, LogLevel, ResolvedTenantResult, MetadataHeaders } from '@frontegg/rest-api';
2
- export interface ContextOptions {
3
- /**
4
- * Backend API baseUrl, visit https://portal.frontegg.com/administration/domain to get your Frontegg baseUrl
5
- */
6
- baseUrl: string | ((url: string) => string);
7
- /**
8
- * Frontegg clientId. Identifier from your Frontegg workspace account.
9
- */
10
- clientId?: string;
11
- /**
12
- * Will be used to identify the application, use only for multi applications
13
- */
14
- appId?: string;
15
- /**
16
- * Whether or not to send Fetch request with Credentials to the Backend
17
- * default: 'include'
18
- */
19
- requestCredentials?: RequestCredentials;
20
- tenantResolver?: () => Promise<ResolvedTenantResult> | ResolvedTenantResult;
21
- tokenResolver?: () => Promise<string> | string;
22
- additionalQueryParamsResolver?: () => Promise<KeyValuePair[]> | KeyValuePair[];
23
- additionalHeadersResolver?: () => Promise<KeyValuePair[]> | KeyValuePair[];
24
- currentUserRoles?: string[];
25
- urlPrefix?: string;
26
- /**
27
- * @deprecated
28
- */
29
- logLevel?: LogLevel;
30
- /**
31
- * @deprecated, use auditsOptions.* and not contextOptions.auditsOptions
32
- */
33
- auditsOptions?: {
34
- virtualScroll?: boolean;
35
- };
36
- metadataHeaders?: MetadataHeaders;
37
- }
1
+ export type { ContextOptions } from '@frontegg/rest-api';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.16.0
1
+ /** @license Frontegg v7.18.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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.16.0
1
+ /** @license Frontegg v7.18.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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.16.0",
3
+ "version": "7.18.0",
4
4
  "main": "./node/index.js",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/redux-store": "7.16.0",
9
+ "@frontegg/redux-store": "7.18.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },