@ixo/editor 1.18.0 → 1.19.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
@@ -740,6 +740,17 @@ interface Dao {
740
740
  icon: string;
741
741
  description?: string;
742
742
  }
743
+ interface Balance {
744
+ denom: string;
745
+ tokenName: string;
746
+ chainCount: number;
747
+ tokenImage: string;
748
+ amount: number;
749
+ usdAmount: number;
750
+ isCoin: boolean;
751
+ isShare: boolean;
752
+ isCredit: boolean;
753
+ }
743
754
  interface Oracle {
744
755
  did: string;
745
756
  name: string;
@@ -911,7 +922,7 @@ interface BlocknoteHandlers {
911
922
  vote: ({ proposalId, rationale, vote, proposalContractAddress }: VoteParams) => Promise<void>;
912
923
  createProposal: (params: CreateProposalParams) => Promise<string>;
913
924
  getEntity: (did: string) => Promise<EntityResponse$1>;
914
- getAssets: (collectionDid: string, page: number) => Promise<{
925
+ getAssets: (collectionDid: string, page: number, ownerAddress?: string) => Promise<{
915
926
  data: Asset[];
916
927
  totalCount: number;
917
928
  }>;
@@ -982,6 +993,9 @@ interface BlocknoteHandlers {
982
993
  }) => Promise<{
983
994
  groupContractAddress: string;
984
995
  }>;
996
+ getBalances: (address: string) => Promise<{
997
+ data: Balance[];
998
+ }>;
985
999
  sendNotification: (params: NotificationParams) => Promise<NotificationResponse>;
986
1000
  getAssetDetails?: (id: string) => Promise<AssetDetails>;
987
1001
  getCollectionDetails?: (id: string) => Promise<CollectionDetails>;
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  useBlocknoteHandlers,
19
19
  useCreateCollaborativeIxoEditor,
20
20
  useCreateIxoEditor
21
- } from "./chunk-JQ2HK6IY.mjs";
21
+ } from "./chunk-FDLWSUB5.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-JQ2HK6IY.mjs";
21
+ } from "../chunk-FDLWSUB5.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.18.0",
3
+ "version": "1.19.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",