@abtnode/constant 1.5.13 → 1.15.17

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 +17 -15
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -18,14 +18,14 @@ const RBAC_CONFIG = {
18
18
  {
19
19
  name: ROLES.OWNER,
20
20
  title: 'Owner',
21
- description: 'Has full administrative access to the ABT Node',
21
+ description: 'Has full administrative access to the Blocklet Server',
22
22
  passport: true,
23
23
  },
24
24
  {
25
25
  name: ROLES.ADMIN,
26
26
  title: 'Admin',
27
27
  description:
28
- 'Has full permissions to manage blocklet and ABT Node, such as install/remove/start/stop blocklet, manage blocklet URL mapping and certificates, manage blocklet team, manage node integrations and access keys, upgrade node to a new version',
28
+ 'Has full permissions to manage blocklet and Blocklet Server such as install/remove/start/stop blocklet, manage blocklet URL mapping and certificates, manage blocklet team, manage node integrations and access keys, upgrade node to a new version',
29
29
  passport: true,
30
30
  },
31
31
  {
@@ -38,20 +38,20 @@ const RBAC_CONFIG = {
38
38
  {
39
39
  name: ROLES.GUEST,
40
40
  title: 'Guest',
41
- description: 'Has all read permissions on ABT nodes',
41
+ description: 'Has all read permissions on Blocklet Server',
42
42
  passport: true,
43
43
  },
44
44
  {
45
45
  name: 'ci',
46
46
  title: 'CI',
47
- description: 'Deploy blocklet to ABT Node',
47
+ description: 'Deploy blocklet to Blocklet Server',
48
48
  passport: true,
49
49
  ci: true,
50
50
  },
51
51
  {
52
52
  name: 'certificate',
53
53
  title: 'Certificate',
54
- description: 'Manage https certificates for blocklets on the ABT Node',
54
+ description: 'Manage https certificates for blocklets on the Blocklet Server',
55
55
  passport: true,
56
56
  ci: true,
57
57
  },
@@ -63,7 +63,8 @@ const RBAC_CONFIG = {
63
63
  permissions: Object.freeze([
64
64
  {
65
65
  name: 'query_node',
66
- description: 'View node data, include dashboard and node settings, log stream for both ABT Node and blocklets',
66
+ description:
67
+ 'View node data, include dashboard and node settings, log stream for both Blocklet Server and blocklets',
67
68
  },
68
69
  {
69
70
  name: 'mutate_node',
@@ -79,19 +80,19 @@ const RBAC_CONFIG = {
79
80
  },
80
81
  {
81
82
  name: 'query_accessKey',
82
- description: 'View access keys for ABT Node',
83
+ description: 'View access keys for Blocklet Server',
83
84
  },
84
85
  {
85
86
  name: 'mutate_accessKey',
86
- description: 'Manage access keys for ABT Node, such as create/update/delete',
87
+ description: 'Manage access keys for Blocklet Server, such as create/update/delete',
87
88
  },
88
89
  {
89
90
  name: 'query_team',
90
- description: 'View team data(members/roles/permissions) for ABT Node and blocklets',
91
+ description: 'View team data(members/roles/permissions) for Blocklet Server and blocklets',
91
92
  },
92
93
  {
93
94
  name: 'mutate_team',
94
- description: 'Manage team data(members/roles/permissions) for ABT Node and blocklets',
95
+ description: 'Manage team data(members/roles/permissions) for Blocklet Server and blocklets',
95
96
  },
96
97
  {
97
98
  name: 'query_blocklet',
@@ -157,7 +158,7 @@ const RBAC_CONFIG = {
157
158
  const DAY_IN_MS = 24 * 60 * 60 * 1000;
158
159
 
159
160
  module.exports = Object.freeze({
160
- // ABT Node
161
+ // Blocklet Server
161
162
  NODE_MODES: Object.freeze({
162
163
  PRODUCTION: 'production',
163
164
  DEBUG: 'debug',
@@ -165,7 +166,7 @@ module.exports = Object.freeze({
165
166
  IMMUTABLE: 'immutable',
166
167
  }),
167
168
 
168
- DEFAULT_DESCRIPTION: 'Web Interface to manage your ABT Node',
169
+ DEFAULT_DESCRIPTION: 'Web Interface to manage your Blocklet Server',
169
170
 
170
171
  NODE_UPGRADE_PROGRESS: Object.freeze({
171
172
  SETUP: 'setup', // backup
@@ -193,9 +194,9 @@ module.exports = Object.freeze({
193
194
 
194
195
  NODE_REGISTER_URL: 'https://install.arcblock.io/', // removed in 1.5.1
195
196
  WEB_WALLET_URL: 'https://web.abtwallet.io',
196
- BLOCKLET_REGISTRY_URL: 'https://registry.arcblock.io',
197
- BLOCKLET_REGISTRY_URL_DEV: 'https://dev.registry.arcblock.io',
198
- BLOCKLET_REGISTRY_API_PREFIX: '/api',
197
+ BLOCKLET_STORE_URL: 'https://store.blocklet.dev',
198
+ BLOCKLET_STORE_URL_DEV: 'https://dev.store.blocklet.dev',
199
+ BLOCKLET_STORE_API_PREFIX: '/api',
199
200
 
200
201
  DEFAULT_IP_DNS_DOMAIN_SUFFIX: 'ip.abtnet.io',
201
202
  DEFAULT_DASHBOARD_DOMAIN: '*.ip.abtnet.io',
@@ -235,6 +236,7 @@ module.exports = Object.freeze({
235
236
  DEFAULT_DAEMON_PORT: 8089,
236
237
 
237
238
  BLOCKLET_PROXY_PATH_PREFIX: '/.blocklet/proxy',
239
+ BLOCKLET_SITE_GROUP_SUFFIX: '.blocklet-domain-group',
238
240
 
239
241
  // Time and dates
240
242
  DAY_IN_MS,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.13",
6
+ "version": "1.15.17",
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.3.1"
22
22
  },
23
- "gitHead": "abb145ffccdab4a9496a9e8a4dbc617306e17b84"
23
+ "gitHead": "22715c3ea74d0230f3413162a17f491614b6735a"
24
24
  }