@abtnode/constant 1.6.5 → 1.6.9
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.
- package/index.js +13 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -147,7 +147,14 @@ const RBAC_CONFIG = {
|
|
|
147
147
|
'query_session',
|
|
148
148
|
],
|
|
149
149
|
[ROLES.MEMBER]: [ROLES.GUEST, 'mutate_blocklet', 'mutate_router', 'mutate_notification', 'mutate_session'],
|
|
150
|
-
[ROLES.ADMIN]: [
|
|
150
|
+
[ROLES.ADMIN]: [
|
|
151
|
+
ROLES.MEMBER,
|
|
152
|
+
'mutate_team',
|
|
153
|
+
'mutate_webhook',
|
|
154
|
+
'mutate_accessKey',
|
|
155
|
+
'mutate_node',
|
|
156
|
+
'mutate_certificate',
|
|
157
|
+
],
|
|
151
158
|
[ROLES.OWNER]: [ROLES.ADMIN],
|
|
152
159
|
'@abtnode/auth-service': ['query_team', 'mutate_team'],
|
|
153
160
|
ci: ['query_blocklet', 'mutate_blocklet'],
|
|
@@ -199,10 +206,14 @@ module.exports = Object.freeze({
|
|
|
199
206
|
BLOCKLET_STORE_API_PREFIX: '/api',
|
|
200
207
|
BLOCKLET_STORE_META_PATH: '/api/store.json',
|
|
201
208
|
|
|
209
|
+
DEFAULT_DID_REGISTRY: 'https://resolver.staging.arcblock.io',
|
|
210
|
+
DEFAULT_DID_DOMAIN: 'did.staging.arcblock.io',
|
|
202
211
|
DEFAULT_IP_DNS_DOMAIN_SUFFIX: 'ip.abtnet.io',
|
|
203
212
|
DEFAULT_DASHBOARD_DOMAIN: '*.ip.abtnet.io',
|
|
204
213
|
DEFAULT_DASHBOARD_CERT_DOWN_ADDR: 'https://cert.abtnet.io/open/download/certificates/ip_abtnet_io',
|
|
205
214
|
|
|
215
|
+
DEFAULT_CERTIFICATE_EMAIL: 'certs@arcblock.io',
|
|
216
|
+
|
|
206
217
|
CONFIG_FILENAME: 'abtnode.yml',
|
|
207
218
|
CONFIG_FOLDER_NAME: '.abtnode',
|
|
208
219
|
EXPORTED_FOLDER_NAME: 'exported_abtnode',
|
|
@@ -226,6 +237,7 @@ module.exports = Object.freeze({
|
|
|
226
237
|
DOMAIN_FOR_INTERNAL_SITE: '127.0.0.1',
|
|
227
238
|
NAME_FOR_WELLKNOWN_SITE: 'wellknown',
|
|
228
239
|
WELLKNOWN_PATH_PREFIX: '/.well-known',
|
|
240
|
+
WELLKNOWN_ACME_CHALLENGE_PREFIX: '/.well-known/acme-challenge',
|
|
229
241
|
WELLKNOWN_AUTH_PATH_PREFIX: '/.well-known/auth',
|
|
230
242
|
SLOT_FOR_IP_DNS_SITE: '888-888-888-888',
|
|
231
243
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.6.
|
|
6
|
+
"version": "1.6.9",
|
|
7
7
|
"description": "ABT Node constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"jest": "^27.
|
|
21
|
+
"jest": "^27.4.5"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "372e95513bd9a510702d93650c0c004589579cb3"
|
|
24
24
|
}
|