@ixo/editor 1.11.0 → 1.13.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
@@ -835,6 +835,11 @@ interface ValidatorDetails extends Validator {
835
835
  interface LinkedResourceDetails extends LinkedResource {
836
836
  actionSections: SelectionActionSection[];
837
837
  }
838
+ interface DAOGroup {
839
+ id: string;
840
+ name: string;
841
+ coreAddress: string;
842
+ }
838
843
  interface BlockRequirements {
839
844
  proposal?: {
840
845
  coreAddress: string;
@@ -888,6 +893,8 @@ interface BlocknoteHandlers {
888
893
  getProposal: (proposalContractAddress: string, proposalId: string) => Promise<ProposalResponse>;
889
894
  getCurrentUser: () => User;
890
895
  getDaoGroupsIds: () => Promise<string[] | undefined>;
896
+ getDAOGroups: () => Promise<DAOGroup[]>;
897
+ getRelayerDid: () => string | undefined;
891
898
  getEntityDid: () => string | undefined;
892
899
  vote: ({ proposalId, rationale, vote, proposalContractAddress }: VoteParams) => Promise<void>;
893
900
  createProposal: (params: CreateProposalParams) => Promise<string>;
@@ -1076,6 +1083,9 @@ declare const ProposalBlockSpec: {
1076
1083
  readonly proposalContractAddress: {
1077
1084
  readonly default: "";
1078
1085
  };
1086
+ readonly coreAddress: {
1087
+ readonly default: "";
1088
+ };
1079
1089
  readonly conditions: {
1080
1090
  readonly default: "";
1081
1091
  };
@@ -1122,6 +1132,9 @@ declare const ProposalBlockSpec: {
1122
1132
  readonly proposalContractAddress: {
1123
1133
  readonly default: "";
1124
1134
  };
1135
+ readonly coreAddress: {
1136
+ readonly default: "";
1137
+ };
1125
1138
  readonly conditions: {
1126
1139
  readonly default: "";
1127
1140
  };
@@ -1420,6 +1433,9 @@ declare const blockSpecs: {
1420
1433
  readonly proposalContractAddress: {
1421
1434
  readonly default: "";
1422
1435
  };
1436
+ readonly coreAddress: {
1437
+ readonly default: "";
1438
+ };
1423
1439
  readonly conditions: {
1424
1440
  readonly default: "";
1425
1441
  };
@@ -1466,6 +1482,9 @@ declare const blockSpecs: {
1466
1482
  readonly proposalContractAddress: {
1467
1483
  readonly default: "";
1468
1484
  };
1485
+ readonly coreAddress: {
1486
+ readonly default: "";
1487
+ };
1469
1488
  readonly conditions: {
1470
1489
  readonly default: "";
1471
1490
  };
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  useBlocknoteHandlers,
19
19
  useCreateCollaborativeIxoEditor,
20
20
  useCreateIxoEditor
21
- } from "./chunk-7MKIYHNA.mjs";
21
+ } from "./chunk-3LUJTQVK.mjs";
22
22
  export {
23
23
  ApiRequestBlockSpec,
24
24
  AuthzExecActionTypes,
@@ -18,7 +18,7 @@ import {
18
18
  useBlocknoteHandlers,
19
19
  useCreateCollaborativeIxoEditor,
20
20
  useCreateIxoEditor
21
- } from "../chunk-7MKIYHNA.mjs";
21
+ } from "../chunk-3LUJTQVK.mjs";
22
22
  export {
23
23
  ApiRequestBlockSpec,
24
24
  AuthzExecActionTypes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "1.11.0",
3
+ "version": "1.13.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",