@abtnode/constant 1.8.37 → 1.8.39

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 +3 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -299,7 +299,7 @@ module.exports = Object.freeze({
299
299
  VC_TYPE_GENERAL_PASSPORT: 'NFTPassport',
300
300
 
301
301
  NFT_TYPE_SERVER_OWNERSHIP: 'BlockletServerOwnershipNFT',
302
- NFT_TYPE_SERVER_USAGE_CREDENTIAL: 'BlockletServerUsageCredential',
302
+ NFT_TYPE_SERVERLESS: 'BlockletServerServerlessNFT',
303
303
 
304
304
  NODE_PACKAGE_NAME: '@abtnode/cli', // deprecated in 1.6.0
305
305
  NODE_COMMAND_NAME: 'abtnode', // deprecated in 1.6.0
@@ -376,6 +376,7 @@ module.exports = Object.freeze({
376
376
  WELLKNOWN_DID_RESOLVER_PREFIX: '/.well-known/did.json',
377
377
  WELLKNOWN_PING_PREFIX: '/.well-known/ping',
378
378
  WELLKNOWN_SERVICE_PATH_PREFIX: '/.well-known/service',
379
+ WELLKNOWN_BLOCKLET_ADMIN_PATH: '/.well-known/service/admin',
379
380
  SLOT_FOR_IP_DNS_SITE: '888-888-888-888',
380
381
 
381
382
  DEFAULT_ADMIN_PATH: '/admin',
@@ -427,6 +428,7 @@ module.exports = Object.freeze({
427
428
  EVENTS,
428
429
 
429
430
  WHO_CAN_ACCESS,
431
+ WHO_CAN_ACCESS_PREFIX_ROLES: 'roles:',
430
432
 
431
433
  GATEWAY_REQ_LIMIT: Object.freeze({
432
434
  min: 10,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.37",
6
+ "version": "1.8.39",
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.5.1"
22
22
  },
23
- "gitHead": "f26f451c6e2b1168b36f78269eafdf3f671236bf"
23
+ "gitHead": "cf2223c4d9a999993b2be1c943dd75b4221593c3"
24
24
  }