@frontegg/rest-api 7.35.0-alpha.1 → 7.36.0-alpha.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,4 +1,4 @@
1
- import { ContextOptions, RedirectOptions, RequestSource, SessionContext } from '../interfaces';
1
+ import { SessionContext, ContextOptions, RedirectOptions, RequestSource } from '../interfaces';
2
2
  import { IUserProfile } from '../users/interfaces';
3
3
  /**
4
4
  * Entitlements config from frontegg provider
@@ -18,8 +18,6 @@ export declare class ContextHolder {
18
18
  private appName;
19
19
  private sessionContext?;
20
20
  private basename;
21
- private cdnUrl;
22
- private assetsUrl;
23
21
  private constructor();
24
22
  static default(): ContextHolder;
25
23
  static for(appName: string): ContextHolder;
@@ -135,10 +133,6 @@ export declare class ContextHolder {
135
133
  */
136
134
  static getAppName(appName?: string): string | null;
137
135
  getAppName: () => string | null;
138
- setCdnUrl: (cdnUrl: string | null) => void;
139
- getCdnUrl: () => string | null;
140
- setAssetsUrl: (assets: string | null) => void;
141
- getAssetsUrl: () => string | null;
142
136
  }
143
137
  /**
144
138
  * Frontegg context to be used in the application
@@ -14,8 +14,6 @@ export class ContextHolder {
14
14
  this.appName = null;
15
15
  this.sessionContext = void 0;
16
16
  this.basename = null;
17
- this.cdnUrl = null;
18
- this.assetsUrl = null;
19
17
  this.setContext = context => {
20
18
  this.context = context;
21
19
  };
@@ -71,18 +69,6 @@ export class ContextHolder {
71
69
  this.getAppName = () => {
72
70
  return this.appName;
73
71
  };
74
- this.setCdnUrl = cdnUrl => {
75
- this.cdnUrl = cdnUrl;
76
- };
77
- this.getCdnUrl = () => {
78
- return this.cdnUrl;
79
- };
80
- this.setAssetsUrl = assets => {
81
- this.assetsUrl = assets;
82
- };
83
- this.getAssetsUrl = () => {
84
- return this.assetsUrl;
85
- };
86
72
  }
87
73
  static default() {
88
74
  return ContextHolder.getInstance(DEFAULT_APP_NAME);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.35.0-alpha.1
1
+ /** @license Frontegg v7.36.0-alpha.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.
@@ -20,8 +20,6 @@ class ContextHolder {
20
20
  this.appName = null;
21
21
  this.sessionContext = void 0;
22
22
  this.basename = null;
23
- this.cdnUrl = null;
24
- this.assetsUrl = null;
25
23
  this.setContext = context => {
26
24
  this.context = context;
27
25
  };
@@ -77,18 +75,6 @@ class ContextHolder {
77
75
  this.getAppName = () => {
78
76
  return this.appName;
79
77
  };
80
- this.setCdnUrl = cdnUrl => {
81
- this.cdnUrl = cdnUrl;
82
- };
83
- this.getCdnUrl = () => {
84
- return this.cdnUrl;
85
- };
86
- this.setAssetsUrl = assets => {
87
- this.assetsUrl = assets;
88
- };
89
- this.getAssetsUrl = () => {
90
- return this.assetsUrl;
91
- };
92
78
  }
93
79
  static default() {
94
80
  return ContextHolder.getInstance(DEFAULT_APP_NAME);
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.35.0-alpha.1
1
+ /** @license Frontegg v7.36.0-alpha.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "7.35.0-alpha.1",
3
+ "version": "7.36.0-alpha.0",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Frontegg LTD",