diff --git a/package.json b/package.json index 4ca27ac6..7f19cdb2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "generate:clients": "zx ./scripts/generate-clients.mjs" }, "devDependencies": { - "@codama/renderers-js": "^1.4.3", + "@codama/renderers-js": "^1.5.4", "@codama/renderers-rust": "^1.2.8", "@iarna/toml": "^2.2.5", "codama": "^1.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c49b9d82..8b4230e5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.4.3 - version: 1.4.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ^1.5.4 + version: 1.5.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': specifier: ^1.2.8 version: 1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) @@ -33,10 +33,6 @@ packages: resolution: {integrity: sha512-TZSN4MAUy93Y2h9w7vGwBwaGPkxdm0PWmDu5g1jMCJbJo02kx9NIu2cBk94wamYSSq75uoQDuaU+YW5DMteIQQ==} hasBin: true - '@codama/errors@1.3.7': - resolution: {integrity: sha512-96BF8agDVc2vAgL4qw1lZZfuJ7XBefdzTBk2VOUnOhdMQiLb0QhJCC4BH88OcL+rZXQdet4pk7Qwarj1I1GFKg==} - hasBin: true - '@codama/errors@1.4.1': resolution: {integrity: sha512-6jUHrQwx0IjffzS3ZRwC7k0tbONVoiIdVf58fl460P3BlL0e19ZPSrsGRZ4QA6pq39vYjtSd2zzl4PHp6ZnQtQ==} hasBin: true @@ -45,8 +41,9 @@ packages: resolution: {integrity: sha512-T7oVaM80AYfHoP1NFjDMpIZhZ/oWPCyPP6g/UG2SCJLOmkNOjiY99uvQ4kkYQcvErsOO3ftcsqgAzK9LgZMHMA==} hasBin: true - '@codama/node-types@1.3.7': - resolution: {integrity: sha512-L9UTFfoeki5t+BYJAa4OMsqBPpbMbx8YJQar+55mYcjwGlJsKJW7mRfLYvwEFkCUYyLdNva40OVmTf88jccZCA==} + '@codama/errors@1.4.4': + resolution: {integrity: sha512-XC86H5X+zGTi0cSRKLc+wFkeXNsvnh+ttOgVnVHIljmXOJWbUt9wXhKding3UftipLWwlHPuoswERJ0vS0mO2A==} + hasBin: true '@codama/node-types@1.4.1': resolution: {integrity: sha512-eqPKI1pZR+xaYHytMQUhW+DHmmhLhzVNTN9Cs+VpJV4NArJBrmx3Yht39tjT9Ul7eS9jGmBO1lodFxSCRKV4sQ==} @@ -54,8 +51,8 @@ packages: '@codama/node-types@1.4.2': resolution: {integrity: sha512-Sj3BMQfwQ6Sn0jlQmBkXktOJzgsK4S7en2b6Ns+DLwYsqisSdU3au3rZcHs2ZJ2ntHv+6WTxFnvEk5zdWrT7YQ==} - '@codama/nodes@1.3.7': - resolution: {integrity: sha512-3OV6SIBcqsIDARyzZVGdfnffNlnKSYcb0aGp/9Liz5/EID0oBTIyuh/Cmj5Ww6RX4WPb+GNAxABAGW94zbcfQg==} + '@codama/node-types@1.4.4': + resolution: {integrity: sha512-uUeIz34Id/TTAMi4k5OVl9FByM/PawnlNIIVqgpooH9AS0UlniICZ+KJ/mdHZidJs/AGo6bSRoOPS1BLtMajyw==} '@codama/nodes@1.4.1': resolution: {integrity: sha512-gqr87Neh3g0+0nubVC3j4JNT99xC4flv72Z8Yjplz5vxoU+IncE3Rsv3mr8V1AC0k8fv5/ND21OcSOK44Wbh2g==} @@ -63,14 +60,17 @@ packages: '@codama/nodes@1.4.2': resolution: {integrity: sha512-A+6gx9C7h0Ksu2tRi2g9BTdpv2RZ29KFDUIJrEc9n0tua91pFKBUaW+1/bcnEqRYKOrfUXARwEgymSdjSfOAig==} - '@codama/renderers-core@1.2.2': - resolution: {integrity: sha512-dPyHgn5L45G+tWP17ITvOlpX3+s2FcJHMjAhFZlmUHAJpH/wl+UsUwuWg698iSb56Er2jUwqX7srw5iZf7XHjQ==} + '@codama/nodes@1.4.4': + resolution: {integrity: sha512-JzlY5qLk3rhsnu0nerC/Vkc9/2HjdsLtEpBtST0dxC1j9kpfHvIc2uyIj+5hlB1YIBRJIDNo+UOHGla8hidkaA==} '@codama/renderers-core@1.3.0': resolution: {integrity: sha512-39ugOM7c6AT5h6azC8lix6YGA17u8wSsCzJbDrShTzRgz+QHWVF1Uci/v4CEcesEHgGQigP6f1jGAnEoTb/gcQ==} - '@codama/renderers-js@1.4.3': - resolution: {integrity: sha512-FC/wba6IZayKeWk710XP0OJN50kf9B6cVQGo6uXb8M8hMw9qjSJLDPwpou57Y0V7tja3kjTFPBb3I9zHheeDtQ==} + '@codama/renderers-core@1.3.3': + resolution: {integrity: sha512-L2gvsgB9ZGwA0q2F9u8AgNJf2aqAWzyRjokhLNoS9IPEQaV6ALQ4Z9FQ7/snNzEg3OvFbCg21jUynMN0brfjcw==} + + '@codama/renderers-js@1.5.4': + resolution: {integrity: sha512-mR9j00VlTlpGDe5qKmsO8tbuycPJVHGyBYd6BbsKkfPthv0gyivRgd2fwQQzEDSU+jLa44N8avPXpTKAfg13kw==} engines: {node: '>=20.18.0'} '@codama/renderers-rust@1.2.8': @@ -80,52 +80,33 @@ packages: '@codama/validators@1.4.2': resolution: {integrity: sha512-fj5R9aNIABOkt4Qp4BTEE7LSyettYkmwvu8rgGT2CcHfbtjHFJuB3Jb4F3yBZK5eGPhvz5Gf6YDW5Z6UQa9KkQ==} - '@codama/visitors-core@1.3.7': - resolution: {integrity: sha512-B1JnzhRDJiLxewha/F3YzeEp8Zrtd7eKiGNJFJHSPufAnIVm2lQUDaKS+OrAOHnSRmRKIAVdzfpFpdz6EM0N6Q==} - '@codama/visitors-core@1.4.1': resolution: {integrity: sha512-1IzVQlr4gxv4QQcZE98NZqTS2QLH3FdXzPvIi3Y9o34zyS9cCgdif5/nGAd1Q35uVQJSTV5UcIJ/a0dWqLNaFg==} '@codama/visitors-core@1.4.2': resolution: {integrity: sha512-i5mWxHOE8eLzoE4I0tly7Q/n0KEub2l1AIkpQ7J5HV1ACaViXW2l9j2cCfKmskN8HuDA2JXdlaKP+cT2cSW01w==} + '@codama/visitors-core@1.4.4': + resolution: {integrity: sha512-vk/4tczViAUHa7c8PF7FxN+JWbuTcDB0pIdrDbbO6eBPKDPQGZCUCEp6rXIYBVxfO129jWrNf2+CuyYre/c/vA==} + '@codama/visitors@1.4.2': resolution: {integrity: sha512-AIzXtsK82o9I+B5KcdWW48kVknal1qDGlV5guQiF809PWTNOWKgas/St17N7od7wkwtw5BkivtQ8/s5zVBAIaA==} '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@solana/codecs-core@4.0.0': - resolution: {integrity: sha512-28kNUsyIlhU3MO3/7ZLDqeJf2YAm32B4tnTjl5A9HrbBqsTZ+upT/RzxZGP1MMm7jnPuIKCMwmTpsyqyR6IUpw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.3.3' - '@solana/codecs-core@5.0.0': resolution: {integrity: sha512-rCG2d8OaamVF2/J//YyCgDqNJpUytVVltw9C8mJtEz5c6Se/LR6BFuG8g4xeJswq/ab4RFk5/HFdgbvNjKgQjA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-numbers@4.0.0': - resolution: {integrity: sha512-z9zpjtcwzqT9rbkKVZpkWB5/0V7+6YRKs6BccHkGJlaDx8Pe/+XOvPi2rEdXPqrPd9QWb5Xp1iBfcgaDMyiOiA==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.3.3' - '@solana/codecs-numbers@5.0.0': resolution: {integrity: sha512-a2+skRLuUK02f/XFe4L0e1+wHCyfK25PkyseFps1v1l4pvevukFwth/EhSyrs6w5CsTJRVoR7MuE3E00PM4egw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-strings@4.0.0': - resolution: {integrity: sha512-XvyD+sQ1zyA0amfxbpoFZsucLoe+yASQtDiLUGMDg5TZ82IHE3B7n82jE8d8cTAqi0HgqQiwU13snPhvg1O0Ow==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5.3.3' - '@solana/codecs-strings@5.0.0': resolution: {integrity: sha512-ALkRwpV8bGR6qjAYw0YXZwp2YI4wzvKOJGmx04Ut8gMdbaUx7qOcJkhEQKI6ZVC3lAWSIS1N1wGccUZDwvfKxw==} engines: {node: '>=20.18.0'} @@ -133,13 +114,6 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5.3.3' - '@solana/errors@4.0.0': - resolution: {integrity: sha512-3YEtvcMvtcnTl4HahqLt0VnaGVf7vVWOnt6/uPky5e0qV6BlxDSbGkbBzttNjxLXHognV0AQi3pjvrtfUnZmbg==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: '>=5.3.3' - '@solana/errors@5.0.0': resolution: {integrity: sha512-gTuhzO6E+ydfAAzqmqdPcvFyJwAzFKKIrqtnZPpgAuomcPYu+HSo0tuwSM/cTX0djmHt+GoOsf/julph+nvs2w==} engines: {node: '>=20.18.0'} @@ -269,8 +243,8 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - prettier@3.6.2: - resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} + prettier@3.7.4: + resolution: {integrity: sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==} engines: {node: '>=14'} hasBin: true @@ -278,6 +252,11 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} + hasBin: true + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -306,12 +285,6 @@ snapshots: picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.3.7': - dependencies: - '@codama/node-types': 1.3.7 - commander: 14.0.1 - picocolors: 1.1.1 - '@codama/errors@1.4.1': dependencies: '@codama/node-types': 1.4.1 @@ -324,16 +297,17 @@ snapshots: commander: 14.0.2 picocolors: 1.1.1 - '@codama/node-types@1.3.7': {} + '@codama/errors@1.4.4': + dependencies: + '@codama/node-types': 1.4.4 + commander: 14.0.2 + picocolors: 1.1.1 '@codama/node-types@1.4.1': {} '@codama/node-types@1.4.2': {} - '@codama/nodes@1.3.7': - dependencies: - '@codama/errors': 1.3.7 - '@codama/node-types': 1.3.7 + '@codama/node-types@1.4.4': {} '@codama/nodes@1.4.1': dependencies: @@ -345,11 +319,10 @@ snapshots: '@codama/errors': 1.4.2 '@codama/node-types': 1.4.2 - '@codama/renderers-core@1.2.2': + '@codama/nodes@1.4.4': dependencies: - '@codama/errors': 1.3.7 - '@codama/nodes': 1.3.7 - '@codama/visitors-core': 1.3.7 + '@codama/errors': 1.4.4 + '@codama/node-types': 1.4.4 '@codama/renderers-core@1.3.0': dependencies: @@ -357,14 +330,21 @@ snapshots: '@codama/nodes': 1.4.1 '@codama/visitors-core': 1.4.1 - '@codama/renderers-js@1.4.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-core@1.3.3': 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': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) - prettier: 3.6.2 + '@codama/errors': 1.4.4 + '@codama/nodes': 1.4.4 + '@codama/visitors-core': 1.4.4 + + '@codama/renderers-js@1.5.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + dependencies: + '@codama/errors': 1.4.4 + '@codama/nodes': 1.4.4 + '@codama/renderers-core': 1.3.3 + '@codama/visitors-core': 1.4.4 + '@solana/codecs-strings': 5.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + prettier: 3.7.4 + semver: 7.7.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript @@ -388,12 +368,6 @@ snapshots: '@codama/nodes': 1.4.2 '@codama/visitors-core': 1.4.2 - '@codama/visitors-core@1.3.7': - dependencies: - '@codama/errors': 1.3.7 - '@codama/nodes': 1.3.7 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.4.1': dependencies: '@codama/errors': 1.4.1 @@ -406,6 +380,12 @@ snapshots: '@codama/nodes': 1.4.2 json-stable-stringify: 1.3.0 + '@codama/visitors-core@1.4.4': + dependencies: + '@codama/errors': 1.4.4 + '@codama/nodes': 1.4.4 + json-stable-stringify: 1.3.0 + '@codama/visitors@1.4.2': dependencies: '@codama/errors': 1.4.2 @@ -414,36 +394,17 @@ snapshots: '@iarna/toml@2.2.5': {} - '@solana/codecs-core@4.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 4.0.0(typescript@5.9.3) - typescript: 5.9.3 - '@solana/codecs-core@5.0.0(typescript@5.9.3)': dependencies: '@solana/errors': 5.0.0(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-numbers@4.0.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 4.0.0(typescript@5.9.3) - '@solana/errors': 4.0.0(typescript@5.9.3) - typescript: 5.9.3 - '@solana/codecs-numbers@5.0.0(typescript@5.9.3)': dependencies: '@solana/codecs-core': 5.0.0(typescript@5.9.3) '@solana/errors': 5.0.0(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-strings@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 4.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 4.0.0(typescript@5.9.3) - '@solana/errors': 4.0.0(typescript@5.9.3) - fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.9.3 - '@solana/codecs-strings@5.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: '@solana/codecs-core': 5.0.0(typescript@5.9.3) @@ -452,12 +413,6 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/errors@4.0.0(typescript@5.9.3)': - dependencies: - chalk: 5.6.2 - commander: 14.0.1 - typescript: 5.9.3 - '@solana/errors@5.0.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 @@ -581,13 +536,15 @@ snapshots: picocolors@1.1.1: {} - prettier@3.6.2: {} + prettier@3.7.4: {} prompts@2.4.2: dependencies: kleur: 3.0.3 sisteransi: 1.0.5 + semver@7.7.3: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4