diff --git a/package.json b/package.json index dba38af0a..1ef61f29f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "generate:clients": "zx ./scripts/generate-clients.mjs" }, "devDependencies": { - "@codama/renderers-js": "^1.3.5", + "@codama/renderers-js": "^1.4.2", "@codama/renderers-rust": "^1.2.5", "@iarna/toml": "^2.2.5", "codama": "^1.3.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1fb7a5704..0fdf885fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.3.5 - version: 1.3.5(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) + specifier: ^1.4.2 + version: 1.4.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) '@codama/renderers-rust': specifier: ^1.2.5 version: 1.2.5(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) @@ -33,10 +33,6 @@ packages: resolution: {integrity: sha512-UgJGaTK2TXnbRcnCgReKqcDFjU941XZTvA0qbSiFH0Njrwb0kcLkKirMKwdyDaCHry7QcybzIKbp4ErrwqExMA==} hasBin: true - '@codama/errors@1.3.4': - resolution: {integrity: sha512-gEbfWkf5J1klGlLbrg5zIMYTncYO6SCsLRxKbDRrE1TmxRqt3cUovQyPhccGcNh/e/GisauIGjbsZTJaFNgXuw==} - hasBin: true - '@codama/errors@1.3.6': resolution: {integrity: sha512-pWP42vregNgFGKY/hF4ifyfSL8FfYNnd0fKXjxP3IUX9HS7+T1CcfgfJ7St9YI6C77LpFPWmx+68Af4DGnAhKA==} hasBin: true @@ -45,32 +41,27 @@ packages: resolution: {integrity: sha512-96BF8agDVc2vAgL4qw1lZZfuJ7XBefdzTBk2VOUnOhdMQiLb0QhJCC4BH88OcL+rZXQdet4pk7Qwarj1I1GFKg==} hasBin: true - '@codama/node-types@1.3.4': - resolution: {integrity: sha512-WOKU9v019gfX58y+I+hadokckvYLEZKvcsXpf578S+B+sV9YBCOhIjlzDDONcfe9iGUw49M6VpyWkp+EenasLg==} - '@codama/node-types@1.3.6': resolution: {integrity: sha512-n9BpPh/Kl6Z6Bbt1MtsKykAtdPKljoBm4T8ea1IL9ABdFs+wnvgZBxnIAhgM0hC82AtvQPNGezXzLTER1JZpyg==} '@codama/node-types@1.3.7': resolution: {integrity: sha512-L9UTFfoeki5t+BYJAa4OMsqBPpbMbx8YJQar+55mYcjwGlJsKJW7mRfLYvwEFkCUYyLdNva40OVmTf88jccZCA==} - '@codama/nodes@1.3.4': - resolution: {integrity: sha512-Q3eS/kMqiozZzlpY/otVfQQ9M3pRdCS0D1dlB3TyuHWBAJiAGPfjRT21KQ4M8xub6eTWJY7PwT7sykPqS/fQPg==} - '@codama/nodes@1.3.6': resolution: {integrity: sha512-6fgnfmx0v5fR153Lkwe4Ghl2ei/7ZEqFfGZxRPzzzYwPAE/Q5Am+xZ0mULDyI1wW37HftCtAkTuXnIv2+6l+SQ==} '@codama/nodes@1.3.7': resolution: {integrity: sha512-3OV6SIBcqsIDARyzZVGdfnffNlnKSYcb0aGp/9Liz5/EID0oBTIyuh/Cmj5Ww6RX4WPb+GNAxABAGW94zbcfQg==} - '@codama/renderers-core@1.1.0': - resolution: {integrity: sha512-OscEiIv4nXiiqb2I9PWDI0Aw8bM6Qdtb9oqbuFb0XXt8hJTeLoNk+AN8ZZFtJMtiy+SizJjUsbX2KFE2HsVhdg==} - '@codama/renderers-core@1.2.1': resolution: {integrity: sha512-L7qAQvgTLmgzBKZYLO9XZKCvdT5vAEConzzCEy6n/CW4n48bxJDMTb+J6deaId//CpHOCPpxsSSoEjcxCOvqjA==} - '@codama/renderers-js@1.3.5': - resolution: {integrity: sha512-c23KBVOqmNd02pzxSTGxBUKVnC6LOZOK2KPeYCb3EsmD5E4YSEFAMt2bI66BsbzuisKxLya9dop7UG5wRGfIIg==} + '@codama/renderers-core@1.2.2': + resolution: {integrity: sha512-dPyHgn5L45G+tWP17ITvOlpX3+s2FcJHMjAhFZlmUHAJpH/wl+UsUwuWg698iSb56Er2jUwqX7srw5iZf7XHjQ==} + + '@codama/renderers-js@1.4.2': + resolution: {integrity: sha512-emYJEPNDQ/DjHYDBNPt/HEr+97ClpEQT7LPPNZ44DRSEG4Qj9ti/aBvtgOrIyESyyTOaKrUzu7Ew6S+TBB/eFg==} + engines: {node: '>=20.18.0'} '@codama/renderers-rust@1.2.5': resolution: {integrity: sha512-tCsGpi98+JLvgIcAjorP/edFqeWUyCEpoVOAQZvfIl/yTzS5JpYd0UyzEq9Z3MpvEoG3d8o2jJx6C1NyXi+MzQ==} @@ -78,9 +69,6 @@ packages: '@codama/validators@1.3.7': resolution: {integrity: sha512-OxuPhIPcuqSLmwDTcl9+VyEq6mwsLLqVXtQjgQgjEpr0IO/KAV9RG98Ye2yoK21jEVGDnzN9jsSQVHysRfpMMA==} - '@codama/visitors-core@1.3.4': - resolution: {integrity: sha512-TCP1ncA0ErBvv5q8BKCRvv98qHh9on8MOiPhdToJ/w50aNm0y5Y2mHbUWqk5vle8k3V9fuo7uf1aAOaqA6G4Vg==} - '@codama/visitors-core@1.3.6': resolution: {integrity: sha512-qdG27oyCYYG53vD9V/M60/TS6IxlMSf8b/5KLb/UgCykNRFLxXhDZXkwnMKKtF3LgHFxaayb0Zq+W1Z0lmjaig==} @@ -93,37 +81,18 @@ packages: '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@solana/codecs-core@3.0.2': - resolution: {integrity: sha512-vpy8ySWgPF8+APwpeEr4dQbU/EyHjisd/TywIw3rymguWeZ9/wcThS0WDRi08Z44W6InCIbtI08RdtuHQZoSag==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.3.3' - '@solana/codecs-core@3.0.3': resolution: {integrity: sha512-emKykJ3h1DmnDOY29Uv9eJXP8E/FHzvlUBJ6te+5EbKdFjj7vdlKYPfDxOI6iGdXTY+YC/ELtbNBh6QwF2uEDQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-numbers@3.0.2': - resolution: {integrity: sha512-Yr9kWo2BF4Wdu9mhceUQ3ksA6ZTi2CvQr8GWkRh9DQjvmrdqE2vwxwWWcmnzGDzwbta5o4tAr8JjtAtmwpiLEg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.3.3' - '@solana/codecs-numbers@3.0.3': resolution: {integrity: sha512-pfXkH9J0glrM8qj6389GAn30+cJOxzXLR2FsPOHCUMXrqLhGjMMZAWhsQkpOQ37SGc/7EiQsT/gmyGC7gxHqJQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-strings@3.0.2': - resolution: {integrity: sha512-V7Ivy3TjdrLL4E3wT2d32MpGYQFWM1UKnevLXPib/Aqws4nP/bGMHq6gSIJ4b9HrkFfrlEgSjusOyEJbRBBFag==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5.3.3' - '@solana/codecs-strings@3.0.3': resolution: {integrity: sha512-VHBXnnTVtcQ1j+7Vrz+qSYo38no+jiHRdGnhFspRXEHNJbllzwKqgBE7YN3qoIXH+MKxgJUcwO5KHmdzf8Wn2A==} engines: {node: '>=20.18.0'} @@ -131,13 +100,6 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5.3.3' - '@solana/errors@3.0.2': - resolution: {integrity: sha512-0B4y9JUsX8/DzflhdSXSAF+UPUKyo1R1rrQ/ShS/8ApCOIWIFqZlve0TPatuTOGGNBememoukPOvDVtFy0ZYpg==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: '>=5.3.3' - '@solana/errors@3.0.3': resolution: {integrity: sha512-1l84xJlHNva6io62PcYfUamwWlc0eM95nHgCrKX0g0cLoC6D6QHYPCEbEVkR+C5UtP9JDgyQM8MFiv+Ei5tO9Q==} engines: {node: '>=20.18.0'} @@ -163,10 +125,6 @@ packages: resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} engines: {node: '>= 0.4'} - chalk@5.6.0: - resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - chalk@5.6.2: resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} @@ -308,12 +266,6 @@ snapshots: picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.3.4': - dependencies: - '@codama/node-types': 1.3.4 - chalk: 5.6.0 - commander: 14.0.0 - '@codama/errors@1.3.6': dependencies: '@codama/node-types': 1.3.6 @@ -326,17 +278,10 @@ snapshots: commander: 14.0.1 picocolors: 1.1.1 - '@codama/node-types@1.3.4': {} - '@codama/node-types@1.3.6': {} '@codama/node-types@1.3.7': {} - '@codama/nodes@1.3.4': - dependencies: - '@codama/errors': 1.3.4 - '@codama/node-types': 1.3.4 - '@codama/nodes@1.3.6': dependencies: '@codama/errors': 1.3.6 @@ -347,29 +292,27 @@ snapshots: '@codama/errors': 1.3.7 '@codama/node-types': 1.3.7 - '@codama/renderers-core@1.1.0': - dependencies: - '@codama/errors': 1.3.4 - '@codama/nodes': 1.3.4 - '@codama/visitors-core': 1.3.4 - '@codama/renderers-core@1.2.1': dependencies: '@codama/errors': 1.3.6 '@codama/nodes': 1.3.6 '@codama/visitors-core': 1.3.6 - '@codama/renderers-js@1.3.5(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': + '@codama/renderers-core@1.2.2': dependencies: - '@codama/errors': 1.3.4 - '@codama/nodes': 1.3.4 - '@codama/renderers-core': 1.1.0 - '@codama/visitors-core': 1.3.4 - '@solana/codecs-strings': 3.0.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) - nunjucks: 3.2.4 + '@codama/errors': 1.3.7 + '@codama/nodes': 1.3.7 + '@codama/visitors-core': 1.3.7 + + '@codama/renderers-js@1.4.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': + dependencies: + '@codama/errors': 1.3.7 + '@codama/nodes': 1.3.7 + '@codama/renderers-core': 1.2.2 + '@codama/visitors-core': 1.3.7 + '@solana/codecs-strings': 3.0.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2) prettier: 3.6.2 transitivePeerDependencies: - - chokidar - fastestsmallesttextencoderdecoder - typescript @@ -392,12 +335,6 @@ snapshots: '@codama/nodes': 1.3.7 '@codama/visitors-core': 1.3.7 - '@codama/visitors-core@1.3.4': - dependencies: - '@codama/errors': 1.3.4 - '@codama/nodes': 1.3.4 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.3.6': dependencies: '@codama/errors': 1.3.6 @@ -418,36 +355,17 @@ snapshots: '@iarna/toml@2.2.5': {} - '@solana/codecs-core@3.0.2(typescript@5.9.2)': - dependencies: - '@solana/errors': 3.0.2(typescript@5.9.2) - typescript: 5.9.2 - '@solana/codecs-core@3.0.3(typescript@5.9.2)': dependencies: '@solana/errors': 3.0.3(typescript@5.9.2) typescript: 5.9.2 - '@solana/codecs-numbers@3.0.2(typescript@5.9.2)': - dependencies: - '@solana/codecs-core': 3.0.2(typescript@5.9.2) - '@solana/errors': 3.0.2(typescript@5.9.2) - typescript: 5.9.2 - '@solana/codecs-numbers@3.0.3(typescript@5.9.2)': dependencies: '@solana/codecs-core': 3.0.3(typescript@5.9.2) '@solana/errors': 3.0.3(typescript@5.9.2) typescript: 5.9.2 - '@solana/codecs-strings@3.0.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': - dependencies: - '@solana/codecs-core': 3.0.2(typescript@5.9.2) - '@solana/codecs-numbers': 3.0.2(typescript@5.9.2) - '@solana/errors': 3.0.2(typescript@5.9.2) - fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.9.2 - '@solana/codecs-strings@3.0.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2)': dependencies: '@solana/codecs-core': 3.0.3(typescript@5.9.2) @@ -456,12 +374,6 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.2 - '@solana/errors@3.0.2(typescript@5.9.2)': - dependencies: - chalk: 5.6.2 - commander: 14.0.1 - typescript: 5.9.2 - '@solana/errors@3.0.3(typescript@5.9.2)': dependencies: chalk: 5.6.2 @@ -489,8 +401,6 @@ snapshots: call-bind-apply-helpers: 1.0.2 get-intrinsic: 1.3.0 - chalk@5.6.0: {} - chalk@5.6.2: {} codama@1.3.7: