diff --git a/package.json b/package.json index bcd4272..6dde536 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "devDependencies": { "@codama/renderers-js": "^1.7.0", - "@codama/renderers-rust": "^2.0.0", + "@codama/renderers-rust": "^3.1.0", "@codama/visitors-core": "^1.5.1", "@solana/prettier-config-solana": "0.0.6", "codama": "^1.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index daefcf2..f204a01 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.7.0 version: 1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) '@codama/renderers-rust': - specifier: ^2.0.0 - version: 2.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + specifier: ^3.1.0 + version: 3.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) '@codama/visitors-core': specifier: ^1.5.1 version: 1.5.1 @@ -41,27 +41,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@2.0.1': - resolution: {integrity: sha512-DPjnyczkdebMUliBDRsxTsMCrEsvDcpPtT6WH+yK2n2a9tvTOFQt0VMIBrA4+nxRAyuaKxk1C2cgMgw3Y4EZnQ==} + '@codama/renderers-rust@3.1.0': + resolution: {integrity: sha512-E/GSUCuiIpFj+ij3NbduH/h3sNDo39Bq14vj2atxdbbrPmu4clWvIEjXtbmP03qhudH73TxbYO8dWg/NwRi18A==} engines: {node: '>=20.18.0'} '@codama/validators@1.5.1': @@ -73,6 +86,9 @@ 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==} @@ -88,6 +104,15 @@ packages: typescript: optional: true + '@solana/codecs-core@6.8.0': + resolution: {integrity: sha512-udFO8TrvzgROonwX3rY3E2SG675RehILNb4ZYcKlf1mL7vkDJ9bEJnBxi87AEwl8RWZFTl+MhT0MmrJnbpvdug==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5.0.0' + peerDependenciesMeta: + typescript: + optional: true + '@solana/codecs-numbers@6.0.1': resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} engines: {node: '>=20.18.0'} @@ -97,6 +122,15 @@ packages: typescript: optional: true + '@solana/codecs-numbers@6.8.0': + resolution: {integrity: sha512-ebf4f1D19EAe0uhdUYOCEYnn5+EellsBxbJ42tM2yYEoIBVz5FoBBC0gSsq+UTNbQHFa7XagyBT3LewxXttiTQ==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5.0.0' + peerDependenciesMeta: + typescript: + optional: true + '@solana/codecs-strings@6.0.1': resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} engines: {node: '>=20.18.0'} @@ -109,6 +143,18 @@ packages: typescript: optional: true + '@solana/codecs-strings@6.8.0': + resolution: {integrity: sha512-Rpk5NVhbKYcPnE7wz3IpTp0GVNVs0IYKdmyzByiimgPTiII8eb8ay4wQiYHGHrpYh62hD14Qy3GiGDFgipRKqA==} + engines: {node: '>=20.18.0'} + peerDependencies: + fastestsmallesttextencoderdecoder: ^1.0.22 + typescript: '>=5.0.0' + peerDependenciesMeta: + fastestsmallesttextencoderdecoder: + optional: true + typescript: + optional: true + '@solana/errors@6.0.1': resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} engines: {node: '>=20.18.0'} @@ -119,6 +165,16 @@ packages: typescript: optional: true + '@solana/errors@6.8.0': + resolution: {integrity: sha512-HRTrLgTn0c99GKz4v4IKgz2+6soaRY1mh2tLW4sk1Fe4Zzv85Q6ZLK1mXrVGL73z1apyHDrr9/Sd/9ZhUsUvpA==} + engines: {node: '>=20.18.0'} + hasBin: true + peerDependencies: + typescript: '>=5.0.0' + peerDependenciesMeta: + typescript: + optional: true + '@solana/prettier-config-solana@0.0.6': resolution: {integrity: sha512-/s55hDoAyh5QyltQh/jjNK3AgACEq885+DnC6lYhrmYZiV6I0iHITWYnKd8d23KRKs/RBjlaQH54MiafeoI9hw==} peerDependencies: @@ -260,6 +316,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.7.4: + resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} + engines: {node: '>=10'} + hasBin: true + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -295,10 +356,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 @@ -309,12 +378,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.5.4)': dependencies: '@codama/errors': 1.5.0 @@ -328,16 +408,16 @@ snapshots: - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers-rust@2.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@codama/renderers-rust@3.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - '@codama/renderers-core': 1.3.5 - '@codama/visitors-core': 1.5.1 + '@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.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-strings': 6.8.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) nunjucks: 3.2.4 - semver: 7.7.3 + semver: 7.7.4 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder @@ -361,6 +441,12 @@ 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 @@ -375,6 +461,12 @@ snapshots: optionalDependencies: typescript: 5.5.4 + '@solana/codecs-core@6.8.0(typescript@5.5.4)': + dependencies: + '@solana/errors': 6.8.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + '@solana/codecs-numbers@6.0.1(typescript@5.5.4)': dependencies: '@solana/codecs-core': 6.0.1(typescript@5.5.4) @@ -382,6 +474,13 @@ snapshots: optionalDependencies: typescript: 5.5.4 + '@solana/codecs-numbers@6.8.0(typescript@5.5.4)': + dependencies: + '@solana/codecs-core': 6.8.0(typescript@5.5.4) + '@solana/errors': 6.8.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + '@solana/codecs-strings@6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: '@solana/codecs-core': 6.0.1(typescript@5.5.4) @@ -391,6 +490,15 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.5.4 + '@solana/codecs-strings@6.8.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/codecs-core': 6.8.0(typescript@5.5.4) + '@solana/codecs-numbers': 6.8.0(typescript@5.5.4) + '@solana/errors': 6.8.0(typescript@5.5.4) + optionalDependencies: + fastestsmallesttextencoderdecoder: 1.0.22 + typescript: 5.5.4 + '@solana/errors@6.0.1(typescript@5.5.4)': dependencies: chalk: 5.6.2 @@ -398,6 +506,13 @@ snapshots: optionalDependencies: typescript: 5.5.4 + '@solana/errors@6.8.0(typescript@5.5.4)': + dependencies: + chalk: 5.6.2 + commander: 14.0.3 + optionalDependencies: + typescript: 5.5.4 + '@solana/prettier-config-solana@0.0.6(prettier@3.8.1)': dependencies: prettier: 3.8.1 @@ -529,6 +644,8 @@ snapshots: semver@7.7.3: {} + semver@7.7.4: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4