@abtnode/constant 1.8.0 → 1.8.3

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 +5 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -189,6 +189,7 @@ const EVENTS = {
189
189
  USER_REMOVED: 'user.removed',
190
190
  USER_UPDATED: 'user.updated',
191
191
  CERT_ISSUED: 'cert.issued',
192
+ CERT_UPDATED: 'cert.updated',
192
193
  CERT_ERROR: 'cert.error',
193
194
  RELOAD_GATEWAY: 'gateway.reload',
194
195
  };
@@ -205,7 +206,6 @@ module.exports = Object.freeze({
205
206
  PRODUCTION: 'production',
206
207
  DEBUG: 'debug',
207
208
  MAINTENANCE: 'maintenance',
208
- IMMUTABLE: 'immutable',
209
209
  }),
210
210
 
211
211
  DEFAULT_DESCRIPTION: 'Web Interface to manage your Blocklet Server',
@@ -273,6 +273,7 @@ module.exports = Object.freeze({
273
273
  }),
274
274
 
275
275
  // Service Gateway
276
+ // eslint-disable-next-line prefer-regex-literals
276
277
  IP: new RegExp('-(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\-(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}'),
277
278
  DOMAIN_FOR_IP_SITE: '',
278
279
  DOMAIN_FOR_IP_SITE_REGEXP: `~^\\d+.\\d+.\\d+.\\d+$`, // eslint-disable-line
@@ -336,4 +337,7 @@ module.exports = Object.freeze({
336
337
  min: 10,
337
338
  max: 100,
338
339
  }),
340
+
341
+ // Store
342
+ STORE_DETAIL_PAGE_PATH_PREFIX: '/blocklets',
339
343
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.0",
6
+ "version": "1.8.3",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^27.4.5"
22
22
  },
23
- "gitHead": "6446a85fb33721abc24bb1045d59158e6b96c241"
23
+ "gitHead": "c734aca7bf1fc03378c3b082d0622b6a540a8bd3"
24
24
  }