@abtnode/constant 1.5.0 → 1.5.4

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.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -2,6 +2,10 @@ const NODE_SERVICES = Object.freeze({
2
2
  AUTH_SERVICE: '@abtnode/auth-service',
3
3
  });
4
4
 
5
+ const NODE_SERVICES_PREFIX = Object.freeze({
6
+ AUTH_SERVICE: `/.service/${NODE_SERVICES.AUTH_SERVICE}`,
7
+ });
8
+
5
9
  const ROLES = Object.freeze({
6
10
  OWNER: 'owner',
7
11
  ADMIN: 'admin',
@@ -187,7 +191,7 @@ module.exports = Object.freeze({
187
191
  PROCESS_NAME_LOG_ROTATE: 'abt-node-log-rotate',
188
192
  PROCESS_NAME_EVENT_HUB: 'abt-node-event-hub',
189
193
 
190
- NODE_REGISTER_URL: 'https://install.arcblock.io/',
194
+ NODE_REGISTER_URL: 'https://install.arcblock.io/', // removed in 1.5.1
191
195
  WEB_WALLET_URL: 'https://web.abtwallet.io',
192
196
  BLOCKLET_REGISTRY_URL: 'https://registry.arcblock.io',
193
197
  BLOCKLET_REGISTRY_URL_DEV: 'https://dev.registry.arcblock.io',
@@ -220,6 +224,7 @@ module.exports = Object.freeze({
220
224
  DOMAIN_FOR_INTERNAL_SITE: '127.0.0.1',
221
225
  NAME_FOR_WELLKNOWN_SITE: 'wellknown',
222
226
  WELLKNOWN_PATH_PREFIX: '/.well-known',
227
+ WELLKNOWN_AUTH_PATH_PREFIX: '/.well-known/auth',
223
228
  SLOT_FOR_IP_DNS_SITE: '888-888-888-888',
224
229
 
225
230
  DEFAULT_ADMIN_PATH: '/admin',
@@ -259,6 +264,7 @@ module.exports = Object.freeze({
259
264
 
260
265
  // Service
261
266
  NODE_SERVICES,
267
+ NODE_SERVICES_PREFIX,
262
268
 
263
269
  DISK_ALERT_THRESHOLD_PERCENT: 80,
264
270
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.0",
6
+ "version": "1.5.4",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^26.4.2"
22
22
  },
23
- "gitHead": "bc78f2a10de0ccc7ae23b6b6f259c05606bad8f5"
23
+ "gitHead": "8856a7eae8ebd3e09ca11214892f57fb522f9b45"
24
24
  }