@abtnode/constant
Advanced tools
Comparing version 1.6.27 to 1.6.28
24
index.js
const NODE_SERVICES = Object.freeze({ | ||
AUTH_SERVICE: '@abtnode/auth-service', | ||
AUTH: 'auth', | ||
AUTH_SERVICE: '@abtnode/auth-service', // deprecated | ||
}); | ||
const NODE_SERVICES_PREFIX = Object.freeze({ | ||
AUTH_SERVICE: `/.service/${NODE_SERVICES.AUTH_SERVICE}`, | ||
AUTH_SERVICE: `/.service/${NODE_SERVICES.AUTH_SERVICE}`, // deprecated | ||
}); | ||
@@ -167,2 +168,16 @@ | ||
const EVENTS = { | ||
NOTIFICATION_CREATE: 'notification.create', | ||
ROUTING_UPDATED: 'routing.updated', | ||
NODE_UPDATED: 'node.updated', | ||
NODE_UPGRADE_PROGRESS: 'node.upgrade.progress', | ||
NODE_STARTED: 'node.started', | ||
NODE_STOPPED: 'node.stopped', | ||
NODE_ADDED_OWNER: 'node.addedOwner', | ||
DOMAIN_STATUS: 'domain.status', | ||
USER_ADDED: 'user.added', | ||
USER_REMOVED: 'user.removed', | ||
USER_UPDATED: 'user.updated', | ||
}; | ||
module.exports = Object.freeze({ | ||
@@ -248,4 +263,4 @@ // Blocklet Server | ||
WELLKNOWN_DID_RESOLVER_PREFIX: '/.well-known/did.json', | ||
WELLKNOWN_AUTH_PATH_PREFIX: '/.well-known/auth', | ||
WELLKNOWN_PING_PREFIX: '/.well-known/ping', | ||
WELLKNOWN_SERVICE_PATH_PREFIX: '/.well-known/service', | ||
SLOT_FOR_IP_DNS_SITE: '888-888-888-888', | ||
@@ -294,2 +309,5 @@ | ||
DISK_ALERT_THRESHOLD_PERCENT: 80, | ||
// EVENTS | ||
EVENTS, | ||
}); |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.6.27", | ||
"version": "1.6.28", | ||
"description": "ABT Node constants", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "5ec2dbcfa7d9464c0430ea3112e4fe0fbab65414" | ||
"gitHead": "acef8ea339bd8fc9c785312eb5a1a113ecbf0d4d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9686
283