@abtnode/constant
Advanced tools
Comparing version 1.16.33-beta-20241024-064549-2c1ad302 to 1.16.33-beta-20241028-005826-60afb7c4
24
index.js
@@ -281,7 +281,8 @@ const NODE_SERVICES = Object.freeze({ | ||
const WHO_CAN_ACCESS = { | ||
const WHO_CAN_ACCESS = Object.freeze({ | ||
OWNER: 'owner', | ||
ADMIN: 'admin', | ||
INVITED: 'invited', | ||
ALL: 'all', | ||
}; | ||
}); | ||
@@ -414,2 +415,12 @@ const BLOCKLET_STORE_URL = 'https://store.blocklet.dev'; | ||
// security rule relates | ||
const SECURITY_RULE_DEFAULT_ID = 'default'; | ||
const ACCESS_POLICY_PUBLIC = 'public'; | ||
const ACCESS_POLICY_INVITED_ONLY = 'invited-only'; | ||
const ACCESS_POLICY_OWNER_ONLY = 'owner-only'; | ||
const ACCESS_POLICY_ADMIN_ONLY = 'admin-only'; | ||
const RESPONSE_HEADER_POLICY_SIMPLE_CORS = 'simple-cors'; | ||
const RESPONSE_HEADER_POLICY_SECURITY_HEADER = 'security-header'; | ||
const RESPONSE_HEADER_POLICY_SIMPLE_CORS_AND_SECURITY_HEADER = 'simple-cors-and-security-header'; | ||
module.exports = Object.freeze({ | ||
@@ -666,2 +677,11 @@ // Blocklet Server | ||
VERIFY_SEND_TTL: 1 * 60 * 1000, | ||
SECURITY_RULE_DEFAULT_ID, | ||
ACCESS_POLICY_PUBLIC, | ||
ACCESS_POLICY_INVITED_ONLY, | ||
ACCESS_POLICY_OWNER_ONLY, | ||
ACCESS_POLICY_ADMIN_ONLY, | ||
RESPONSE_HEADER_POLICY_SIMPLE_CORS, | ||
RESPONSE_HEADER_POLICY_SECURITY_HEADER, | ||
RESPONSE_HEADER_POLICY_SIMPLE_CORS_AND_SECURITY_HEADER, | ||
}); |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.16.33-beta-20241024-064549-2c1ad302", | ||
"version": "1.16.33-beta-20241028-005826-60afb7c4", | ||
"description": "ABT Node constants", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "3b0da27501ff0c115335cbf46364c37a754fefdc" | ||
"gitHead": "12b595141a023fe3c3fdb2d7083b3f11624601e8" | ||
} |
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
19717
617