@polkadot-api/metadata-builders 0.2.0 → 0.3.1

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.mts CHANGED
@@ -38,7 +38,7 @@ type EnumVar = {
38
38
  value: StringRecord<({
39
39
  type: "lookupEntry";
40
40
  value: LookupEntry;
41
- } | VoidVar | TupleVar | StructVar) & {
41
+ } | VoidVar | TupleVar | StructVar | ArrayVar) & {
42
42
  idx: number;
43
43
  }>;
44
44
  innerDocs: StringRecord<string[]>;
@@ -215,7 +215,7 @@ declare const getChecksumBuilder: (metadata: V14 | V15) => {
215
215
  buildEvent: (pallet: string, name: string) => string | null;
216
216
  buildError: (pallet: string, name: string) => string | null;
217
217
  buildConstant: (pallet: string, constantName: string) => string | null;
218
- buildComposite: (input: VoidVar | TupleVar | StructVar) => string | null;
218
+ buildComposite: (input: VoidVar | TupleVar | StructVar | ArrayVar) => string | null;
219
219
  buildNamedTuple: (input: StructVar) => string | null;
220
220
  getAllGeneratedChecksums: () => string[];
221
221
  };
package/dist/index.d.ts CHANGED
@@ -38,7 +38,7 @@ type EnumVar = {
38
38
  value: StringRecord<({
39
39
  type: "lookupEntry";
40
40
  value: LookupEntry;
41
- } | VoidVar | TupleVar | StructVar) & {
41
+ } | VoidVar | TupleVar | StructVar | ArrayVar) & {
42
42
  idx: number;
43
43
  }>;
44
44
  innerDocs: StringRecord<string[]>;
@@ -215,7 +215,7 @@ declare const getChecksumBuilder: (metadata: V14 | V15) => {
215
215
  buildEvent: (pallet: string, name: string) => string | null;
216
216
  buildError: (pallet: string, name: string) => string | null;
217
217
  buildConstant: (pallet: string, constantName: string) => string | null;
218
- buildComposite: (input: VoidVar | TupleVar | StructVar) => string | null;
218
+ buildComposite: (input: VoidVar | TupleVar | StructVar | ArrayVar) => string | null;
219
219
  buildNamedTuple: (input: StructVar) => string | null;
220
220
  getAllGeneratedChecksums: () => string[];
221
221
  };