From 3b781745575bb9a2952f68c24ddfea31669c4b01 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Mon, 5 Aug 2024 18:12:43 +0100 Subject: [PATCH] Upgrade from template (#8) --- Cargo.lock | 229 +++++++++++++- clients/js/package.json | 6 +- clients/js/pnpm-lock.yaml | 518 +++++++++++++++---------------- clients/rust/Cargo.toml | 2 + scripts/check-solana-version.mjs | 8 +- scripts/link-solana-version.mjs | 66 ++-- scripts/utils.mjs | 6 +- 7 files changed, 530 insertions(+), 305 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 930b5af..46945e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,6 +117,184 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "anchor-attribute-access-control" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47fe28365b33e8334dd70ae2f34a43892363012fe239cf37d2ee91693575b1f8" +dependencies = [ + "anchor-syn", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-attribute-account" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c288d496168268d198d9b53ee9f4f9d260a55ba4df9877ea1d4486ad6109e0f" +dependencies = [ + "anchor-syn", + "bs58 0.5.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-attribute-constant" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49b77b6948d0eeaaa129ce79eea5bbbb9937375a9241d909ca8fb9e006bb6e90" +dependencies = [ + "anchor-syn", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-attribute-error" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d20bb569c5a557c86101b944721d865e1fd0a4c67c381d31a44a84f07f84828" +dependencies = [ + "anchor-syn", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-attribute-event" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cebd8d0671a3a9dc3160c48598d652c34c77de6be4d44345b8b514323284d57" +dependencies = [ + "anchor-syn", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-attribute-program" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efb2a5eb0860e661ab31aff7bb5e0288357b176380e985bade4ccb395981b42d" +dependencies = [ + "anchor-lang-idl", + "anchor-syn", + "anyhow", + "bs58 0.5.1", + "heck 0.3.3", + "proc-macro2", + "quote", + "serde_json", + "syn 1.0.109", +] + +[[package]] +name = "anchor-derive-accounts" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04368b5abef4266250ca8d1d12f4dff860242681e4ec22b885dcfe354fd35aa1" +dependencies = [ + "anchor-syn", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-derive-serde" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0bb0e0911ad4a70cab880cdd6287fe1e880a1a9d8e4e6defa8e9044b9796a6c" +dependencies = [ + "anchor-syn", + "borsh-derive-internal 0.10.3", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-derive-space" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ef415ff156dc82e9ecb943189b0cb241b3a6bfc26a180234dc21bd3ef3ce0cb" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "anchor-lang" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6620c9486d9d36a4389cab5e37dc34a42ed0bfaa62e6a75a2999ce98f8f2e373" +dependencies = [ + "anchor-attribute-access-control", + "anchor-attribute-account", + "anchor-attribute-constant", + "anchor-attribute-error", + "anchor-attribute-event", + "anchor-attribute-program", + "anchor-derive-accounts", + "anchor-derive-serde", + "anchor-derive-space", + "arrayref", + "base64 0.21.7", + "bincode", + "borsh 0.10.3", + "bytemuck", + "getrandom 0.2.12", + "solana-program", + "thiserror", +] + +[[package]] +name = "anchor-lang-idl" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31cf97b4e6f7d6144a05e435660fcf757dbc3446d38d0e2b851d11ed13625bba" +dependencies = [ + "anchor-lang-idl-spec", + "anyhow", + "heck 0.3.3", + "serde", + "serde_json", + "sha2 0.10.8", +] + +[[package]] +name = "anchor-lang-idl-spec" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bdf143115440fe621bdac3a29a1f7472e09f6cd82b2aa569429a0c13f103838" +dependencies = [ + "anyhow", + "serde", +] + +[[package]] +name = "anchor-syn" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f99daacb53b55cfd37ce14d6c9905929721137fd4c67bbab44a19802aecb622f" +dependencies = [ + "anyhow", + "bs58 0.5.1", + "heck 0.3.3", + "proc-macro2", + "quote", + "serde", + "serde_json", + "sha2 0.10.8", + "syn 1.0.109", + "thiserror", +] + [[package]] name = "android-tzdata" version = "0.1.1" @@ -655,6 +833,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + [[package]] name = "bumpalo" version = "3.15.4" @@ -1625,6 +1812,15 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +[[package]] +name = "heck" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "heck" version = "0.4.1" @@ -3486,7 +3682,7 @@ dependencies = [ "Inflector", "base64 0.21.7", "bincode", - "bs58", + "bs58 0.4.0", "bv", "lazy_static", "serde", @@ -3723,6 +3919,7 @@ dependencies = [ name = "solana-compute-budget-client" version = "0.0.0" dependencies = [ + "anchor-lang", "assert_matches", "borsh 0.10.3", "num-derive 0.3.3", @@ -3812,7 +4009,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8047852503d9f4452cf658f4f8aea1b78f4eb1eb7c2a0283014ecc9b58db5493" dependencies = [ "block-buffer 0.10.4", - "bs58", + "bs58 0.4.0", "bv", "either", "generic-array", @@ -3965,7 +4162,7 @@ dependencies = [ "borsh 0.10.3", "borsh 0.9.3", "borsh 1.3.1", - "bs58", + "bs58 0.4.0", "bv", "bytemuck", "cc", @@ -4151,7 +4348,7 @@ dependencies = [ "async-trait", "base64 0.21.7", "bincode", - "bs58", + "bs58 0.4.0", "indicatif", "log", "reqwest", @@ -4175,7 +4372,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e09487ecbe5948365e82ea089d457d8e157d562af1bbf96944b3b516e2cb486" dependencies = [ "base64 0.21.7", - "bs58", + "bs58 0.4.0", "jsonrpc-core", "reqwest", "semver", @@ -4291,7 +4488,7 @@ dependencies = [ "bincode", "bitflags 2.4.2", "borsh 1.3.1", - "bs58", + "bs58 0.4.0", "bytemuck", "byteorder", "chrono", @@ -4341,7 +4538,7 @@ version = "1.18.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48af9195a03fc9530880845e5c5f19d7893779f30576c6e8561e9994b067d61d" dependencies = [ - "bs58", + "bs58 0.4.0", "proc-macro2", "quote", "rustversion", @@ -4480,7 +4677,7 @@ dependencies = [ "base64 0.21.7", "bincode", "borsh 0.10.3", - "bs58", + "bs58 0.4.0", "lazy_static", "log", "serde", @@ -4891,7 +5088,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -5136,9 +5333,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", @@ -5157,9 +5354,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", @@ -5464,6 +5661,12 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-segmentation" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" + [[package]] name = "unicode-width" version = "0.1.11" diff --git a/clients/js/package.json b/clients/js/package.json index e1a4a4c..875fc8d 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -34,13 +34,13 @@ }, "license": "Apache-2.0", "peerDependencies": { - "@solana/web3.js": "2.0.0-preview.4" + "@solana/web3.js": "2.0.0-rc.0" }, "devDependencies": { "@ava/typescript": "^4.1.0", "@solana/eslint-config-solana": "^3.0.3", - "@solana/web3.js": "2.0.0-preview.4", - "@solana/webcrypto-ed25519-polyfill": "2.0.0-preview.4", + "@solana/web3.js": "2.0.0-rc.0", + "@solana/webcrypto-ed25519-polyfill": "2.0.0-rc.0", "@types/node": "^20", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", diff --git a/clients/js/pnpm-lock.yaml b/clients/js/pnpm-lock.yaml index 749aad4..4b455d3 100644 --- a/clients/js/pnpm-lock.yaml +++ b/clients/js/pnpm-lock.yaml @@ -15,11 +15,11 @@ importers: specifier: ^3.0.3 version: 3.0.3(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-react-hooks@4.6.0(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@solana/web3.js': - specifier: 2.0.0-preview.4 - version: 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) + specifier: 2.0.0-rc.0 + version: 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) '@solana/webcrypto-ed25519-polyfill': - specifier: 2.0.0-preview.4 - version: 2.0.0-preview.4(typescript@5.5.3) + specifier: 2.0.0-rc.0 + version: 2.0.0-rc.0(typescript@5.5.3) '@types/node': specifier: ^20 version: 20.14.11 @@ -370,49 +370,49 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} - '@solana/accounts@2.0.0-preview.4': - resolution: {integrity: sha512-gPuYX8l7GBk/UeqvZytbrARDvuBoM9r6SgWpn+Y3WQnMhwnCQ79ldh8GV2w28Jf7jFpeg3nXKt1++8cfsmaUUw==} + '@solana/accounts@2.0.0-rc.0': + resolution: {integrity: sha512-Xun9ASXuJd3njGgc8q32Ra2f2r5J4KNhVZn6g5G//uQVpc+8QpBrTqS0lV+q7f6i0+um8WD4Q7OYOtnRb6mBiA==} peerDependencies: typescript: '>=5' - '@solana/addresses@2.0.0-preview.4': - resolution: {integrity: sha512-9UxkkAb4+2OpmXx9UguT3DiZIDnbWws6dZWXLp0zQmk4yDxN4vsei7mUkf0Gz/o/ujNhYkowuvmzkHYGHZu9QA==} + '@solana/addresses@2.0.0-rc.0': + resolution: {integrity: sha512-cx/Vdwqn7Ns3ud+tyvD5ua4q2UtTleaAWuqyv7opAZLJOZWq2sL9esG3MIEZR5P9wW6sai8Mk9ule1DoWC+pqQ==} peerDependencies: typescript: '>=5' - '@solana/assertions@2.0.0-preview.4': - resolution: {integrity: sha512-Fd1LGdbH4fNMTYBXTvt+qlcEcaS7j+CnvPsUxboJmwiJz/qzkneLJ/Ao8SD/Fo6jt27bhYal2RBg3E9KOE0TkA==} + '@solana/assertions@2.0.0-rc.0': + resolution: {integrity: sha512-O9g764n0CC3y8OTe7o02syj/S6ecqHvOcquf0z1qwQKZkwCJ8eyb6Xj9l82RKuMEvMtgaIiMrg8jMDo2ML5aCw==} peerDependencies: typescript: '>=5' - '@solana/codecs-core@2.0.0-preview.4': - resolution: {integrity: sha512-A0VVuDDA5kNKZUinOqHxJQK32aKTucaVbvn31YenGzHX1gPqq+SOnFwgaEY6pq4XEopSmaK16w938ZQS8IvCnw==} + '@solana/codecs-core@2.0.0-rc.0': + resolution: {integrity: sha512-eIMMZiSfzZNlMK0uJRfpj9URrvuRo8SXncbCva+Wmpaob9dS+Mplo9VrH0T7+aTZJUAb5o9FbZgo4tUAOecVhg==} peerDependencies: typescript: '>=5' - '@solana/codecs-data-structures@2.0.0-preview.4': - resolution: {integrity: sha512-nt2k2eTeyzlI/ccutPcG36M/J8NAYfxBPI9h/nQjgJ+M+IgOKi31JV8StDDlG/1XvY0zyqugV3I0r3KAbZRJpA==} + '@solana/codecs-data-structures@2.0.0-rc.0': + resolution: {integrity: sha512-CTFOIV+I6LjGosKBkfYYFSRH+i2WG0F46Qf5zBsa52X/UGFFW7Nwaf6XJl84xYIFi4JMMZOA3x221vjK0JoYWg==} peerDependencies: typescript: '>=5' - '@solana/codecs-numbers@2.0.0-preview.4': - resolution: {integrity: sha512-Q061rLtMadsO7uxpguT+Z7G4UHnjQ6moVIxAQxR58nLxDPCC7MB1Pk106/Z7NDhDLHTcd18uO6DZ7ajHZEn2XQ==} + '@solana/codecs-numbers@2.0.0-rc.0': + resolution: {integrity: sha512-KqIU/xuB+IHNex9uYsB9y2MoH6VX2zRBnDJpdu9L/dE9Uw5xVKJRGdeHB9mBC4PBZ90VPMz3mP+xfFIXMS0j8g==} peerDependencies: typescript: '>=5' - '@solana/codecs-strings@2.0.0-preview.4': - resolution: {integrity: sha512-YDbsQePRWm+xnrfS64losSGRg8Wb76cjK1K6qfR8LPmdwIC3787x9uW5/E4icl/k+9nwgbIRXZ65lpF+ucZUnw==} + '@solana/codecs-strings@2.0.0-rc.0': + resolution: {integrity: sha512-9yYBvJpo1WTT8idzomrHF602Snylo1+pmEGNrYlUaxmzVU2Hdb28U0WKv0iz9TdCDvMDlIwjsBznt6DmVf4i6g==} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/codecs@2.0.0-preview.4': - resolution: {integrity: sha512-gLMupqI4i+G4uPi2SGF/Tc1aXcviZF2ybC81x7Q/fARamNSgNOCUUoSCg9nWu1Gid6+UhA7LH80sWI8XjKaRog==} + '@solana/codecs@2.0.0-rc.0': + resolution: {integrity: sha512-C92OLr/4k2+o+hlZb5ukXn4/KlDZa/YMvgVYlKk87+RoSPLS6/WWHpU8+Anh2bAW8TD+BwFx4p1WtLWPd6Jwdg==} peerDependencies: typescript: '>=5' - '@solana/errors@2.0.0-preview.4': - resolution: {integrity: sha512-kadtlbRv2LCWr8A9V22On15Us7Nn8BvqNaOB4hXsTB3O0fU40D1ru2l+cReqLcRPij4znqlRzW9Xi0m6J5DIhA==} + '@solana/errors@2.0.0-rc.0': + resolution: {integrity: sha512-4zaFxuYWQJi+CBucncGPc+QsWZktdmC6rDne3JxZGDKqqY5AMwktRC9LyUKaey/dVThmFGo1wv1wNQy1ryvbWw==} hasBin: true peerDependencies: typescript: '>=5' @@ -430,129 +430,129 @@ packages: eslint-plugin-typescript-sort-keys: ^3.2.0 typescript: ^5.1.6 - '@solana/fast-stable-stringify@2.0.0-preview.4': - resolution: {integrity: sha512-WcJRbl+YoShyabRR0VuGciMEcIbZuX/zH0Pip40WqJRO95VVtvNG5tl80syVFX7OlYeXAQaAkYMhiDjactpEdA==} + '@solana/fast-stable-stringify@2.0.0-rc.0': + resolution: {integrity: sha512-qpHZNKzVP5PFEIK1TQvIM+A+DjSCV53KaxXzxPFiYd/JfjdxIhH6h1C0bbRMdsbBqwWlbacs2H5/xrKP3X42cw==} peerDependencies: typescript: '>=5' - '@solana/functional@2.0.0-preview.4': - resolution: {integrity: sha512-swdKwWTLdqyrFDfHFYG/RFKBDLlVLjyDcjParLatT1sFD6p4jEAlrde8YmWxb/O5wqqMQEsKSPZvG8c938YqLA==} + '@solana/functional@2.0.0-rc.0': + resolution: {integrity: sha512-Z+nkjtWyjp3yktU8ip2MxbKb7+I2YUiY8kbpvxAWnWKGcUoKhgcW3EhxhSxFWKbaiEcBmyoPCEdM2MJgJPZJug==} peerDependencies: typescript: '>=5' - '@solana/instructions@2.0.0-preview.4': - resolution: {integrity: sha512-sR0bfXixX4ffYH5jH+80Z9S6SwKaoKPMKLjLHZnticiQhAlJBl7CUVfKzYatfEDgFOTAzOqa65V49kIQ2W8EPA==} + '@solana/instructions@2.0.0-rc.0': + resolution: {integrity: sha512-0/MQ80BXZfELZuCc7GudopuCpQC4VnN9WJDHtR8Tur0j8shiSyHWOOZlWfx66eQuSiQsnbOLT1CRTdhEt/vZhA==} peerDependencies: typescript: '>=5' - '@solana/keys@2.0.0-preview.4': - resolution: {integrity: sha512-LBcqecCxdbcQxVv1Ut/t03rDs2WOyBJLXu3KkgqCAXIENXDdSU026Hy+nFv5EvaKraAu98kyoMyFk8DtqhosLQ==} + '@solana/keys@2.0.0-rc.0': + resolution: {integrity: sha512-k/2uvObJdQfsmKUI+vL+9zcRRdZpaScq0SKIQLe33dbv+3XIEhCRizPEIg8Q8fzIKB9rrbwHqJ5RPDxThZa++g==} peerDependencies: typescript: '>=5' - '@solana/options@2.0.0-preview.4': - resolution: {integrity: sha512-tv2O/Frxql/wSe3jbzi5nVicIWIus/BftH+5ZR+r9r3FO0/htEllZS5Q9XdbmSboHu+St87584JXeDx3xm4jaA==} + '@solana/options@2.0.0-rc.0': + resolution: {integrity: sha512-uPc/31v+FZj9mkq2mQ6uAJfvmxGnQsx2mJ90IlJdDLSlkcx6GymNyXp0meh8qfhvfEaz4F5lCOzSeApofIZPvw==} peerDependencies: typescript: '>=5' - '@solana/programs@2.0.0-preview.4': - resolution: {integrity: sha512-yNgsD03QasbHpIW9UFkkX6UNhuHbrUC7bMnhXVWK6Hbo1E7tel067EfMfD46DsjPB1zyABNVHbHuo/7SKrzNUQ==} + '@solana/programs@2.0.0-rc.0': + resolution: {integrity: sha512-sihHN5HDXEXJnoeG/hnahFreF6d2AMGIELtF2kv5uHM9F5NcdYFmX1Q0tWBC6Y/DugIf3Qtk+jMFceM7qUoWXA==} peerDependencies: typescript: '>=5' - '@solana/rpc-api@2.0.0-preview.4': - resolution: {integrity: sha512-ZBAm6I44YsxPQO6WIfaLIKyX8dAfx09gzo+YCuespLkhrpVPQgYoESZQLaaeA3SRKwFbqjsNI5bj8T+ze0dZEA==} + '@solana/rpc-api@2.0.0-rc.0': + resolution: {integrity: sha512-vP21oksg3lU8bbSyJfgfT9a/eeQ/q5sN76VSR05T7j3Tv8VmI9N77ZNrtrfG4DZfIiYWw3qlSrVI8XTwgMIW8A==} peerDependencies: typescript: '>=5' - '@solana/rpc-parsed-types@2.0.0-preview.4': - resolution: {integrity: sha512-qxZ6BqrmaOtn+CCTa0jiimYir7BBBVwQBTMM5onETeDa1Qz9rcisadjfK9ZBSBmJObpVdPZmV5Afd6YRjNPHkQ==} + '@solana/rpc-parsed-types@2.0.0-rc.0': + resolution: {integrity: sha512-EvyOGZ6vbKG5XWDoPmNpMbm4Z0HE+hEIBxhQFkB+ML+qKPghtrifyF0bvydna7AIBkpc0OccVmv22Vd+gBvHng==} peerDependencies: typescript: '>=5' - '@solana/rpc-spec-types@2.0.0-preview.4': - resolution: {integrity: sha512-xL+sHqT5j7yzcJurfMuBAgFZGvppvsvDE08q06Uack9MYQwPYsgfCu5YG0T4Ik/ez/+ey9eFhJEhW2rOQ8A6sw==} + '@solana/rpc-spec-types@2.0.0-rc.0': + resolution: {integrity: sha512-0h2uQfjHIoUpP5ha3lzLFep6WLnggrksjWiCd8+iIoktPeh09CPJI2iU/hFheP7e+tUKhmErGqsL+OPNECwD2g==} peerDependencies: typescript: '>=5' - '@solana/rpc-spec@2.0.0-preview.4': - resolution: {integrity: sha512-EjtyV/OV3b4DMsD+Ks7YebrtVM6VprEn43LRwuzlM4lIhMjTzCHnNQiYDXdj2Zmlahx9+tfSQj73g8POOlStvA==} + '@solana/rpc-spec@2.0.0-rc.0': + resolution: {integrity: sha512-Cdwj8ief8ek5VUWRfSZDqdFzRfC6HVzyoPMIOdWRtEd8KocUGo7BTbwN9ilVJL/vIi52vi6e2A6oPMFNRyuBFw==} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-api@2.0.0-preview.4': - resolution: {integrity: sha512-gxK58e95eEpBO5nNLQ0tNA6fJfA0FYIe3NzQqZySxdfqVLV60VqcynmXxZ2KnKi4HUi1tq5GhoV1jhCBUSjArQ==} + '@solana/rpc-subscriptions-api@2.0.0-rc.0': + resolution: {integrity: sha512-Q4/rR4epPud7Z/3lrtGNMJd5oSrrxp/JgJTnkxEzGxs07RHmVfvO/9jrS+dgDtj3epyjD4BhmecO98Bg8bZ2yg==} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-spec@2.0.0-preview.4': - resolution: {integrity: sha512-NjvgipVGxgL9m1QHKMwuVQY+fNd6MDjHIYsHciqk6VDZwD4i+Zq5J7CcYnOsjxC/TtQ6lQutTJ1V9tnqOwf1WA==} + '@solana/rpc-subscriptions-spec@2.0.0-rc.0': + resolution: {integrity: sha512-ZUxFAGy1nAIpLZ3RgWsRlRvPOLlx/vk1isFo5YcA+GAFZDLIt+jOZJF/J6QUjOohMc5xSkTRmJuMURCDmu+1dg==} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.4': - resolution: {integrity: sha512-YnLZuraCNTeNadOd/YmsZFzaUjwvi8Vtiy8/h7tVCUGa8e6Nzu9uZFSxXaWrkimi/gHzvvee5ACXLf7gHDzXng==} + '@solana/rpc-subscriptions-transport-websocket@2.0.0-rc.0': + resolution: {integrity: sha512-Qg3w/zMAVaXhm/WQYFV0qXUjUDKmSJrRG/CzdjMfiqYPSFX1286uwyq5wnua4NzrbPd+ZtbGKyvdSVRnmy1WkA==} peerDependencies: typescript: '>=5' ws: ^8.14.0 - '@solana/rpc-subscriptions@2.0.0-preview.4': - resolution: {integrity: sha512-o03upZQxhqSljsQO7//I/gqJ3cWcDCLPJW7b4gjYs3ms3qrI/nAyeMLGfcR+Qw7TSB7aLPZZ45ANvzMwSZXDWw==} + '@solana/rpc-subscriptions@2.0.0-rc.0': + resolution: {integrity: sha512-ThLHuf6dxpq1RTWu7GAItjLubhcJsBdhGdGGtPjGEBW1zX5YnGLsG2sc16XLgbH5LZhUDQ37wub6iwMTOBqVhA==} peerDependencies: typescript: '>=5' - '@solana/rpc-transformers@2.0.0-preview.4': - resolution: {integrity: sha512-R6Ob2m74FcTtPEOneenwKv305Gypk/yWpdKhGafPP/1yJKLY4lp8BsHzNdDwWMP6YZ9c/GZO5iJI5o1fc9COJg==} + '@solana/rpc-transformers@2.0.0-rc.0': + resolution: {integrity: sha512-F/aL/ivIh2rPIpAGId8ZC3WG88wv025yLSmAhFZUOSbvF1ZCp8h63TUS5qpRGbDVUNr7PLu2Cm8EMkF6MoDSDA==} peerDependencies: typescript: '>=5' - '@solana/rpc-transport-http@2.0.0-preview.4': - resolution: {integrity: sha512-NmezbvEnWICY+5Ftnoeb3/Fvq7eF7c4RYyGy/3lDPmYJlA9AWIrlA8BQak30q0h0b/NLLXa7cqb/oOOTzevguw==} + '@solana/rpc-transport-http@2.0.0-rc.0': + resolution: {integrity: sha512-ZuT3nhlfTGcDXjEkVlwG+XeLUKLxZvh/Am1em2vO8zGSQJmtFKlEq+Wk3C55acs0CrH00s29w3TcEcTtltikbg==} peerDependencies: typescript: '>=5' - '@solana/rpc-types@2.0.0-preview.4': - resolution: {integrity: sha512-bd68xA8R7qiHQbyJH2/TqhCLRRq6DIP9RQg5HShlenIeplkh46rDjwmtxdS+MWC/xJUGQ4buT1CxCCVNxoOMuw==} + '@solana/rpc-types@2.0.0-rc.0': + resolution: {integrity: sha512-KFuPmkVlZitZnncDGbwu5FSFXljHQsWb4u6fJbmq0yNGwjAlUspOnl7ufL0bS7e+hh0NKfyNOXWuC4vmYEMThw==} peerDependencies: typescript: '>=5' - '@solana/rpc@2.0.0-preview.4': - resolution: {integrity: sha512-iTlxQZomNcDpYuNcNbHjfwn8dcxwWrzr4bh08n3p/3DrSQqqNRl4z459M2y5BpTEjZRhM7YjB2+RUptI60hBcA==} + '@solana/rpc@2.0.0-rc.0': + resolution: {integrity: sha512-isWQk5Cfu3hmjdzMfYLPn65KTkJHARocwx8i1+hF53kqrgvFGgAWtqDJXJfjkEan8ksSRfI5FzZB02YFB4zKSw==} peerDependencies: typescript: '>=5' - '@solana/signers@2.0.0-preview.4': - resolution: {integrity: sha512-NB5AaVnmjbfO2nXY8ubDOTfgCqoEai1HP/lPoK00y3EQ+R5k6kCxhKfKOJ4YG/sGy4osAvXdErfINjzg8oQnzQ==} + '@solana/signers@2.0.0-rc.0': + resolution: {integrity: sha512-woQAIFe/kVrDPIC45wAt539hXYBOgIcVFuNVn3/aeKBpxosAokX1/NI7lWrIJChPHYB48wdnx6FOdV++EErwdQ==} peerDependencies: typescript: '>=5' - '@solana/sysvars@2.0.0-preview.4': - resolution: {integrity: sha512-IAd3KTsI0O5siOMoKn6cnHG+Ji+7VtTKS7hIltg6MkejTY3WStzzi3i65WUXb3kr00Xpi3ol6WpksQDCZSl5Rg==} + '@solana/sysvars@2.0.0-rc.0': + resolution: {integrity: sha512-re+H9N4jFlFlpVxZt2y7QwWpo1HvqMgxLzJgnJicn6KPTeQX+UgH9+N1yNInLrBWDmgdvw+xjUinojqt3xPlEA==} peerDependencies: typescript: '>=5' - '@solana/transaction-confirmation@2.0.0-preview.4': - resolution: {integrity: sha512-owRIvEQ/oXbmZL3n1SDRuyBNUYFnWEddz89SdNVnztwzQXZ/IaULv33So+0WT8gxONkKIcrYbv9pkULYU1om6w==} + '@solana/transaction-confirmation@2.0.0-rc.0': + resolution: {integrity: sha512-dGHxDaMd+a5BN52IZMiTv0oBcVwvNugGPJdE431ltSY47Q3rMUeGKQ9fj/EMY9WzVGEnbcD4Q67hERz1CRSJTA==} peerDependencies: typescript: '>=5' - '@solana/transaction-messages@2.0.0-preview.4': - resolution: {integrity: sha512-1oTkS7wL1g9qTLNFNMzDQ82gMgyTh9NFl0Jm3qns8J7raaXAwtxUz8138zqg/+jte9MEQH7wZ53c/OMpB7k8Dw==} + '@solana/transaction-messages@2.0.0-rc.0': + resolution: {integrity: sha512-WY3eQ6z1gsRffwSzRWy8MjJzLlNs47Wd99Up1vQggn9vJtwoGPF1uIYkjkTxsCEBXQOC1Z1RTy87dgcM7US/Jg==} peerDependencies: typescript: '>=5' - '@solana/transactions@2.0.0-preview.4': - resolution: {integrity: sha512-5zazsq6YwbN11ePyRXX60MaTHNTrC+83UjjTX2mf7OVUvIEZwdksnNSCVC8P2ZaBUHz1pljbqAi+1prC9RirSg==} + '@solana/transactions@2.0.0-rc.0': + resolution: {integrity: sha512-0+d37gqvxAo172AtRkW2MDT19IYIcapeSZE4/RLa87JFBbouJovDZStDoYpcVCwjv4uxS3Squtc9PyAPhKLSnw==} peerDependencies: typescript: '>=5' - '@solana/web3.js@2.0.0-preview.4': - resolution: {integrity: sha512-XKp3bD/okjnxQfpY1Z1StKZ2StT3Bsard/3auh+JFVLybiURNURVXRbPO6UCFCuVxYjJLu9MqAjEkZ50GgYaIA==} + '@solana/web3.js@2.0.0-rc.0': + resolution: {integrity: sha512-yJFhDdWM/REW635Cx2pIwa+cXxAEYQwdQ17ZvFO/fUZtU+In/OWYE3fXyC2ShfpUYzeCuMIfxHVPUhmeuSpUyA==} peerDependencies: typescript: '>=5' - '@solana/webcrypto-ed25519-polyfill@2.0.0-preview.4': - resolution: {integrity: sha512-FLmO3XIz1vSNMSJLM3eyU79ukFrHDnx41iDv9GNP24rBq/rNkr2CG+fO86cHT+Tu7hwwcs0KaRUYyOcVtcdnhg==} + '@solana/webcrypto-ed25519-polyfill@2.0.0-rc.0': + resolution: {integrity: sha512-Ol5+EexErkKhIprhONGcgjXbUpdAo6zefoA058G7MA7TG98SWTszNg0obDHhHi5IW+r2x5zXc9uOuv55bP9mgw==} peerDependencies: typescript: '>=5' @@ -1899,8 +1899,8 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici-types@6.19.2: - resolution: {integrity: sha512-jvI+p8VJnrOIQ8AU4PyB1ytW68EyrLnI2xvCO3e5umm3nmhNjpugMD1wo+X994PyvUT9dWS/k3vO1wwRIh730Q==} + undici-types@6.19.5: + resolution: {integrity: sha512-VQUzGd+K73uDi/pTqzDBbxZneciOuMRjF0r/Lep2zr/GOnU+cUvfgRu4T5k4TWJfpGdSK5nrzVDoQVoEIAFbmg==} unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} @@ -2217,71 +2217,71 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@solana/accounts@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/accounts@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/addresses@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/addresses@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/assertions': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/assertions': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@2.0.0-preview.4(typescript@5.5.3)': + '@solana/assertions@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-core@2.0.0-preview.4(typescript@5.5.3)': + '@solana/codecs-core@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-data-structures@2.0.0-preview.4(typescript@5.5.3)': + '@solana/codecs-data-structures@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-numbers@2.0.0-preview.4(typescript@5.5.3)': + '@solana/codecs-numbers@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-strings@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/codecs-strings@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.5.3 - '@solana/codecs@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/codecs@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/options': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/options': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@2.0.0-preview.4(typescript@5.5.3)': + '@solana/errors@2.0.0-rc.0(typescript@5.5.3)': dependencies: chalk: 5.3.0 commander: 12.1.0 @@ -2299,257 +2299,257 @@ snapshots: eslint-plugin-typescript-sort-keys: 3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) typescript: 5.5.3 - '@solana/fast-stable-stringify@2.0.0-preview.4(typescript@5.5.3)': + '@solana/fast-stable-stringify@2.0.0-rc.0(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/functional@2.0.0-preview.4(typescript@5.5.3)': + '@solana/functional@2.0.0-rc.0(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/instructions@2.0.0-preview.4(typescript@5.5.3)': + '@solana/instructions@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/keys@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/keys@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/assertions': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/assertions': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/options@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/options@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/programs@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-api@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': - dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-parsed-types': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-api@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-parsed-types': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-parsed-types@2.0.0-preview.4(typescript@5.5.3)': + '@solana/rpc-parsed-types@2.0.0-rc.0(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/rpc-spec-types@2.0.0-preview.4(typescript@5.5.3)': + '@solana/rpc-spec-types@2.0.0-rc.0(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/rpc-spec@2.0.0-preview.4(typescript@5.5.3)': + '@solana/rpc-spec@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-spec-types': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec-types': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/rpc-subscriptions-api@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc-subscriptions-api@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-spec@2.0.0-preview.4(typescript@5.5.3)': + '@solana/rpc-subscriptions-spec@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-spec-types': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-spec-types': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - '@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.4(typescript@5.5.3)(ws@8.14.2)': + '@solana/rpc-subscriptions-transport-websocket@2.0.0-rc.0(typescript@5.5.3)(ws@8.14.2)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 ws: 8.14.2 - '@solana/rpc-subscriptions@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2)': + '@solana/rpc-subscriptions@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/fast-stable-stringify': 2.0.0-preview.4(typescript@5.5.3) - '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-subscriptions-api': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-subscriptions-transport-websocket': 2.0.0-preview.4(typescript@5.5.3)(ws@8.14.2) - '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/fast-stable-stringify': 2.0.0-rc.0(typescript@5.5.3) + '@solana/functional': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-subscriptions-api': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-subscriptions-transport-websocket': 2.0.0-rc.0(typescript@5.5.3)(ws@8.14.2) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/rpc-transformers@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc-transformers@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/functional': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-transport-http@2.0.0-preview.4(typescript@5.5.3)': + '@solana/rpc-transport-http@2.0.0-rc.0(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 - undici-types: 6.19.2 + undici-types: 6.19.5 - '@solana/rpc-types@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc-types@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/fast-stable-stringify': 2.0.0-preview.4(typescript@5.5.3) - '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-api': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-transport-http': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/fast-stable-stringify': 2.0.0-rc.0(typescript@5.5.3) + '@solana/functional': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-api': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-transport-http': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/signers@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/signers@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) - '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/instructions': 2.0.0-rc.0(typescript@5.5.3) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/sysvars@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/sysvars@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/accounts': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/accounts': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transaction-confirmation@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2)': - dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-subscriptions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-confirmation@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/transaction-messages@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/transaction-messages@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) - '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/functional': 2.0.0-rc.0(typescript@5.5.3) + '@solana/instructions': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transactions@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': - dependencies: - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) - '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) - '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) - '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/functional': 2.0.0-rc.0(typescript@5.5.3) + '@solana/instructions': 2.0.0-rc.0(typescript@5.5.3) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/web3.js@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2)': - dependencies: - '@solana/accounts': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) - '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) - '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) - '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/programs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-parsed-types': 2.0.0-preview.4(typescript@5.5.3) - '@solana/rpc-subscriptions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) - '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/signers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/sysvars': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-confirmation': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) - '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/web3.js@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2)': + dependencies: + '@solana/accounts': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-rc.0(typescript@5.5.3) + '@solana/functional': 2.0.0-rc.0(typescript@5.5.3) + '@solana/instructions': 2.0.0-rc.0(typescript@5.5.3) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/programs': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-parsed-types': 2.0.0-rc.0(typescript@5.5.3) + '@solana/rpc-subscriptions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/signers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/sysvars': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-confirmation': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.14.2) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/webcrypto-ed25519-polyfill@2.0.0-preview.4(typescript@5.5.3)': + '@solana/webcrypto-ed25519-polyfill@2.0.0-rc.0(typescript@5.5.3)': dependencies: '@noble/ed25519': 2.0.0 typescript: 5.5.3 @@ -2633,7 +2633,7 @@ snapshots: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4 + debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.0 @@ -3901,7 +3901,7 @@ snapshots: undici-types@5.26.5: {} - undici-types@6.19.2: {} + undici-types@6.19.5: {} unicorn-magic@0.1.0: {} diff --git a/clients/rust/Cargo.toml b/clients/rust/Cargo.toml index 16bf250..80cd6c7 100644 --- a/clients/rust/Cargo.toml +++ b/clients/rust/Cargo.toml @@ -8,10 +8,12 @@ readme = "README.md" license-file = "../../LICENSE" [features] +anchor = ["dep:anchor-lang"] test-sbf = [] serde = ["dep:serde", "dep:serde_with"] [dependencies] +anchor-lang = { version = "0.30.0", optional = true } borsh = "^0.10" num-derive = "^0.3" num-traits = "^0.2" diff --git a/scripts/check-solana-version.mjs b/scripts/check-solana-version.mjs index f0844be..28c1d19 100644 --- a/scripts/check-solana-version.mjs +++ b/scripts/check-solana-version.mjs @@ -5,7 +5,13 @@ import { getInstalledSolanaVersion, getSolanaVersion } from './utils.mjs'; const expectedVersion = getSolanaVersion(); const installedVersion = await getInstalledSolanaVersion(); -if (installedVersion !== expectedVersion) { +if (!installedVersion) { + echo( + chalk.red('[ ERROR ]'), + `No Solana installation found. Please install Solana ${expectedVersion} before proceeding.` + ); + process.exit(1); +} else if (installedVersion !== expectedVersion) { echo( chalk.yellow('[ WARNING ]'), `The installed Solana version ${installedVersion} does not match the expected version ${expectedVersion}.` diff --git a/scripts/link-solana-version.mjs b/scripts/link-solana-version.mjs index acc0a04..f92ae45 100644 --- a/scripts/link-solana-version.mjs +++ b/scripts/link-solana-version.mjs @@ -2,16 +2,8 @@ import 'zx/globals'; import { getInstalledSolanaVersion, getSolanaVersion } from './utils.mjs'; -const installedVersion = await getInstalledSolanaVersion(); const expectedVersion = getSolanaVersion(); - -if (installedVersion === expectedVersion) { - echo( - chalk.green('[ SUCCESS ]'), - `The expected Solana version ${expectedVersion} is installed.` - ); - process.exit(0); -} +const installedVersion = await getInstalledSolanaVersion(); const installPath = path.join( os.homedir(), @@ -29,28 +21,54 @@ const releasePath = path.join( const activeReleasePath = path.join(installPath, 'active_release'); const hasRelease = await fs.exists(releasePath); -if (hasRelease) { +if (!installedVersion) { + echo( + chalk.red('[ ERROR ]'), + `No Solana installation found. Solana ${expectedVersion} is required for this project.` + ); + await askToInstallSolana(expectedVersion); +} else if (installedVersion === expectedVersion) { + echo( + chalk.green('[ SUCCESS ]'), + `The expected Solana version ${expectedVersion} is installed.` + ); +} else if (hasRelease) { await $`rm -f "${activeReleasePath}"`; await $`ln -s "${releasePath}" "${activeReleasePath}"`; echo( chalk.green('[ SUCCESS ]'), `Successfully switched from Solana version ${installedVersion} to ${expectedVersion} to match the project's requirements.` ); - process.exit(0); +} else { + echo( + chalk.yellow('[ WARNING ]'), + `Cannot switch from Solana version ${installedVersion} to ${expectedVersion} because it is not installed.` + ); + await askToInstallSolana(expectedVersion); } -echo( - chalk.yellow('[ WARNING ]'), - `Cannot switch from Solana version ${installedVersion} to ${expectedVersion} because it is not installed.` -); - -const installRelease = await question('Should we install it now? [y/N] '); -if (installRelease === 'y') { - echo(`Installing Solana ${expectedVersion}...`); - await $`sh -c "$(curl -sSfL https://release.solana.com/v${expectedVersion}/install)"`; +async function askToInstallSolana(version) { + const installRelease = await question('Should we install it now? [y/N] '); + if (installRelease === 'y') { + await installSolana(version); + echo( + chalk.green('[ SUCCESS ]'), + `Successfully installed Solana version ${version}.` + ); + } else { + process.exit(1); + } } -echo( - chalk.green('[ SUCCESS ]'), - `Successfully switched from Solana version ${installedVersion} to ${expectedVersion} to match the project's requirements.` -); +async function installSolana(version) { + echo(`Installing Solana ${version}...`); + const cutoff = '1.18.19'; + const isBeforeCutoff = + (await $`[[ "$(printf '%s\n' "${cutoff}" "${version}" | sort -V | head -n1)" = "${version}" ]] && [[ "${cutoff}" != "${version}" ]]`.quiet() + .exitCode) == 0; + if (isBeforeCutoff) { + await $`sh -c "$(curl -sSfL https://release.solana.com/v${version}/install)"`; + } else { + await $`sh -c "$(curl -sSfL https://release.anza.xyz/v${version}/install)"`; + } +} diff --git a/scripts/utils.mjs b/scripts/utils.mjs index 274f217..44ee564 100644 --- a/scripts/utils.mjs +++ b/scripts/utils.mjs @@ -121,10 +121,6 @@ export async function getInstalledSolanaVersion() { const { stdout } = await $`solana --version`.quiet(); return stdout.match(/(\d+\.\d+\.\d+)/)?.[1]; } catch (error) { - echo( - chalk.red('[ ERROR ]'), - `No Solana installation found. Please install Solana ${getSolanaVersion()} before proceeding.` - ); - process.exit(1); + return ''; } }