@abtnode/constant 1.6.20 → 1.6.23
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 +12 -12
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -184,10 +184,11 @@ module.exports = Object.freeze({
|
|
|
184
184
|
ROLLBACK: 'rollback',
|
|
185
185
|
}),
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
VC_TYPE_BLOCKLET_PURCHASE: 'BlockletPurchaseCredential',
|
|
188
|
+
VC_TYPE_NODE_PASSPORT: 'ABTNodePassport',
|
|
189
|
+
VC_TYPE_GENERAL_PASSPORT: 'NFTPassport',
|
|
190
|
+
|
|
191
|
+
NFT_TYPE_SERVER_OWNERSHIP: 'BlockletServerOwnershipNFT',
|
|
191
192
|
|
|
192
193
|
NODE_PACKAGE_NAME: '@abtnode/cli', // deprecated in 1.6.0
|
|
193
194
|
NODE_COMMAND_NAME: 'abtnode', // deprecated in 1.6.0
|
|
@@ -209,14 +210,16 @@ module.exports = Object.freeze({
|
|
|
209
210
|
DEFAULT_DID_REGISTRY: 'https://registry.abtnet.io',
|
|
210
211
|
DEFAULT_DID_DOMAIN: 'did.abtnet.io',
|
|
211
212
|
DEFAULT_IP_DNS_DOMAIN_SUFFIX: 'ip.abtnet.io',
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
DEFAULT_IP_DOMAIN: '*.ip.abtnet.io',
|
|
214
|
+
DEFAULT_WILDCARD_CERT_HOST: 'https://releases.arcblock.io/',
|
|
214
215
|
|
|
215
216
|
DEFAULT_CERTIFICATE_EMAIL: 'certs@arcblock.io',
|
|
216
217
|
|
|
217
|
-
CONFIG_FILENAME: '
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
CONFIG_FILENAME: 'config.yml',
|
|
219
|
+
CONFIG_FILENAME_OLD: 'abtnode.yml',
|
|
220
|
+
CONFIG_FOLDER_NAME: '.blocklet-server',
|
|
221
|
+
CONFIG_FOLDER_NAME_OLD: '.abtnode',
|
|
222
|
+
EXPORTED_FOLDER_NAME: 'exported_blocklet_server',
|
|
220
223
|
|
|
221
224
|
StatusCode: Object.freeze({
|
|
222
225
|
ok: 0,
|
|
@@ -272,9 +275,6 @@ module.exports = Object.freeze({
|
|
|
272
275
|
ROLES,
|
|
273
276
|
RBAC_CONFIG,
|
|
274
277
|
genPermissionName: (resource, action = 'access') => `${action}_${resource.replace('_', '-')}`, // resource cannot include '_'
|
|
275
|
-
NFT_TYPE_NODE_PASSPORT: 'ABTNodePassport',
|
|
276
|
-
NFT_TYPE_GENERAL_PASSPORT: 'NFTPassport',
|
|
277
|
-
NFT_TYPE_GENERAL_PASSPORT_OLD: 'PassportVerificationCredential', // backward compatible
|
|
278
278
|
PASSPORT_STATUS: {
|
|
279
279
|
VALID: 'valid',
|
|
280
280
|
REVOKED: 'revoked',
|
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.23",
|
|
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": "
|
|
23
|
+
"gitHead": "6c478fb7e2a30b302981b5339f349c69134e022e"
|
|
24
24
|
}
|