@abtnode/constant 1.6.18 → 1.6.22
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 +7 -9
- 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,8 +210,8 @@ 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
|
|
|
@@ -272,9 +273,6 @@ module.exports = Object.freeze({
|
|
|
272
273
|
ROLES,
|
|
273
274
|
RBAC_CONFIG,
|
|
274
275
|
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
276
|
PASSPORT_STATUS: {
|
|
279
277
|
VALID: 'valid',
|
|
280
278
|
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.22",
|
|
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": "18ac52a439dbd04e4ace98d796b6de517503fb14"
|
|
24
24
|
}
|