@haex-space/vault-sdk 3.6.0 → 3.7.0

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.
@@ -260,6 +260,8 @@ var SPACE_COMMANDS = {
260
260
  unassign: "extension_space_unassign",
261
261
  /** Get space assignments for a table */
262
262
  getAssignments: "extension_space_get_assignments",
263
+ /** Get members of a shared space */
264
+ getMembers: "extension_space_get_members",
263
265
  /** List all spaces the user is a member of (with decrypted names) */
264
266
  list: "extension_space_list"};
265
267
 
@@ -1217,6 +1219,13 @@ var SpacesAPI = class {
1217
1219
  async listSpacesAsync() {
1218
1220
  return this.client.request(SPACE_COMMANDS.list);
1219
1221
  }
1222
+ /**
1223
+ * List members of a shared space (DID + label), flagging the current user.
1224
+ * Used to resolve assignment authors to names and to detect own vs shared-in content.
1225
+ */
1226
+ async getMembersAsync(spaceId) {
1227
+ return this.client.request(SPACE_COMMANDS.getMembers, { spaceId });
1228
+ }
1220
1229
  };
1221
1230
 
1222
1231
  // src/api/shell.ts