@etsoo/react 1.3.29 → 1.3.30

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,7 +1,7 @@
1
1
  /**
2
- * Constants
2
+ * Core constants
3
3
  */
4
- export declare namespace Constants {
4
+ export declare namespace CoreConstants {
5
5
  /**
6
6
  * Rresh token cache field
7
7
  */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Core constants
3
+ */
4
+ export var CoreConstants;
5
+ (function (CoreConstants) {
6
+ /**
7
+ * Rresh token cache field
8
+ */
9
+ CoreConstants.FieldRefreshToken = 'RefreshToken';
10
+ /**
11
+ * Refresh token header field name
12
+ */
13
+ CoreConstants.TokenHeaderRefresh = 'SmartERPRefreshToken';
14
+ })(CoreConstants || (CoreConstants = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.3.29",
3
+ "version": "1.3.30",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Constants
2
+ * Core constants
3
3
  */
4
- export namespace Constants {
4
+ export namespace CoreConstants {
5
5
  /**
6
6
  * Rresh token cache field
7
7
  */
@@ -1,14 +0,0 @@
1
- /**
2
- * Constants
3
- */
4
- export var Constants;
5
- (function (Constants) {
6
- /**
7
- * Rresh token cache field
8
- */
9
- Constants.FieldRefreshToken = 'RefreshToken';
10
- /**
11
- * Refresh token header field name
12
- */
13
- Constants.TokenHeaderRefresh = 'SmartERPRefreshToken';
14
- })(Constants || (Constants = {}));