diff --git a/package.json b/package.json index 32aa3d603..aa85bdb86 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "devDependencies": { - "@codama/renderers-js": "^1.7.0", + "@codama/renderers-js": "^2.1.0", "@codama/renderers-rust": "^3.0.0", "@solana/prettier-config-solana": "0.0.6", "codama": "^1.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a22374cdd..c19015f0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.7.0 - version: 1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ^2.1.0 + version: 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': specifier: ^3.0.0 version: 3.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) @@ -30,34 +30,21 @@ packages: resolution: {integrity: sha512-+q62IvEA6o7ji/mcnGgAvyPWyiFx3cojVGrFNG8NSm0zFXrBk1lT3n/qg+2Ag8C8aHwno9boXgDTxV+P5VCDYw==} hasBin: true - '@codama/errors@1.5.0': - resolution: {integrity: sha512-i4cS+S7JaZXhofQHFY3cwzt8rqxUVPNaeJND5VOyKUbtcOi933YXJXk52gDG4mc+CpGqHJijsJjfSpr1lJGxzg==} - hasBin: true - '@codama/errors@1.5.1': resolution: {integrity: sha512-kdLk/OSLBt03DoViRU1Xr0M7NZ7J/CSqaXV8fooF9qMRGPRJdgUeW2VkCGlLXDQSaIALrls3HkHmKRKbqqjSOA==} 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/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/renderers-core@1.3.5': - resolution: {integrity: sha512-MuZLU+3LZPQb1HuZffwZl+v5JHQDe5LYHGhA1wTMNlwRedYIysSxBjogHNciNIHsKP3JjmqyYmLO5LCEp3hjaQ==} - '@codama/renderers-core@1.3.6': resolution: {integrity: sha512-m3yAmhrObnagyC7d8g9bZxyLC5YMpttLagRE0aAKD4zlDDh23o3zV7TxSYCh2nRCg5ObceflgvXdauIHUm/6Xg==} - '@codama/renderers-js@1.7.0': - resolution: {integrity: sha512-WwKkSkNPdUBVWjGmkG+RNXyZ5K/4ji8UZQGzowDNTrqktUrqPsBThOkc7Zpmv+TpCapxrfjj0Txpo+0q5FjKGw==} + '@codama/renderers-js@2.1.0': + resolution: {integrity: sha512-Zs9avEFb1+Y4GDPIBTEv/bhHCdjRkAkisWSqNo9edxQyfPj4GzV+0/FtE0AfR+yFkxQVHANlaEpo2dtdS0UPbA==} engines: {node: '>=20.18.0'} '@codama/renderers-rust@3.0.0': @@ -67,9 +54,6 @@ packages: '@codama/validators@1.5.1': resolution: {integrity: sha512-aUXl39AMa091CBWpYiK2XCXP/uyKOOtAT399TzRld3z8dIH9E0fGyu4ocP+IhQKXWXDPsh7V3qPmqsdyevOPcQ==} - '@codama/visitors-core@1.5.0': - resolution: {integrity: sha512-3PIAlBX0a06hIxzyPtQMfQcqWGFBgfbwysSwcXBbvHUYbemwhD6xwlBKJuqTwm9DyFj3faStp5fpvcp03Rjxtw==} - '@codama/visitors-core@1.5.1': resolution: {integrity: sha512-JotrDJLI7OfPNHulu4KtPfUDF/FYMC3RgEnv9lu47Fiiy0upbGAw1NorgBuoreyJ9Uj0GZyHt7Q5rjrCoa1U0g==} @@ -79,8 +63,8 @@ packages: '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@solana/codecs-core@6.0.1': - resolution: {integrity: sha512-OnUQk94qfvfE0nVveZ638aNUL3tyRJoorUFiAG0ICTGUo3c6fkYb8vH23o/5O2qmuSmYND1sn+UCaldNMVkFpg==} + '@solana/codecs-core@6.3.1': + resolution: {integrity: sha512-OwklAT1GnY72Gg2Yd7NoKi4WeUAUl9DfTOdLXJmTcOGSB05K742X3yVwyiMsX1cs8V8DB8KOHGQjeO0XLUUCEQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -88,8 +72,8 @@ packages: typescript: optional: true - '@solana/codecs-core@6.3.1': - resolution: {integrity: sha512-OwklAT1GnY72Gg2Yd7NoKi4WeUAUl9DfTOdLXJmTcOGSB05K742X3yVwyiMsX1cs8V8DB8KOHGQjeO0XLUUCEQ==} + '@solana/codecs-core@6.4.0': + resolution: {integrity: sha512-I7NARq1VqaI5rCO01Ildy6ndaDHUDsFZSU0buAENcOm3MOfTqA+FcpmVapmFKdJDdks+QGiVxMJHRn46/aH4Jg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -97,8 +81,8 @@ packages: typescript: optional: true - '@solana/codecs-numbers@6.0.1': - resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} + '@solana/codecs-numbers@6.3.1': + resolution: {integrity: sha512-rudL1RjVBdpD60QPn3DhATQzxuBnrUn6N/QHzSyB24oPr/wgIJY++slgitpxCBtjSOvcIe6iYDOPTwd6lyTpjQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -106,8 +90,8 @@ packages: typescript: optional: true - '@solana/codecs-numbers@6.3.1': - resolution: {integrity: sha512-rudL1RjVBdpD60QPn3DhATQzxuBnrUn6N/QHzSyB24oPr/wgIJY++slgitpxCBtjSOvcIe6iYDOPTwd6lyTpjQ==} + '@solana/codecs-numbers@6.4.0': + resolution: {integrity: sha512-pMdof3ires/p2Bg5oYwws3lDhd1XFzJFl4lic6J5F1Lr9Dq/288qPwgfkX+zxKxMQvlKuyp4LAF1JbZkDE5P7A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -115,8 +99,8 @@ packages: typescript: optional: true - '@solana/codecs-strings@6.0.1': - resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} + '@solana/codecs-strings@6.3.1': + resolution: {integrity: sha512-ODcenZ9kkQjbhU4jrXtXLeYqr957XkypU3/rph/o+rbgye9BtO6aAZaSMoHcAu3vqC9Ix9BdcQAD8kpC41CWrg==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -127,8 +111,8 @@ packages: typescript: optional: true - '@solana/codecs-strings@6.3.1': - resolution: {integrity: sha512-ODcenZ9kkQjbhU4jrXtXLeYqr957XkypU3/rph/o+rbgye9BtO6aAZaSMoHcAu3vqC9Ix9BdcQAD8kpC41CWrg==} + '@solana/codecs-strings@6.4.0': + resolution: {integrity: sha512-DAH9/aqtPAt5eP3os2hSHCoPtvVGZCUwGjqKMr+rjgmcyKF96gYj9qQWhKKgL9P3dd4QVUfbu7jN1OGFWGy8ig==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -139,8 +123,8 @@ packages: typescript: optional: true - '@solana/errors@6.0.1': - resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} + '@solana/errors@6.3.1': + resolution: {integrity: sha512-56497UfLZRLEvtQq09FO8PuLr6bciSP6HWoQ/sZvPMNL5LXJ6z2W1qaY6r8CibHrBoVH9vmVW+DdgQE63K4cIw==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -149,8 +133,8 @@ packages: typescript: optional: true - '@solana/errors@6.3.1': - resolution: {integrity: sha512-56497UfLZRLEvtQq09FO8PuLr6bciSP6HWoQ/sZvPMNL5LXJ6z2W1qaY6r8CibHrBoVH9vmVW+DdgQE63K4cIw==} + '@solana/errors@6.4.0': + resolution: {integrity: sha512-xwJOvEtOQEMMtrYwrbk44Br64xzh5xnFJQFI/VikT43qLmi/EB3UEYFVxv0B30RL9y153hi6PpGHBTkMpVYeJQ==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -190,10 +174,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'} @@ -295,11 +275,6 @@ 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 - semver@7.7.4: resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} engines: {node: '>=10'} @@ -328,53 +303,34 @@ snapshots: picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.5.0': - dependencies: - '@codama/node-types': 1.5.0 - commander: 14.0.2 - picocolors: 1.1.1 - '@codama/errors@1.5.1': dependencies: '@codama/node-types': 1.5.1 commander: 14.0.3 picocolors: 1.1.1 - '@codama/node-types@1.5.0': {} - '@codama/node-types@1.5.1': {} - '@codama/nodes@1.5.0': - dependencies: - '@codama/errors': 1.5.0 - '@codama/node-types': 1.5.0 - '@codama/nodes@1.5.1': dependencies: '@codama/errors': 1.5.1 '@codama/node-types': 1.5.1 - '@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.6': dependencies: '@codama/errors': 1.5.1 '@codama/nodes': 1.5.1 '@codama/visitors-core': 1.5.1 - '@codama/renderers-js@1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@codama/renderers-js@2.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': 6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + '@codama/errors': 1.5.1 + '@codama/nodes': 1.5.1 + '@codama/renderers-core': 1.3.6 + '@codama/visitors-core': 1.5.1 + '@solana/codecs-strings': 6.4.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) prettier: 3.8.1 - semver: 7.7.3 + semver: 7.7.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript @@ -400,12 +356,6 @@ snapshots: '@codama/nodes': 1.5.1 '@codama/visitors-core': 1.5.1 - '@codama/visitors-core@1.5.0': - dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.5.1': dependencies: '@codama/errors': 1.5.1 @@ -420,22 +370,15 @@ snapshots: '@iarna/toml@2.2.5': {} - '@solana/codecs-core@6.0.1(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.0.1(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - '@solana/codecs-core@6.3.1(typescript@5.9.3)': dependencies: '@solana/errors': 6.3.1(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs-numbers@6.0.1(typescript@5.9.3)': + '@solana/codecs-core@6.4.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 6.0.1(typescript@5.9.3) - '@solana/errors': 6.0.1(typescript@5.9.3) + '@solana/errors': 6.4.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 @@ -446,13 +389,11 @@ snapshots: optionalDependencies: typescript: 5.9.3 - '@solana/codecs-strings@6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@solana/codecs-numbers@6.4.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 6.0.1(typescript@5.9.3) - '@solana/codecs-numbers': 6.0.1(typescript@5.9.3) - '@solana/errors': 6.0.1(typescript@5.9.3) + '@solana/codecs-core': 6.4.0(typescript@5.9.3) + '@solana/errors': 6.4.0(typescript@5.9.3) optionalDependencies: - fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 '@solana/codecs-strings@6.3.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': @@ -464,14 +405,23 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/errors@6.0.1(typescript@5.9.3)': + '@solana/codecs-strings@6.4.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + dependencies: + '@solana/codecs-core': 6.4.0(typescript@5.9.3) + '@solana/codecs-numbers': 6.4.0(typescript@5.9.3) + '@solana/errors': 6.4.0(typescript@5.9.3) + optionalDependencies: + fastestsmallesttextencoderdecoder: 1.0.22 + typescript: 5.9.3 + + '@solana/errors@6.3.1(typescript@5.9.3)': dependencies: chalk: 5.6.2 commander: 14.0.3 optionalDependencies: typescript: 5.9.3 - '@solana/errors@6.3.1(typescript@5.9.3)': + '@solana/errors@6.4.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 commander: 14.0.3 @@ -513,8 +463,6 @@ snapshots: '@codama/validators': 1.5.1 '@codama/visitors': 1.5.1 - commander@14.0.2: {} - commander@14.0.3: {} commander@5.1.0: {} @@ -607,8 +555,6 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 - semver@7.7.3: {} - semver@7.7.4: {} set-function-length@1.2.2: