@abtnode/constant 1.17.2-beta-20251113-233840-b720c2e6 → 1.17.2

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 +8 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -435,6 +435,13 @@ const EVENT_BUS_EVENT = 'event-bus';
435
435
 
436
436
  const NAVIGATION_I18N_FIELDS = Object.freeze(['title', 'description', 'link']);
437
437
 
438
+ // NOTICE: keep sync with @blocklet/constant
439
+ const USER_SESSION_STATUS = {
440
+ ONLINE: 'online',
441
+ OFFLINE: 'offline',
442
+ EXPIRED: 'expired',
443
+ };
444
+
438
445
  module.exports = Object.freeze({
439
446
  // Blocklet Server
440
447
  NODE_MODES: Object.freeze({
@@ -927,4 +934,5 @@ module.exports = Object.freeze({
927
934
  'isMaster',
928
935
  'status',
929
936
  ],
937
+ USER_SESSION_STATUS,
930
938
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.2-beta-20251113-233840-b720c2e6",
6
+ "version": "1.17.2",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -17,5 +17,5 @@
17
17
  },
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
- "gitHead": "48e4475970ca42fc5da23d6d72ebfe892115077a"
20
+ "gitHead": "d11c73575f9211d0794ccb72ea8981c50700ad10"
21
21
  }