@codama/renderers-js 1.3.0 → 1.3.2

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.
@@ -47,18 +47,18 @@ export function {{ instructionParseFunction }}<
47
47
  accountIndex += 1;
48
48
  return accountMeta;
49
49
  }
50
- {% if hasOptionalAccounts and instruction.optionalAccountStrategy === 'programId' %}
51
- const getNextOptionalAccount = () => {
52
- const accountMeta = getNextAccount();
53
- return accountMeta.address === {{ programAddressConstant }} ? undefined : accountMeta;
54
- };
55
- {% elif hasOptionalAccounts and instruction.optionalAccountStrategy === 'omitted' %}
50
+ {% if hasOptionalAccounts and instruction.optionalAccountStrategy === 'omitted' %}
56
51
  let optionalAccountsRemaining = instruction.accounts.length - {{ minimumNumberOfAccounts }};
57
52
  const getNextOptionalAccount = () => {
58
53
  if (optionalAccountsRemaining === 0) return undefined;
59
54
  optionalAccountsRemaining -= 1;
60
55
  return getNextAccount();
61
56
  };
57
+ {% elif hasOptionalAccounts %}
58
+ const getNextOptionalAccount = () => {
59
+ const accountMeta = getNextAccount();
60
+ return accountMeta.address === {{ programAddressConstant }} ? undefined : accountMeta;
61
+ };
62
62
  {% endif %}
63
63
  {% endif %}
