@blocklet/js-sdk 1.17.2-beta-20251113-233643-ab2254af → 1.17.2-beta-20251114-122922-4319f1ac
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +6 -6
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?:
|
|
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?:
|
|
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-
|
|
3
|
+
"version": "1.17.2-beta-20251114-122922-4319f1ac",
|
|
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-
|
|
40
|
-
"@arcblock/did": "^1.27.
|
|
41
|
-
"@blocklet/meta": "1.17.2-beta-
|
|
42
|
-
"@ocap/wallet": "^1.27.
|
|
39
|
+
"@abtnode/constant": "1.17.2-beta-20251114-122922-4319f1ac",
|
|
40
|
+
"@arcblock/did": "^1.27.6",
|
|
41
|
+
"@blocklet/meta": "1.17.2-beta-20251114-122922-4319f1ac",
|
|
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": "
|
|
65
|
+
"gitHead": "eb484ccabce50c438b8eec1be3738da18cd28f75"
|
|
66
66
|
}
|