@ixo/editor 1.3.0 → 1.4.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/index.d.ts CHANGED
@@ -749,12 +749,11 @@ interface CreateProposalParams {
749
749
  coreAddress?: string;
750
750
  }
751
751
  interface BlocknoteHandlers {
752
- getCurrentDao: () => Promise<{
753
- coreAddress: string;
754
- }>;
755
752
  getVote: (proposalContractAddress: string, proposalId: string, userAddress: string) => Promise<VoteResponse>;
756
753
  getProposal: (proposalContractAddress: string, proposalId: string) => Promise<ProposalResponse>;
757
- getCurrentUser: () => Promise<User>;
754
+ getCurrentUser: () => User;
755
+ getDaoGroupsIds: () => string[] | undefined;
756
+ getEntityDid: () => string | undefined;
758
757
  vote: ({ proposalId, rationale, vote, proposalContractAddress }: VoteParams) => Promise<void>;
759
758
  createProposal: (params: CreateProposalParams) => Promise<string>;
760
759
  getEntity: (did: string) => Promise<EntityResponse$1>;
@@ -794,6 +793,10 @@ interface BlocknoteHandlers {
794
793
  data: Member[];
795
794
  totalCount: number;
796
795
  }>;
796
+ getDaoMembers: (address: string, groupIds: string[], withBalance: boolean, page: number) => Promise<{
797
+ data: Member[];
798
+ totalCount: number;
799
+ }>;
797
800
  getValidators: (relayerDid: string, page: number) => Promise<{
798
801
  data: Validator[];
799
802
  totalCount: number;
@@ -859,7 +862,9 @@ type GroupMembersListType = 'group_members';
859
862
 
860
863
  type ValidatorsListType = 'validators';
861
864
 
862
- type ListType = LinkedResourcesListType | AssetsListType | TransactionsListType | CollectionsListType | InvestmentsListType | OraclesListType | PodsListType | ProposalsListType | RequestsListType | GroupMembersListType | ValidatorsListType;
865
+ type DaoMembersListType = 'dao_members';
866
+
867
+ type ListType = LinkedResourcesListType | AssetsListType | TransactionsListType | CollectionsListType | InvestmentsListType | OraclesListType | PodsListType | ProposalsListType | RequestsListType | GroupMembersListType | ValidatorsListType | DaoMembersListType;
863
868
 
864
869
  interface ListBlockSettings {
865
870
  listType: ListType | null;
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  useBlocknoteHandlers,
18
18
  useCreateCollaborativeIxoEditor,
19
19
  useCreateIxoEditor
20
- } from "./chunk-N4T5JPKZ.mjs";
20
+ } from "./chunk-BO2JVTVH.mjs";
21
21
  export {
22
22
  AuthzExecActionTypes,
23
23
  BlocknoteProvider,
@@ -17,7 +17,7 @@ import {
17
17
  useBlocknoteHandlers,
18
18
  useCreateCollaborativeIxoEditor,
19
19
  useCreateIxoEditor
20
- } from "../chunk-N4T5JPKZ.mjs";
20
+ } from "../chunk-BO2JVTVH.mjs";
21
21
  export {
22
22
  AuthzExecActionTypes,
23
23
  BlocknoteProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -52,7 +52,7 @@
52
52
  "@ixo/matrix-crdt": "*",
53
53
  "@mantine/core": "^7.11.2",
54
54
  "@mantine/hooks": "^7.11.2",
55
- "matrix-js-sdk": "^37.5.0",
55
+ "matrix-js-sdk": "37.5.0",
56
56
  "react": "^18.0.0",
57
57
  "react-dom": "^18.0.0"
58
58
  },