64
64
  return {
@@ -1,6 +1,6 @@
1
1
  {% import "macros.njk" as macros %}
2
2
 
3
3
  {{ macros.docblock(docs) }}
4
- export function {{ codecFunction }}(): Codec<{{ looseName }}, {{ strictName }}> {
4
+ export function {{ codecFunction }}(): {{ codecType }}<{{ looseName }}, {{ strictName }}> {
5
5
  return combineCodec({{ encoderFunction }}(), {{ decoderFunction }}());
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {% import "macros.njk" as macros %}
2
2
 
3
3
  {{ macros.docblock(docs) }}
4
- export function {{ decoderFunction }}(): Decoder<{{ strictName }}> {
5
- return {{ manifest.decoder.render }};
4
+ export function {{ decoderFunction }}(): {{ decoderType }}<{{ strictName }}> {
5
+ return {{ manifest.decoder.render }}{% if useTypeCast %} as {{ decoderType }}<{{ strictName }}>{% endif %};
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {% import "macros.njk" as macros %}
2
2
 
3
3
  {{ macros.docblock(docs) }}
4
- export function {{ encoderFunction }}(): Encoder<{{ looseName }}> {
5
- return {{ manifest.encoder.render }};
4
+ export function {{ encoderFunction }}(): {{ encoderType }}<{{ looseName }}> {
5
+ return {{ manifest.encoder.render }}{% if useTypeCast %} as {{ encoderType }}<{{ looseName }}>{% endif %};
6
6
  }
@@ -5,6 +5,7 @@ import { TypeManifest } from '../TypeManifest';
5
5
  import { Fragment } from './common';
6
6
  export declare function getAccountTypeFragment(scope: Pick<GlobalFragmentScope, 'customAccountData' | 'nameApi'> & {
7
7
  accountPath: NodePath<AccountNode>;
8
+ size: number | null;
8
9
  typeManifest: TypeManifest;
9
10
  }): Fragment;
10
11
  //# sourceMappingURL=accountType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accountType.d.ts","sourceRoot":"","sources":["../../../src/fragments/accountType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAuB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAY,MAAM,UAAU,CAAC;AAG9C,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,SAAS,CAAC,GAAG;IAChE,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,YAAY,EAAE,YAAY,CAAC;CAC9B,GACF,QAAQ,CAaV"}
1
+ {"version":3,"file":"accountType.d.ts","sourceRoot":"","sources":["../../../src/fragments/accountType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAuB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAY,MAAM,UAAU,CAAC;AAG9C,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,mBAAmB,GAAG,SAAS,CAAC,GAAG;IAChE,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;CAC9B,GACF,QAAQ,CAeV"}
@@ -6,5 +6,6 @@ import { Fragment } from './common';
6
6
  export declare function getInstructionDataFragment(scope: Pick<GlobalFragmentScope, 'customInstructionData' | 'nameApi'> & {
7
7
  dataArgsManifest: TypeManifest;
8
8
  instructionPath: NodePath<InstructionNode>;
9
+ size: number | null;
9
10
  }): Fragment;
10
11
  //# sourceMappingURL=instructionData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instructionData.d.ts","sourceRoot":"","sources":["../../../src/fragments/instructionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAuB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAY,MAAM,UAAU,CAAC;AAG9C,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC,GAAG;IACpE,gBAAgB,EAAE,YAAY,CAAC;IAC/B,eAAe,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;CAC9C,GACF,QAAQ,CAaV"}
1
+ {"version":3,"file":"instructionData.d.ts","sourceRoot":"","sources":["../../../src/fragments/instructionData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA8C,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAuB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAY,MAAM,UAAU,CAAC;AAG9C,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC,GAAG;IACpE,gBAAgB,EAAE,YAAY,CAAC;IAC/B,eAAe,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC3C,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GACF,QAAQ,CAeV"}
@@ -1,3 +1,4 @@
1
+ import type { TypeNode } from '@codama/nodes';
1
2
  import { GlobalFragmentScope } from '../getRenderMapVisitor';
2
3
  import { TypeManifest } from '../TypeManifest';
3
4
  import { Fragment } from './common';
@@ -7,5 +8,7 @@ export declare function getTypeCodecFragment(scope: Pick<GlobalFragmentScope, 'n
7
8
  encoderDocs?: string[];
8
9
  manifest: Pick<TypeManifest, 'decoder' | 'encoder'>;
9
10
  name: string;
11
+ node: TypeNode;
12
+ size: number | null;
10
13
  }): Fragment;
11
14
  //# sourceMappingURL=typeCodec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeCodec.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeCodec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAwC,MAAM,UAAU,CAAC;AAI1E,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;CAChB,GACF,QAAQ,CAkBV"}
1
+ {"version":3,"file":"typeCodec.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeCodec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAwC,MAAM,UAAU,CAAC;AAI1E,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GACF,QAAQ,CAoBV"}
@@ -1,3 +1,4 @@
1
+ import { TypeNode } from '@codama/nodes';
1
2
  import type { GlobalFragmentScope } from '../getRenderMapVisitor';
2
3
  import { TypeManifest } from '../TypeManifest';
3
4
  import { Fragment } from './common';
@@ -5,5 +6,7 @@ export declare function getTypeDecoderFragment(scope: Pick<GlobalFragmentScope,
5
6
  docs?: string[];
6
7
  manifest: Pick<TypeManifest, 'decoder'>;
7
8
  name: string;
9
+ node: TypeNode;
10
+ size: number | null;
8
11
  }): Fragment;
9
12
  //# sourceMappingURL=typeDecoder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeDecoder.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeDecoder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAwB,MAAM,UAAU,CAAC;AAE1D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;CAChB,GACF,QAAQ,CAWV"}
1
+ {"version":3,"file":"typeDecoder.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeDecoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAwB,MAAM,UAAU,CAAC;AAE1D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GACF,QAAQ,CAgBV"}
@@ -1,3 +1,4 @@
1
+ import { TypeNode } from '@codama/nodes';
1
2
  import type { GlobalFragmentScope } from '../getRenderMapVisitor';
2
3
  import { TypeManifest } from '../TypeManifest';
3
4
  import { Fragment } from './common';
@@ -5,5 +6,7 @@ export declare function getTypeEncoderFragment(scope: Pick<GlobalFragmentScope,
5
6
  docs?: string[];
6
7
  manifest: Pick<TypeManifest, 'encoder'>;
7
8
  name: string;
9
+ node: TypeNode;
10
+ size: number | null;
8
11
  }): Fragment;
9
12
  //# sourceMappingURL=typeEncoder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeEncoder.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeEncoder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAwB,MAAM,UAAU,CAAC;AAE1D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;CAChB,GACF,QAAQ,CAWV"}
1
+ {"version":3,"file":"typeEncoder.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeEncoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAwB,MAAM,UAAU,CAAC;AAE1D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GACF,QAAQ,CAgBV"}
@@ -1,3 +1,4 @@
1
+ import type { TypeNode } from '@codama/nodes';
1
2
  import type { GlobalFragmentScope } from '../getRenderMapVisitor';
2
3
  import { TypeManifest } from '../TypeManifest';
3
4
  import { Fragment } from './common';
@@ -7,6 +8,8 @@ export declare function getTypeWithCodecFragment(scope: Pick<GlobalFragmentScope
7
8
  encoderDocs?: string[];
8
9
  manifest: TypeManifest;
9
10
  name: string;
11
+ node: TypeNode;
12
+ size: number | null;
10
13
  typeDocs?: string[];
11
14
  }): Fragment;
12
15
  //# sourceMappingURL=typeWithCodec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeWithCodec.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeWithCodec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAIpD,wBAAgB,wBAAwB,CACpC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,GACF,QAAQ,CAIV"}
1
+ {"version":3,"file":"typeWithCodec.d.ts","sourceRoot":"","sources":["../../../src/fragments/typeWithCodec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAIpD,wBAAgB,wBAAwB,CACpC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,GACF,QAAQ,CAIV"}
@@ -1 +1 @@
1
- {"version":3,"file":"getRenderMapVisitor.d.ts","sourceRoot":"","sources":["../../src/getRenderMapVisitor.ts"],"names":[],"mappings":"AAGA,OAAO,EAEH,eAAe,EAUlB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAIH,kBAAkB,EAOrB,MAAM,uBAAuB,CAAC;AAsB/B,OAAO,EAA0B,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEvF,OAAO,EAAyC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtG,OAAO,EACH,iBAAiB,EAGjB,qBAAqB,EACrB,aAAa,EAEb,uBAAuB,EAE1B,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,mBAAmB,GAAG;IAC9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,qBAAqB,EAAE,uBAAuB,CAAC;IAC/C,aAAa,EAAE,qBAAqB,CAAC;IACrC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,wBAAwB,EAAE,OAAO,CAAC;IAClC,mBAAmB,EAAE,mBAAmB,CAAC;CAC5C,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,mBAAwB,sJA8VpE"}
1
+ {"version":3,"file":"getRenderMapVisitor.d.ts","sourceRoot":"","sources":["../../src/getRenderMapVisitor.ts"],"names":[],"mappings":"AAGA,OAAO,EAEH,eAAe,EAUlB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAKH,kBAAkB,EAOrB,MAAM,uBAAuB,CAAC;AAsB/B,OAAO,EAA0B,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEvF,OAAO,EAAyC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtG,OAAO,EACH,iBAAiB,EAGjB,qBAAqB,EACrB,aAAa,EAEb,uBAAuB,EAE1B,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,mBAAmB,GAAG;IAC9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,qBAAqB,EAAE,uBAAuB,CAAC;IAC/C,aAAa,EAAE,qBAAqB,CAAC;IACrC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,wBAAwB,EAAE,OAAO,CAAC;IAClC,mBAAmB,EAAE,mBAAmB,CAAC;CAC5C,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,mBAAwB,sJAmWpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codama/renderers-js",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "JavaScript renderer compatible with the Solana Kit library",
5
5
  "exports": {
6
6
  "types": "./dist/types/index.d.ts",
@@ -31,14 +31,14 @@
31
31
  "@solana/codecs-strings": "^2.3.0",
32
32
  "nunjucks": "^3.2.4",
33
33
  "prettier": "^3.6.2",
34
- "@codama/errors": "1.3.0",
35
- "@codama/nodes": "1.3.0",
36
- "@codama/renderers-core": "1.0.16",
37
- "@codama/visitors-core": "1.3.0"
34
+ "@codama/errors": "1.3.1",
35
+ "@codama/nodes": "1.3.1",
36
+ "@codama/renderers-core": "1.0.17",
37
+ "@codama/visitors-core": "1.3.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/nunjucks": "^3.2.6",
41
- "@codama/nodes-from-anchor": "1.2.2"
41
+ "@codama/nodes-from-anchor": "1.2.3"
42
42
  },
43
43
  "license": "MIT",
44
44
  "repository": {