@blocklet/js-sdk 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.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as axios from 'axios';
2
2
  import { Axios, AxiosRequestConfig } from 'axios';
3
+ import { USER_SESSION_STATUS } from '@abtnode/constant';
3
4
  import { TTheme, TNavigationItem } from '@blocklet/meta/lib/types';
4
5
  import { TComponentInternalInfo } from '@blocklet/meta/lib/blocklet';
5
6
  import { BlockletStatus } from '@blocklet/meta/lib/constants';
@@ -247,7 +248,7 @@ type UserSessionList = {
247
248
  type UserSessionQuery = {
248
249
  page: number;
249
250
  pageSize: number;
250
- status?: 'online' | 'expired' | 'offline';
251
+ status?: USER_SESSION_STATUS.ONLINE | USER_SESSION_STATUS.EXPIRED | USER_SESSION_STATUS.OFFLINE;
251
252
  };
252
253
  declare class UserSessionService {
253
254
  private api;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as axios from 'axios';
2
2
  import { Axios, AxiosRequestConfig } from 'axios';
3
+ import { USER_SESSION_STATUS } from '@abtnode/constant';
3
4
  import { TTheme, TNavigationItem } from '@blocklet/meta/lib/types';
4
5
  import { TComponentInternalInfo } from '@blocklet/meta/lib/blocklet';
5
6
  import { BlockletStatus } from '@blocklet/meta/lib/constants';
@@ -247,7 +248,7 @@ type UserSessionList = {
247
248
  type UserSessionQuery = {
248
249
  page: number;
249
250
  pageSize: number;
250
- status?: 'online' | 'expired' | 'offline';
251
+ status?: USER_SESSION_STATUS.ONLINE | USER_SESSION_STATUS.EXPIRED | USER_SESSION_STATUS.OFFLINE;
251
252
  };
252
253
  declare class UserSessionService {
253
254
  private api;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/js-sdk",
3
- "version": "1.17.2-beta-20251113-233840-b720c2e6",
3
+ "version": "1.17.2",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -36,10 +36,10 @@
36
36
  "watch": "nodemon -w src -e ts -x 'npm run build'"
37
37
  },
38
38
  "dependencies": {
39
- "@abtnode/constant": "1.17.2-beta-20251113-233840-b720c2e6",
40
- "@arcblock/did": "^1.27.4",
41
- "@blocklet/meta": "1.17.2-beta-20251113-233840-b720c2e6",
42
- "@ocap/wallet": "^1.27.4",
39
+ "@abtnode/constant": "1.17.2",
40
+ "@arcblock/did": "^1.27.6",
41
+ "@blocklet/meta": "1.17.2",
42
+ "@ocap/wallet": "^1.27.6",
43
43
  "axios": "^1.7.9",
44
44
  "is-url": "^1.2.4",
45
45
  "js-cookie": "^3.0.5",
@@ -62,5 +62,5 @@
62
62
  "typescript": "^5.6.3",
63
63
  "unbuild": "^2.0.0"
64
64
  },
65
- "gitHead": "48e4475970ca42fc5da23d6d72ebfe892115077a"
65
+ "gitHead": "d11c73575f9211d0794ccb72ea8981c50700ad10"
66
66
  }