@abtnode/constant 1.16.32-beta-04a5da00 → 1.16.32-beta-0593a408

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 +4 -11
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,10 +1,5 @@
1
1
  const NODE_SERVICES = Object.freeze({
2
2
  AUTH: 'auth',
3
- AUTH_SERVICE: '@abtnode/auth-service', // deprecated
4
- });
5
-
6
- const NODE_SERVICES_PREFIX = Object.freeze({
7
- AUTH_SERVICE: `/.service/${NODE_SERVICES.AUTH_SERVICE}`, // deprecated
8
3
  });
9
4
 
10
5
  const ROLES = Object.freeze({
@@ -129,11 +124,6 @@ const RBAC_CONFIG = {
129
124
  passport: true,
130
125
  noHuman: true,
131
126
  },
132
- // for backward compatibility
133
- {
134
- name: NODE_SERVICES.AUTH_SERVICE,
135
- title: 'Auth Service',
136
- },
137
127
  ]),
138
128
  permissions: Object.freeze([
139
129
  {
@@ -585,7 +575,6 @@ module.exports = Object.freeze({
585
575
 
586
576
  // Service
587
577
  NODE_SERVICES,
588
- NODE_SERVICES_PREFIX,
589
578
 
590
579
  DISK_ALERT_THRESHOLD_PERCENT: 80,
591
580
 
@@ -668,4 +657,8 @@ module.exports = Object.freeze({
668
657
 
669
658
  STUDIO_CONNECTED_STORE: 'studio_connected_store',
670
659
  STUDIO_CONNECTED_AND_DEVELOPED: 'studio_connected_and_developed',
660
+
661
+ VERIFY_CODE_LENGTH: 6,
662
+ VERIFY_CODE_TTL: 30 * 60 * 1000,
663
+ VERIFY_SEND_TTL: 1 * 60 * 1000,
671
664
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.32-beta-04a5da00",
6
+ "version": "1.16.32-beta-0593a408",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^29.7.0"
22
22
  },
23
- "gitHead": "f609e3593366aace895c936b00f9623002e29b32"
23
+ "gitHead": "5cca981049ad04018d8d361d9cdd33748f47d7d7"
24
24
  }