@vulog/aima-user 1.2.10 → 1.2.11

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.js CHANGED
@@ -323,7 +323,7 @@ var getUsersPIByIds = async (client, ids, types) => {
323
323
  {
324
324
  userIds: result.data.ids
325
325
  }
326
- ).then(({ data }) => data);
326
+ ).then(({ data }) => data.content);
327
327
  };
328
328
 
329
329
  // src/label.ts
package/dist/index.mjs CHANGED
@@ -270,7 +270,7 @@ var getUsersPIByIds = async (client, ids, types) => {
270
270
  {
271
271
  userIds: result.data.ids
272
272
  }
273
- ).then(({ data }) => data);
273
+ ).then(({ data }) => data.content);
274
274
  };
275
275
 
276
276
  // src/label.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-user",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,9 +19,9 @@
19
19
  "author": "Vulog",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@vulog/aima-client": "1.2.10",
23
- "@vulog/aima-config": "1.2.10",
24
- "@vulog/aima-core": "1.2.10"
22
+ "@vulog/aima-client": "1.2.11",
23
+ "@vulog/aima-config": "1.2.11",
24
+ "@vulog/aima-core": "1.2.11"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "zod": "^3.25.76"
@@ -21,11 +21,11 @@ export const getUsersPIByIds = async (
21
21
  }
22
22
 
23
23
  return client
24
- .post<PersonalInformationUser[]>(
24
+ .post<{ content: PersonalInformationUser[] }>(
25
25
  `/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/users/pi/list?${result.data.types.map((type) => `types=${type}`).join('&')}`,
26
26
  {
27
27
  userIds: result.data.ids,
28
28
  }
29
29
  )
30
- .then(({ data }) => data);
30
+ .then(({ data }) => data.content);
31
31
  };