diff --git a/package.json b/package.json index ecba520..8fb187f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "devDependencies": { "@codama/renderers-js": "^1.7", - "@codama/renderers-rust": "^1.2.9", + "@codama/renderers-rust": "^3.1.0", "@solana/prettier-config-solana": "0.0.6", "codama": "^1.5", "typescript": "^5.9.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01d56f4..764e3ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.7 version: 1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': - specifier: ^1.2.9 - version: 1.2.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ^3.1.0 + version: 3.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@solana/prettier-config-solana': specifier: 0.0.6 version: 0.0.6(prettier@3.8.1) @@ -38,27 +38,40 @@ packages: resolution: {integrity: sha512-kdLk/OSLBt03DoViRU1Xr0M7NZ7J/CSqaXV8fooF9qMRGPRJdgUeW2VkCGlLXDQSaIALrls3HkHmKRKbqqjSOA==} hasBin: true + '@codama/errors@1.6.0': + resolution: {integrity: sha512-Evj9wO5lqvxvbjxG856ITY5lhRN7SqoYfRX4tMMBjs8J/kT+pKQ8qL0hz9OynOOv/5mWn9Q/sPCNzQ6CUscibQ==} + hasBin: true + '@codama/node-types@1.5.0': resolution: {integrity: sha512-Ebz2vOUukmNaFXWdkni1ZihXkAIUnPYtqIMXYxKXOxjMP+TGz2q0lGtRo7sqw1pc2ksFBIkfBp5pZsl5p6gwXA==} '@codama/node-types@1.5.1': resolution: {integrity: sha512-jMGz93MSszb1iXAAyWWa0i7RQbLxGihLKRZ+zr9aBsjaFFmhXhONfTFeSXzbEfc05cajpd/gW2QI7xmQHlUDKQ==} + '@codama/node-types@1.6.0': + resolution: {integrity: sha512-atIJW2/3MjPYey0bNlE86W9Gvq9aq8bud7zT7PMyyhj98mbmLqPwT4wclPdbFua0fROLkq17z3bXaaJy5FqSEw==} + '@codama/nodes@1.5.0': resolution: {integrity: sha512-yg+xmorWiMNjS3n19CGIt/FZ/ZCuDIu+HEY45bq6gHu1MN3RtJZY+Q3v0ErnBPA60D8mNWkvkKoeSZXfzcAvfw==} '@codama/nodes@1.5.1': resolution: {integrity: sha512-6fIoH5Cfa5dFUE1fRxymZloeNg02klOT4fHsWwQavkkRWkoySgiti//w0j1itiZj6j5O+usujrwsZUJqSFjnhQ==} + '@codama/nodes@1.6.0': + resolution: {integrity: sha512-F6Hy3REfl+Ih5R3jldPqEMjFqaPj871iBWX/LV0EtNK0xn7E4DG/3XCK4wlbHrOT9Z1NsiA70e0M1uChzmIrsw==} + '@codama/renderers-core@1.3.5': resolution: {integrity: sha512-MuZLU+3LZPQb1HuZffwZl+v5JHQDe5LYHGhA1wTMNlwRedYIysSxBjogHNciNIHsKP3JjmqyYmLO5LCEp3hjaQ==} + '@codama/renderers-core@1.3.7': + resolution: {integrity: sha512-R42xYJaLansjcpMcBuJ4JBEKFp9aof3WqwDnOtUz90P4Px/3K8NDQn18YkyKTEvZBy42cnTPlzV9Um89s9W+uw==} + '@codama/renderers-js@1.7.0': resolution: {integrity: sha512-WwKkSkNPdUBVWjGmkG+RNXyZ5K/4ji8UZQGzowDNTrqktUrqPsBThOkc7Zpmv+TpCapxrfjj0Txpo+0q5FjKGw==} engines: {node: '>=20.18.0'} - '@codama/renderers-rust@1.2.9': - resolution: {integrity: sha512-6sc/g8LYHEa3MFqakEBRJito/1liv1jE1b6P1gGRz7z84YiGscPKh0pbcELlLPxyLraNTBYSA6V9EXrj2LLvIA==} + '@codama/renderers-rust@3.1.0': + resolution: {integrity: sha512-E/GSUCuiIpFj+ij3NbduH/h3sNDo39Bq14vj2atxdbbrPmu4clWvIEjXtbmP03qhudH73TxbYO8dWg/NwRi18A==} engines: {node: '>=20.18.0'} '@codama/validators@1.5.1': @@ -70,11 +83,17 @@ packages: '@codama/visitors-core@1.5.1': resolution: {integrity: sha512-JotrDJLI7OfPNHulu4KtPfUDF/FYMC3RgEnv9lu47Fiiy0upbGAw1NorgBuoreyJ9Uj0GZyHt7Q5rjrCoa1U0g==} + '@codama/visitors-core@1.6.0': + resolution: {integrity: sha512-YG0rExvLbBCDAzXnZX6Imu4KwDoZrZz9NF232/nzs9Dr8uQuEWJ81x4VR9UxIcANHcF0+XwJzHamSwhZroAtjQ==} + '@codama/visitors@1.5.1': resolution: {integrity: sha512-8WcGP1tJKtqBfZ4mJsBRPjZ/H6+SPLWmiUoDTXRrVePQE4X4Yb04o6BoX2Uc3heZbfEc0rXdM1w8HTFvXBX4/A==} - '@solana/codecs-core@5.5.1': - resolution: {integrity: sha512-TgBt//bbKBct0t6/MpA8ElaOA3sa8eYVvR7LGslCZ84WiAwwjCY0lW/lOYsFHJQzwREMdUyuEyy5YWBKtdh8Rw==} + '@iarna/toml@2.2.5': + resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} + + '@solana/codecs-core@6.0.1': + resolution: {integrity: sha512-OnUQk94qfvfE0nVveZ638aNUL3tyRJoorUFiAG0ICTGUo3c6fkYb8vH23o/5O2qmuSmYND1sn+UCaldNMVkFpg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -82,17 +101,17 @@ packages: typescript: optional: true - '@solana/codecs-core@6.0.1': - resolution: {integrity: sha512-OnUQk94qfvfE0nVveZ638aNUL3tyRJoorUFiAG0ICTGUo3c6fkYb8vH23o/5O2qmuSmYND1sn+UCaldNMVkFpg==} + '@solana/codecs-core@6.8.0': + resolution: {integrity: sha512-udFO8TrvzgROonwX3rY3E2SG675RehILNb4ZYcKlf1mL7vkDJ9bEJnBxi87AEwl8RWZFTl+MhT0MmrJnbpvdug==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: ^5.0.0 + typescript: '>=5.0.0' peerDependenciesMeta: typescript: optional: true - '@solana/codecs-numbers@5.5.1': - resolution: {integrity: sha512-rllMIZAHqmtvC0HO/dc/21wDuWaD0B8Ryv8o+YtsICQBuiL/0U4AGwH7Pi5GNFySYk0/crSuwfIqQFtmxNSPFw==} + '@solana/codecs-numbers@6.0.1': + resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -100,17 +119,17 @@ packages: typescript: optional: true - '@solana/codecs-numbers@6.0.1': - resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} + '@solana/codecs-numbers@6.8.0': + resolution: {integrity: sha512-ebf4f1D19EAe0uhdUYOCEYnn5+EellsBxbJ42tM2yYEoIBVz5FoBBC0gSsq+UTNbQHFa7XagyBT3LewxXttiTQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: ^5.0.0 + typescript: '>=5.0.0' peerDependenciesMeta: typescript: optional: true - '@solana/codecs-strings@5.5.1': - resolution: {integrity: sha512-7klX4AhfHYA+uKKC/nxRGP2MntbYQCR3N6+v7bk1W/rSxYuhNmt+FN8aoThSZtWIKwN6BEyR1167ka8Co1+E7A==} + '@solana/codecs-strings@6.0.1': + resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -121,20 +140,20 @@ packages: typescript: optional: true - '@solana/codecs-strings@6.0.1': - resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} + '@solana/codecs-strings@6.8.0': + resolution: {integrity: sha512-Rpk5NVhbKYcPnE7wz3IpTp0GVNVs0IYKdmyzByiimgPTiII8eb8ay4wQiYHGHrpYh62hD14Qy3GiGDFgipRKqA==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: ^5.0.0 + typescript: '>=5.0.0' peerDependenciesMeta: fastestsmallesttextencoderdecoder: optional: true typescript: optional: true - '@solana/errors@5.5.1': - resolution: {integrity: sha512-vFO3p+S7HoyyrcAectnXbdsMfwUzY2zYFUc2DEe5BwpiE9J1IAxPBGjOWO6hL1bbYdBrlmjNx8DXCslqS+Kcmg==} + '@solana/errors@6.0.1': + resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -143,12 +162,12 @@ packages: typescript: optional: true - '@solana/errors@6.0.1': - resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} + '@solana/errors@6.8.0': + resolution: {integrity: sha512-HRTrLgTn0c99GKz4v4IKgz2+6soaRY1mh2tLW4sk1Fe4Zzv85Q6ZLK1mXrVGL73z1apyHDrr9/Sd/9ZhUsUvpA==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: - typescript: ^5.0.0 + typescript: '>=5.0.0' peerDependenciesMeta: typescript: optional: true @@ -184,10 +203,6 @@ packages: resolution: {integrity: sha512-kZbYgesIxwGNZ1JsYIWFzAsLtBuLZy/S1pCxJZgYaE13NJwDzi+bsEYqRSOUQ9ISN7FJR3SCyAE+vgzvcJpg2A==} hasBin: true - commander@14.0.2: - resolution: {integrity: sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==} - engines: {node: '>=20'} - commander@14.0.3: resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==} engines: {node: '>=20'} @@ -329,10 +344,18 @@ snapshots: commander: 14.0.3 picocolors: 1.1.1 + '@codama/errors@1.6.0': + dependencies: + '@codama/node-types': 1.6.0 + commander: 14.0.3 + picocolors: 1.1.1 + '@codama/node-types@1.5.0': {} '@codama/node-types@1.5.1': {} + '@codama/node-types@1.6.0': {} + '@codama/nodes@1.5.0': dependencies: '@codama/errors': 1.5.0 @@ -343,12 +366,23 @@ snapshots: '@codama/errors': 1.5.1 '@codama/node-types': 1.5.1 + '@codama/nodes@1.6.0': + dependencies: + '@codama/errors': 1.6.0 + '@codama/node-types': 1.6.0 + '@codama/renderers-core@1.3.5': dependencies: '@codama/errors': 1.5.0 '@codama/nodes': 1.5.0 '@codama/visitors-core': 1.5.0 + '@codama/renderers-core@1.3.7': + dependencies: + '@codama/errors': 1.6.0 + '@codama/nodes': 1.6.0 + '@codama/visitors-core': 1.6.0 + '@codama/renderers-js@1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: '@codama/errors': 1.5.0 @@ -362,14 +396,16 @@ snapshots: - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers-rust@1.2.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-rust@3.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - '@codama/renderers-core': 1.3.5 - '@codama/visitors-core': 1.5.0 - '@solana/codecs-strings': 5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + '@codama/errors': 1.6.0 + '@codama/nodes': 1.6.0 + '@codama/renderers-core': 1.3.7 + '@codama/visitors-core': 1.6.0 + '@iarna/toml': 2.2.5 + '@solana/codecs-strings': 6.8.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) nunjucks: 3.2.4 + semver: 7.7.4 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder @@ -393,17 +429,19 @@ snapshots: '@codama/nodes': 1.5.1 json-stable-stringify: 1.3.0 + '@codama/visitors-core@1.6.0': + dependencies: + '@codama/errors': 1.6.0 + '@codama/nodes': 1.6.0 + json-stable-stringify: 1.3.0 + '@codama/visitors@1.5.1': dependencies: '@codama/errors': 1.5.1 '@codama/nodes': 1.5.1 '@codama/visitors-core': 1.5.1 - '@solana/codecs-core@5.5.1(typescript@5.9.3)': - dependencies: - '@solana/errors': 5.5.1(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 + '@iarna/toml@2.2.5': {} '@solana/codecs-core@6.0.1(typescript@5.9.3)': dependencies: @@ -411,10 +449,9 @@ snapshots: optionalDependencies: typescript: 5.9.3 - '@solana/codecs-numbers@5.5.1(typescript@5.9.3)': + '@solana/codecs-core@6.8.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 5.5.1(typescript@5.9.3) - '@solana/errors': 5.5.1(typescript@5.9.3) + '@solana/errors': 6.8.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 @@ -425,13 +462,11 @@ snapshots: optionalDependencies: typescript: 5.9.3 - '@solana/codecs-strings@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@solana/codecs-numbers@6.8.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 5.5.1(typescript@5.9.3) - '@solana/codecs-numbers': 5.5.1(typescript@5.9.3) - '@solana/errors': 5.5.1(typescript@5.9.3) + '@solana/codecs-core': 6.8.0(typescript@5.9.3) + '@solana/errors': 6.8.0(typescript@5.9.3) optionalDependencies: - fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 '@solana/codecs-strings@6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': @@ -443,11 +478,13 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/errors@5.5.1(typescript@5.9.3)': + '@solana/codecs-strings@6.8.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': dependencies: - chalk: 5.6.2 - commander: 14.0.2 + '@solana/codecs-core': 6.8.0(typescript@5.9.3) + '@solana/codecs-numbers': 6.8.0(typescript@5.9.3) + '@solana/errors': 6.8.0(typescript@5.9.3) optionalDependencies: + fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 '@solana/errors@6.0.1(typescript@5.9.3)': @@ -457,6 +494,13 @@ snapshots: optionalDependencies: typescript: 5.9.3 + '@solana/errors@6.8.0(typescript@5.9.3)': + dependencies: + chalk: 5.6.2 + commander: 14.0.3 + optionalDependencies: + typescript: 5.9.3 + '@solana/prettier-config-solana@0.0.6(prettier@3.8.1)': dependencies: prettier: 3.8.1 @@ -492,8 +536,6 @@ snapshots: '@codama/validators': 1.5.1 '@codama/visitors': 1.5.1 - commander@14.0.2: {} - commander@14.0.3: {} commander@5.1.0: {}