diff --git a/package.json b/package.json index cb5e2607..deaccfeb 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ }, "devDependencies": { "@changesets/cli": "^3.0.3", - "@codama/renderers-js": "^2.7.0", + "@codama/renderers-js": "^2.9.1", "@solana-program/system": "^0.16.0", "@solana/prettier-config-solana": "0.0.7", "@solana/sysvars": "^8.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 037a0f78..b704164b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,14 +12,14 @@ importers: specifier: ^3.0.3 version: 3.0.3 '@codama/renderers-js': - specifier: ^2.7.0 - version: 2.7.0(typescript@6.0.3) + specifier: ^2.9.1 + version: 2.9.1(typescript@6.0.3) '@solana-program/system': specifier: ^0.16.0 version: 0.16.0(@solana/kit@8.6.0(typescript@6.0.3)) '@solana/prettier-config-solana': specifier: 0.0.7 - version: 0.0.7(prettier@3.9.4) + version: 0.0.7(prettier@3.10.1) '@solana/sysvars': specifier: ^8.6.0 version: 8.6.0(typescript@6.0.3) @@ -154,42 +154,29 @@ packages: resolution: {integrity: sha512-VSL/5hshedUUq9RmWgq/Q8GpeTfiJkr9LBejhK0I6n1+my5Mr8GFo1p66cqV5Rz7KS1m8UUiM8QZxmUwwEdioA==} hasBin: true - '@codama/errors@1.10.2': - resolution: {integrity: sha512-relp9Inq9QkhZ0JUklKujSFWLkVfQSsn2/ms303vsGVWlFBXQmoEsmZCVKgJ7k5APNBbsD8Hc9GGU4J+P05SLA==} - hasBin: true - '@codama/errors@1.11.0': resolution: {integrity: sha512-JVEgRdHTuTER9eb0Y6uGhG2UHN9LRKA4gj9Wiijvsnj8mxhaweLbbqyJcBAWUvx95yo+CsvHJdItS/7TY0Loxg==} hasBin: true - '@codama/fragments@0.1.5': - resolution: {integrity: sha512-aisr+cdayABykLhysE1pcDWMJJZNAAWyi5NEzkMLpyTmQrhIK6Mca14gSJIw3a0uo3E5s5Zc4d6gsxRjfYpLuw==} - - '@codama/node-types@1.10.2': - resolution: {integrity: sha512-qFHqpuCmAoJy9ggkLadtug2Nlmnai6LrEmr+sfsK6dEJVOFGMNBR4dxwheziOu/Sn9oWGfnFfKbzQIdWE0qHHg==} + '@codama/fragments@1.0.0': + resolution: {integrity: sha512-hwiteKd/MC3JdU8YS6BwdsEqs7NLcNDd6zz433ac85VUMT17YaYVLlfSCqb1RZRRXzgBA2Kso8DtWFlvwd3UIw==} '@codama/node-types@1.11.0': resolution: {integrity: sha512-QfTvw+q8TLHHHAKvmbhklYTcb5dnO8PO8I4HaON5j/nWSM999r46nTOSyOx8yQ5kPN/mBJy3lpU93cvVrDrmNg==} - '@codama/nodes@1.10.2': - resolution: {integrity: sha512-wR2LKg6/GQ+ctgOiH9XPVb7ktq+gu7X/WEiCk45d4L1+P/JJh2kJeS/sMbktrgJNimcoO2G1Ms3+eUDjrwfo5g==} - '@codama/nodes@1.11.0': resolution: {integrity: sha512-u9Gd42ovraxtYts1+B80fO9PumGlpj3wOazStiI/bckjDJs4ytedfkR47vEfYTdy5P3uD152RLr/0t+Cs7ts5A==} - '@codama/renderers-core@1.4.0': - resolution: {integrity: sha512-JkqKWaN5nKampHgJ3jWh7u6kNPrwp7DB/lpkyS1hpL6NiC45tZGie6foaq8TnSTpaVPtVsL8Q46AP1MZpongpg==} + '@codama/renderers-core@1.4.1': + resolution: {integrity: sha512-L/mNuzP29emEz9O2+tghToNvtTnfjpenJ984LrnRi4p8uonf3vOROUzDE+9w5httoowQt0YHCxFvQ8DP5lK0DQ==} - '@codama/renderers-js@2.7.0': - resolution: {integrity: sha512-CjGubePd5rupdWzc+8ybnJ7zhNmAsJ5SkTipBkEQI+xG0QP8r7xGJpx/skzgbA7wiuRNsAe6DemKctzLF1C79w==} + '@codama/renderers-js@2.9.1': + resolution: {integrity: sha512-+j1q8WLW3BIcHIbf0yDQGKUcsHGVBdCSTtMsEd0O8EFeNADiJ2fpevftSEfxRx8QeNylOfHuJm8P2EQQuhzeqw==} engines: {node: '>=20.18.0'} '@codama/validators@1.11.0': resolution: {integrity: sha512-aOv+DL01aUkg7lW4N1A37NZ6cpWdNvlYV0M6FSP7IhqX4h3wsdnoBWMp5pRbZKYlJp78uF1dG9+W5U7l9SKxOg==} - '@codama/visitors-core@1.10.2': - resolution: {integrity: sha512-hxoISIWUUiu9Ma97OxsXl3Db5qvYmqUm9JVCf6MCb/+uE5nd4U/jZuTIKQFLulitiGRWhQr8IJI16YgO79Nuyw==} - '@codama/visitors-core@1.11.0': resolution: {integrity: sha512-hF3d9JocVx4kRWgMNRTbL/4yq56z31l+C2JKRoRTJ6IlOZESlqUxUcU8HeuoR/2zXbsWTIMnvxFlfTemCOGvgg==} @@ -815,15 +802,6 @@ packages: typescript: optional: true - '@solana/codecs-core@8.4.0': - resolution: {integrity: sha512-HOsIB3Ic/qnlXv4V0Q5gpxFxBy5pBiINpEMtCzGtHRnj7mI3Amsh8HKR7x9nbP1SBDuDlOrP/Mds9yIqyKn8TQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - '@solana/codecs-core@8.6.0': resolution: {integrity: sha512-1N2XZ1yCJGmdTE3g5Fh6/UOE6y46qing+7CZpxfrgB4Q+1l+R/d0z4G15IpQUNl3vzqML8CFF791f/A1XSVmJA==} engines: {node: '>=20.18.0'} @@ -842,15 +820,6 @@ packages: typescript: optional: true - '@solana/codecs-numbers@8.4.0': - resolution: {integrity: sha512-A9SlaBylkTFjtBiVrFUX3We5SZK4L/Q6SKpPyazZQ1MTCO0FyTuKyZwDART2Pzg+C/5xLWjSns+FSTR8FhD/Rg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - '@solana/codecs-numbers@8.6.0': resolution: {integrity: sha512-GRIArvWJiYxH5w1RMKn7IOCLy0uYB/WRT2kFW/uyXHzL1VNFyud2BIzG0D3iM+AxTd85SdS/x93aV7NEw0mTOQ==} engines: {node: '>=20.18.0'} @@ -860,18 +829,6 @@ packages: typescript: optional: true - '@solana/codecs-strings@8.4.0': - resolution: {integrity: sha512-jQhRrJT3ZoeDoSA5DtGxPmI5ODJi3STTCrtIXIniLr1J1cXUSlPfYe8BKOurNwC+SlEJyRmKfpVze+qeLacmmw==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5.4.0' - peerDependenciesMeta: - fastestsmallesttextencoderdecoder: - optional: true - typescript: - optional: true - '@solana/codecs-strings@8.6.0': resolution: {integrity: sha512-bLS/o5NdCRb9xj23zLACPjxYvDhdjvSDH4XoBAmQ1CPn3cDvVqVvAz0T41Bs/LMykhamkmpqTcWLoTOVqjTz3w==} engines: {node: '>=20.18.0'} @@ -893,16 +850,6 @@ packages: typescript: optional: true - '@solana/errors@8.4.0': - resolution: {integrity: sha512-t59ageeK8xa6LrCzj93QEhYtVr5t3GdnTH3qJMGqrCFMYM6IvNFLljlz4N75X+xYktj3sRABTrNoCfekeQlckA==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - '@solana/errors@8.6.0': resolution: {integrity: sha512-viHL51ymR1HZB7ZTp0ESkLOyHCa4bPfok9dvRYbMmYokY5ys1xinISKHUhcOHsg9zbuAWBRJUOnZRWAPbb4+yA==} engines: {node: '>=20.18.0'} @@ -1301,6 +1248,10 @@ packages: resolution: {integrity: sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==} engines: {node: '>=22.12.0'} + commander@15.1.0: + resolution: {integrity: sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==} + engines: {node: '>=22.12.0'} + commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} @@ -1547,8 +1498,8 @@ packages: yaml: optional: true - prettier@3.9.4: - resolution: {integrity: sha512-yWG/o/4oJfo036EKAfK6ACAoDOfHeRHx4tuxkfBZiauURiaSmYwlpOr5LQqKtIkRD2z1PLteme2WoxEnj4tHTg==} + prettier@3.10.1: + resolution: {integrity: sha512-70vp3ZUYoPlFbF9uiTdXHUUCGEIp7d4+6p+8DYbkm2jP7x/3i/paXVF6dopSI3zd/CEitrZN1rc4i85xWmmXlg==} engines: {node: '>=14'} hasBin: true @@ -1578,6 +1529,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.8.6: + resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} + engines: {node: '>=10'} + hasBin: true + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -1821,52 +1777,39 @@ snapshots: picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.10.2': - dependencies: - '@codama/node-types': 1.10.2 - commander: 15.0.0 - picocolors: 1.1.1 - '@codama/errors@1.11.0': dependencies: '@codama/node-types': 1.11.0 - commander: 15.0.0 + commander: 15.1.0 picocolors: 1.1.1 - '@codama/fragments@0.1.5': + '@codama/fragments@1.0.0': dependencies: - '@codama/errors': 1.10.2 - - '@codama/node-types@1.10.2': {} + '@codama/errors': 1.11.0 '@codama/node-types@1.11.0': {} - '@codama/nodes@1.10.2': - dependencies: - '@codama/errors': 1.10.2 - '@codama/node-types': 1.10.2 - '@codama/nodes@1.11.0': dependencies: '@codama/errors': 1.11.0 '@codama/node-types': 1.11.0 - '@codama/renderers-core@1.4.0': + '@codama/renderers-core@1.4.1': dependencies: - '@codama/errors': 1.10.2 - '@codama/fragments': 0.1.5 - '@codama/nodes': 1.10.2 - '@codama/visitors-core': 1.10.2 + '@codama/errors': 1.11.0 + '@codama/fragments': 1.0.0 + '@codama/nodes': 1.11.0 + '@codama/visitors-core': 1.11.0 - '@codama/renderers-js@2.7.0(typescript@6.0.3)': + '@codama/renderers-js@2.9.1(typescript@6.0.3)': dependencies: - '@codama/errors': 1.10.2 - '@codama/nodes': 1.10.2 - '@codama/renderers-core': 1.4.0 - '@codama/visitors-core': 1.10.2 - '@solana/codecs-strings': 8.4.0(typescript@6.0.3) - prettier: 3.9.4 - semver: 7.8.5 + '@codama/errors': 1.11.0 + '@codama/nodes': 1.11.0 + '@codama/renderers-core': 1.4.1 + '@codama/visitors-core': 1.11.0 + '@solana/codecs-strings': 8.6.0(typescript@6.0.3) + prettier: 3.10.1 + semver: 7.8.6 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript @@ -1877,12 +1820,6 @@ snapshots: '@codama/nodes': 1.11.0 '@codama/visitors-core': 1.11.0 - '@codama/visitors-core@1.10.2': - dependencies: - '@codama/errors': 1.10.2 - '@codama/nodes': 1.10.2 - json-stable-stringify: 1.3.0 - '@codama/visitors-core@1.11.0': dependencies: '@codama/errors': 1.11.0 @@ -2282,12 +2219,6 @@ snapshots: optionalDependencies: typescript: 6.0.3 - '@solana/codecs-core@8.4.0(typescript@6.0.3)': - dependencies: - '@solana/errors': 8.4.0(typescript@6.0.3) - optionalDependencies: - typescript: 6.0.3 - '@solana/codecs-core@8.6.0(typescript@6.0.3)': dependencies: '@solana/errors': 8.6.0(typescript@6.0.3) @@ -2302,13 +2233,6 @@ snapshots: optionalDependencies: typescript: 6.0.3 - '@solana/codecs-numbers@8.4.0(typescript@6.0.3)': - dependencies: - '@solana/codecs-core': 8.4.0(typescript@6.0.3) - '@solana/errors': 8.4.0(typescript@6.0.3) - optionalDependencies: - typescript: 6.0.3 - '@solana/codecs-numbers@8.6.0(typescript@6.0.3)': dependencies: '@solana/codecs-core': 8.6.0(typescript@6.0.3) @@ -2316,14 +2240,6 @@ snapshots: optionalDependencies: typescript: 6.0.3 - '@solana/codecs-strings@8.4.0(typescript@6.0.3)': - dependencies: - '@solana/codecs-core': 8.4.0(typescript@6.0.3) - '@solana/codecs-numbers': 8.4.0(typescript@6.0.3) - '@solana/errors': 8.4.0(typescript@6.0.3) - optionalDependencies: - typescript: 6.0.3 - '@solana/codecs-strings@8.6.0(typescript@6.0.3)': dependencies: '@solana/codecs-core': 8.6.0(typescript@6.0.3) @@ -2345,13 +2261,6 @@ snapshots: transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@8.4.0(typescript@6.0.3)': - dependencies: - chalk: 5.6.2 - commander: 15.0.0 - optionalDependencies: - typescript: 6.0.3 - '@solana/errors@8.6.0(typescript@6.0.3)': dependencies: chalk: 5.6.2 @@ -2494,9 +2403,9 @@ snapshots: transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/prettier-config-solana@0.0.7(prettier@3.9.4)': + '@solana/prettier-config-solana@0.0.7(prettier@3.10.1)': dependencies: - prettier: 3.9.4 + prettier: 3.10.1 '@solana/program-client-core@8.6.0(typescript@6.0.3)': dependencies: @@ -2844,6 +2753,8 @@ snapshots: commander@15.0.0: {} + commander@15.1.0: {} + commander@4.1.1: {} confbox@0.1.8: {} @@ -3106,7 +3017,7 @@ snapshots: tsx: 4.23.15 yaml: 2.9.1 - prettier@3.9.4: {} + prettier@3.10.1: {} prompts@2.4.2: dependencies: @@ -3153,6 +3064,8 @@ snapshots: semver@7.8.5: {} + semver@7.8.6: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4