@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.
package/dist/vue.mjs CHANGED
@@ -643,6 +643,8 @@ var SPACE_COMMANDS = {
643
643
  unassign: "extension_space_unassign",
644
644
  /** Get space assignments for a table */
645
645
  getAssignments: "extension_space_get_assignments",
646
+ /** Get members of a shared space */
647
+ getMembers: "extension_space_get_members",
646
648
  /** List all spaces the user is a member of (with decrypted names) */
647
649
  list: "extension_space_list"};
648
650
 
@@ -1575,6 +1577,13 @@ var SpacesAPI = class {
1575
1577
  async listSpacesAsync() {
1576
1578
  return this.client.request(SPACE_COMMANDS.list);
1577
1579
  }
1580
+ /**
1581
+ * List members of a shared space (DID + label), flagging the current user.
1582
+ * Used to resolve assignment authors to names and to detect own vs shared-in content.
1583
+ */
1584
+ async getMembersAsync(spaceId) {
1585
+ return this.client.request(SPACE_COMMANDS.getMembers, { spaceId });
1586
+ }
1578
1587
  };
1579
1588
 
1580
1589
  // src/api/shell.ts