diff --git a/package.json b/package.json index 1150171..6666696 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "devDependencies": { - "@codama/renderers-js": "^1.7", + "@codama/renderers-js": "^2.1", "@codama/renderers-rust": "~1.1", "@solana/prettier-config-solana": "0.0.6", "codama": "^1.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 355b0af..ea0549c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.7 - version: 1.7.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) + specifier: ^2.1 + version: 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) '@codama/renderers-rust': specifier: ~1.1 version: 1.1.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3) @@ -34,10 +34,6 @@ packages: resolution: {integrity: sha512-tsQ83+8RRV7lXcRuSqRZJCjEM0gsVGo4PXAKL9dokUJzSTMMPQU4y87ExUps5KjeXQf6MkfOzYnGKqGf4FtU4g==} 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 @@ -45,29 +41,23 @@ packages: '@codama/node-types@1.3.1': resolution: {integrity: sha512-tpZwqOnCNXs1aLj95+ZjQW3K96LkiekqsYFTmuJxgspWoR3Ro+NDQEoxD3j5364hIYt0VfjcZlAcFD6y95GaQA==} - '@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.3.1': resolution: {integrity: sha512-ipmZFoX8Q7+2tKLOrTwcZ4R9eurhDyPU/oZ8I+2jNAuFEEW5mUewdNdeCt8xcq+vduovAd2BuvC3eJp2WbohCQ==} - '@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.0.17': resolution: {integrity: sha512-pH0tyCrkhmmc84V5kAfXAiaTn+FPPW8nM530cZWneWr2q12frgmCtmIwrGcRKyqDPnS/dJ05P+y/TOZMit+Ldg==} - '@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@1.1.3': @@ -79,9 +69,6 @@ packages: '@codama/visitors-core@1.3.1': resolution: {integrity: sha512-dlwzywaJEKO22QC/E3LpfVqNbSkTBXzFVR6pSGhWan/MNn//UR5+jyp3bFIKr+KPFDq+czilgFvFvllq5XFAXw==} - '@codama/visitors-core@1.5.0': - resolution: {integrity: sha512-3PIAlBX0a06hIxzyPtQMfQcqWGFBgfbwysSwcXBbvHUYbemwhD6xwlBKJuqTwm9DyFj3faStp5fpvcp03Rjxtw==} - '@codama/visitors-core@1.5.1': resolution: {integrity: sha512-JotrDJLI7OfPNHulu4KtPfUDF/FYMC3RgEnv9lu47Fiiy0upbGAw1NorgBuoreyJ9Uj0GZyHt7Q5rjrCoa1U0g==} @@ -94,8 +81,8 @@ packages: peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-core@6.0.1': - resolution: {integrity: sha512-OnUQk94qfvfE0nVveZ638aNUL3tyRJoorUFiAG0ICTGUo3c6fkYb8vH23o/5O2qmuSmYND1sn+UCaldNMVkFpg==} + '@solana/codecs-core@6.4.0': + resolution: {integrity: sha512-I7NARq1VqaI5rCO01Ildy6ndaDHUDsFZSU0buAENcOm3MOfTqA+FcpmVapmFKdJDdks+QGiVxMJHRn46/aH4Jg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -109,8 +96,8 @@ packages: peerDependencies: typescript: '>=5.3.3' - '@solana/codecs-numbers@6.0.1': - resolution: {integrity: sha512-ZrI1NjUsf4I+Klue/2rlQbZLcGRom/G2E4VB/8x4IEHGOeFLQhXcxmnib8kdgomQRYOzF1BjVDmCYxvZr+6AWA==} + '@solana/codecs-numbers@6.4.0': + resolution: {integrity: sha512-pMdof3ires/p2Bg5oYwws3lDhd1XFzJFl4lic6J5F1Lr9Dq/288qPwgfkX+zxKxMQvlKuyp4LAF1JbZkDE5P7A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: ^5.0.0 @@ -125,8 +112,8 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5.3.3' - '@solana/codecs-strings@6.0.1': - resolution: {integrity: sha512-OmMIfMFbbJVIxveBeATKCj9DsmZ8l4vJPnOLHUop0hLWRiYHTQ1qokMqfk/X8PCmUjXmbXnlp63BikGtdKN3/g==} + '@solana/codecs-strings@6.4.0': + resolution: {integrity: sha512-DAH9/aqtPAt5eP3os2hSHCoPtvVGZCUwGjqKMr+rjgmcyKF96gYj9qQWhKKgL9P3dd4QVUfbu7jN1OGFWGy8ig==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -144,8 +131,8 @@ packages: peerDependencies: typescript: '>=5.3.3' - '@solana/errors@6.0.1': - resolution: {integrity: sha512-sMe5GCsXto8F1KDeq9GbZR0+m841SqEYep3NAcYlC0lqF2RG4giaaPQHgrWI5DJR/L7yc8FzUIQfTxnaN7bwOQ==} + '@solana/errors@6.4.0': + resolution: {integrity: sha512-xwJOvEtOQEMMtrYwrbk44Br64xzh5xnFJQFI/VikT43qLmi/EB3UEYFVxv0B30RL9y153hi6PpGHBTkMpVYeJQ==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -290,8 +277,8 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} - semver@7.7.3: - resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + semver@7.7.4: + resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} engines: {node: '>=10'} hasBin: true @@ -324,12 +311,6 @@ snapshots: chalk: 5.6.2 commander: 14.0.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 @@ -338,8 +319,6 @@ snapshots: '@codama/node-types@1.3.1': {} - '@codama/node-types@1.5.0': {} - '@codama/node-types@1.5.1': {} '@codama/nodes@1.3.1': @@ -347,11 +326,6 @@ snapshots: '@codama/errors': 1.3.1 '@codama/node-types': 1.3.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 @@ -363,21 +337,21 @@ snapshots: '@codama/nodes': 1.3.1 '@codama/visitors-core': 1.3.1 - '@codama/renderers-core@1.3.5': + '@codama/renderers-core@1.3.6': dependencies: - '@codama/errors': 1.5.0 - '@codama/nodes': 1.5.0 - '@codama/visitors-core': 1.5.0 + '@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 @@ -407,12 +381,6 @@ snapshots: '@codama/nodes': 1.3.1 json-stable-stringify: 1.3.0 - '@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 @@ -430,9 +398,9 @@ snapshots: '@solana/errors': 2.3.0(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-core@6.0.1(typescript@5.9.3)': + '@solana/codecs-core@6.4.0(typescript@5.9.3)': dependencies: - '@solana/errors': 6.0.1(typescript@5.9.3) + '@solana/errors': 6.4.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 @@ -442,10 +410,10 @@ snapshots: '@solana/errors': 2.3.0(typescript@5.9.3) typescript: 5.9.3 - '@solana/codecs-numbers@6.0.1(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/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: typescript: 5.9.3 @@ -457,11 +425,11 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.9.3 - '@solana/codecs-strings@6.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.3)': + '@solana/codecs-strings@6.4.0(fastestsmallesttextencoderdecoder@1.0.22)(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/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 @@ -472,7 +440,7 @@ snapshots: commander: 14.0.3 typescript: 5.9.3 - '@solana/errors@6.0.1(typescript@5.9.3)': + '@solana/errors@6.4.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 commander: 14.0.3 @@ -607,7 +575,7 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 - semver@7.7.3: {} + semver@7.7.4: {} set-function-length@1.2.2: dependencies: