@blocklet/sdk 1.16.42-beta-20250412-083409-53f46a85 → 1.16.42-beta-20250413-121549-22e9a196

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.
@@ -65,6 +65,9 @@ class AuthService {
65
65
  'getUsersCountPerRole',
66
66
  'getUser',
67
67
  'getOwner',
68
+ // user session
69
+ 'getUserSessions',
70
+ 'getUserSessionsCount',
68
71
  // 'removeUser',
69
72
  'updateUserApproval',
70
73
  'updateUserTags',
@@ -144,7 +147,7 @@ class AuthService {
144
147
  updatePermission: (fn) => (name, { description }) => fn({ input: { permission: (0, pickBy_1.default)({ name, description }, isNotNullOrUndefined), teamDid } }),
145
148
  deletePermission: (fn) => (name) => fn({ input: { name, teamDid } }),
146
149
  hasPermission: (fn) => (role, permission) => fn({ input: { teamDid, role, permission } }),
147
- getBlocklet: (fn) => (attachRuntimeInfo = false) => fn({ input: { did: teamDid, attachRuntimeInfo } }, { ignoreFields: ['blocklet.settings.navigations'] }),
150
+ getBlocklet: (fn) => (attachRuntimeInfo = false) => fn({ input: { did: teamDid, attachRuntimeInfo } }, { ignoreFields: ['blocklet.settings.navigations', 'blocklet.settings.theme'] }),
148
151
  };
149
152
  apiList.forEach((api) => {
150
153
  const fn = client[api];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.42-beta-20250412-083409-53f46a85",
6
+ "version": "1.16.42-beta-20250413-121549-22e9a196",
7
7
  "description": "graphql client to read/write data on abt node",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
@@ -27,16 +27,16 @@
27
27
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@abtnode/client": "1.16.42-beta-20250412-083409-53f46a85",
31
- "@abtnode/constant": "1.16.42-beta-20250412-083409-53f46a85",
32
- "@abtnode/util": "1.16.42-beta-20250412-083409-53f46a85",
30
+ "@abtnode/client": "1.16.42-beta-20250413-121549-22e9a196",
31
+ "@abtnode/constant": "1.16.42-beta-20250413-121549-22e9a196",
32
+ "@abtnode/util": "1.16.42-beta-20250413-121549-22e9a196",
33
33
  "@arcblock/did": "1.19.19",
34
34
  "@arcblock/did-auth": "1.19.19",
35
35
  "@arcblock/jwt": "1.19.19",
36
36
  "@arcblock/ws": "1.19.19",
37
- "@blocklet/constant": "1.16.42-beta-20250412-083409-53f46a85",
38
- "@blocklet/env": "1.16.42-beta-20250412-083409-53f46a85",
39
- "@blocklet/meta": "1.16.42-beta-20250412-083409-53f46a85",
37
+ "@blocklet/constant": "1.16.42-beta-20250413-121549-22e9a196",
38
+ "@blocklet/env": "1.16.42-beta-20250413-121549-22e9a196",
39
+ "@blocklet/meta": "1.16.42-beta-20250413-121549-22e9a196",
40
40
  "@did-connect/authenticator": "^2.2.7",
41
41
  "@did-connect/handler": "^2.2.7",
42
42
  "@nedb/core": "^2.1.5",
@@ -82,5 +82,5 @@
82
82
  "ts-node": "^10.9.1",
83
83
  "typescript": "^5.6.3"
84
84
  },
85
- "gitHead": "5a8845130c92e05d675243fd35648cfeaecf24c8"
85
+ "gitHead": "00ff6ee0d86ea1938965c69a973fd08ec1769f08"
86
86
  }