@arcblock/ux 2.9.54 → 2.9.56
Sign up to get free protection for your applications and to get access to all the features.
- package/es/Util/constant.js +5 -1
- package/lib/Util/constant.js +6 -2
- package/package.json +5 -5
- package/src/Util/constant.js +5 -0
package/es/Util/constant.js
CHANGED
@@ -7,4 +7,8 @@ export const RELAY_SOCKET_PREFIX = '/.well-known/service';
|
|
7
7
|
export const API_DID_PREFIX = '/api/did';
|
8
8
|
export const DASHBOARD_URL = `${AUTH_SERVICE_PREFIX}/admin`;
|
9
9
|
export const PROFILE_URL = `${AUTH_SERVICE_PREFIX}/user`;
|
10
|
-
export const NAVIGATION_URL = `${AUTH_SERVICE_PREFIX}/admin/navigation`;
|
10
|
+
export const NAVIGATION_URL = `${AUTH_SERVICE_PREFIX}/admin/navigation`;
|
11
|
+
export const PASSPORT_STATUS = {
|
12
|
+
VALID: 'valid',
|
13
|
+
REVOKED: 'revoked'
|
14
|
+
};
|
package/lib/Util/constant.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.SESSION_TOKEN_STORAGE_KEY = exports.RELAY_SOCKET_PREFIX = exports.REFRESH_TOKEN_STORAGE_KEY = exports.PROFILE_URL = exports.NAVIGATION_URL = exports.DEFAULT_WINDOW_TIMEOUT = exports.DEFAULT_TIMEOUT = exports.DASHBOARD_URL = exports.AUTH_SERVICE_PREFIX = exports.API_DID_PREFIX = void 0;
|
6
|
+
exports.SESSION_TOKEN_STORAGE_KEY = exports.RELAY_SOCKET_PREFIX = exports.REFRESH_TOKEN_STORAGE_KEY = exports.PROFILE_URL = exports.PASSPORT_STATUS = exports.NAVIGATION_URL = exports.DEFAULT_WINDOW_TIMEOUT = exports.DEFAULT_TIMEOUT = exports.DASHBOARD_URL = exports.AUTH_SERVICE_PREFIX = exports.API_DID_PREFIX = void 0;
|
7
7
|
const DEFAULT_TIMEOUT = exports.DEFAULT_TIMEOUT = 5 * 60;
|
8
8
|
const DEFAULT_WINDOW_TIMEOUT = exports.DEFAULT_WINDOW_TIMEOUT = 30 * 60;
|
9
9
|
const AUTH_SERVICE_PREFIX = exports.AUTH_SERVICE_PREFIX = '/.well-known/service';
|
@@ -13,4 +13,8 @@ const RELAY_SOCKET_PREFIX = exports.RELAY_SOCKET_PREFIX = '/.well-known/service'
|
|
13
13
|
const API_DID_PREFIX = exports.API_DID_PREFIX = '/api/did';
|
14
14
|
const DASHBOARD_URL = exports.DASHBOARD_URL = "".concat(AUTH_SERVICE_PREFIX, "/admin");
|
15
15
|
const PROFILE_URL = exports.PROFILE_URL = "".concat(AUTH_SERVICE_PREFIX, "/user");
|
16
|
-
const NAVIGATION_URL = exports.NAVIGATION_URL = "".concat(AUTH_SERVICE_PREFIX, "/admin/navigation");
|
16
|
+
const NAVIGATION_URL = exports.NAVIGATION_URL = "".concat(AUTH_SERVICE_PREFIX, "/admin/navigation");
|
17
|
+
const PASSPORT_STATUS = exports.PASSPORT_STATUS = {
|
18
|
+
VALID: 'valid',
|
19
|
+
REVOKED: 'revoked'
|
20
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.9.
|
3
|
+
"version": "2.9.56",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -358,12 +358,12 @@
|
|
358
358
|
"@mui/material": "^5.15.0",
|
359
359
|
"react": ">=18.2.0"
|
360
360
|
},
|
361
|
-
"gitHead": "
|
361
|
+
"gitHead": "d08feff1d01ddf6c67bb8094588635e9005a1dc6",
|
362
362
|
"dependencies": {
|
363
363
|
"@arcblock/did-motif": "^1.1.13",
|
364
|
-
"@arcblock/icons": "^2.9.
|
365
|
-
"@arcblock/nft-display": "^2.9.
|
366
|
-
"@arcblock/react-hooks": "^2.9.
|
364
|
+
"@arcblock/icons": "^2.9.56",
|
365
|
+
"@arcblock/nft-display": "^2.9.56",
|
366
|
+
"@arcblock/react-hooks": "^2.9.56",
|
367
367
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
368
368
|
"@emotion/react": "^11.10.4",
|
369
369
|
"@emotion/styled": "^11.10.4",
|
package/src/Util/constant.js
CHANGED
@@ -10,3 +10,8 @@ export const API_DID_PREFIX = '/api/did';
|
|
10
10
|
export const DASHBOARD_URL = `${AUTH_SERVICE_PREFIX}/admin`;
|
11
11
|
export const PROFILE_URL = `${AUTH_SERVICE_PREFIX}/user`;
|
12
12
|
export const NAVIGATION_URL = `${AUTH_SERVICE_PREFIX}/admin/navigation`;
|
13
|
+
|
14
|
+
export const PASSPORT_STATUS = {
|
15
|
+
VALID: 'valid',
|
16
|
+
REVOKED: 'revoked',
|
17
|
+
};
|