@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/react.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { H as HaexVaultSdk, S as StorageAPI } from './client-DnCZ3KyI.mjs';
1
+ import { H as HaexVaultSdk, S as StorageAPI } from './client-Dn4AbXbT.mjs';
2
2
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
3
3
  import { H as HaexHubConfig, a as ExtensionInfo, A as ApplicationContext } from './types-DQZCRfC-.mjs';
4
4
 
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { H as HaexVaultSdk, S as StorageAPI } from './client-uuhuCPDu.js';
1
+ import { H as HaexVaultSdk, S as StorageAPI } from './client-DH4Km77u.js';
2
2
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
3
3
  import { H as HaexHubConfig, a as ExtensionInfo, A as ApplicationContext } from './types-DQZCRfC-.js';
4
4
 
package/dist/react.js CHANGED
@@ -645,6 +645,8 @@ var SPACE_COMMANDS = {
645
645
  unassign: "extension_space_unassign",
646
646
  /** Get space assignments for a table */
647
647
  getAssignments: "extension_space_get_assignments",
648
+ /** Get members of a shared space */
649
+ getMembers: "extension_space_get_members",
648
650
  /** List all spaces the user is a member of (with decrypted names) */
649
651
  list: "extension_space_list"};
650
652
 
@@ -1577,6 +1579,13 @@ var SpacesAPI = class {
1577
1579
  async listSpacesAsync() {
1578
1580
  return this.client.request(SPACE_COMMANDS.list);
1579
1581
  }
1582
+ /**
1583
+ * List members of a shared space (DID + label), flagging the current user.
1584
+ * Used to resolve assignment authors to names and to detect own vs shared-in content.
1585
+ */
1586
+ async getMembersAsync(spaceId) {
1587
+ return this.client.request(SPACE_COMMANDS.getMembers, { spaceId });
1588
+ }
1580
1589
  };
1581
1590
 
1582
1591
  // src/api/shell.ts