2.1.1 (2025-05-12)
@solana/addresses@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-strings@2.1.1
- @solana/nominal-types@2.1.1
- @solana/codecs-core@2.1.1
- @solana/assertions@2.1.1
- @solana/errors@2.1.1
@solana/errors@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/rpc-transport-http@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/rpc-spec-types@2.1.1
- @solana/rpc-spec@2.1.1
- @solana/errors@2.1.1
@solana/sysvars@2.1.1
Patch Changes
-
#374
2fb1fbcThanks @steveluscher! - TheSysvarEpochRewardsencoder/decoder no longer produces malformed data -
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#379
e143797Thanks @steveluscher! - TheSysvarStakeHistoryencoder/decoder no longer produces malformed data -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,ca1d4ec]:- @solana/rpc-types@2.1.1
- @solana/accounts@2.1.1
- @solana/codecs@2.1.1
- @solana/errors@2.1.1
@solana/accounts@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,ca1d4ec]:- @solana/codecs-strings@2.1.1
- @solana/codecs-core@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/rpc-spec@2.1.1
- @solana/errors@2.1.1
@solana/assertions@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/errors@2.1.1
@solana/codecs@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-data-structures@2.1.1
- @solana/codecs-numbers@2.1.1
- @solana/codecs-strings@2.1.1
- @solana/codecs-core@2.1.1
- @solana/options@2.1.1
@solana/codecs-core@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/errors@2.1.1
@solana/codecs-data-structures@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-numbers@2.1.1
- @solana/codecs-core@2.1.1
- @solana/errors@2.1.1
@solana/codecs-numbers@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-core@2.1.1
- @solana/errors@2.1.1
@solana/codecs-strings@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-numbers@2.1.1
- @solana/codecs-core@2.1.1
- @solana/errors@2.1.1
@solana/compat@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/instructions@2.1.1
- @solana/transactions@2.1.1
- @solana/codecs-core@2.1.1
- @solana/addresses@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
@solana/instructions@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-core@2.1.1
- @solana/errors@2.1.1
@solana/keys@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-strings@2.1.1
- @solana/nominal-types@2.1.1
- @solana/codecs-core@2.1.1
- @solana/assertions@2.1.1
- @solana/errors@2.1.1
@solana/kit@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#409
24a329dThanks @mcintyre94! - Loosen lifetime constraint on sendAndConfirmTransaction to only require lastValidBlockHeight -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
2fb1fbc,36a9dee,41b679c,24a329d,41b679c,e143797,776e18d,ca1d4ec]:- @solana/sysvars@2.1.1
- @solana/transaction-confirmation@2.1.1
- @solana/transaction-messages@2.1.1
- @solana/rpc-subscriptions@2.1.1
- @solana/rpc-parsed-types@2.1.1
- @solana/rpc-spec-types@2.1.1
- @solana/instructions@2.1.1
- @solana/transactions@2.1.1
- @solana/functional@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/accounts@2.1.1
- @solana/programs@2.1.1
- @solana/signers@2.1.1
- @solana/codecs@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
- @solana/rpc@2.1.1
@solana/options@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-data-structures@2.1.1
- @solana/codecs-numbers@2.1.1
- @solana/codecs-strings@2.1.1
- @solana/codecs-core@2.1.1
- @solana/errors@2.1.1
@solana/programs@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/addresses@2.1.1
- @solana/errors@2.1.1
@solana/react@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/transactions@2.1.1
- @solana/addresses@2.1.1
- @solana/promises@2.1.1
- @solana/signers@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
@solana/rpc@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
ca1d4ec,7e7b2ef,36a9dee,41b679c,ca1d4ec]:- @solana/rpc-api@2.1.1
- @solana/rpc-transformers@2.1.1
- @solana/fast-stable-stringify@2.1.1
- @solana/rpc-transport-http@2.1.1
- @solana/rpc-spec-types@2.1.1
- @solana/functional@2.1.1
- @solana/rpc-types@2.1.1
- @solana/rpc-spec@2.1.1
- @solana/errors@2.1.1
@solana/rpc-api@2.1.1
Patch Changes
-
#236
ca1d4ecThanks @steveluscher! - RPC methods that take no parameters no longer rely on having a placeholderNO_CONFIGargument. Removing it will save you from wondering why it exists. -
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#433
41b679cThanks @steveluscher! - Corrected a misspelling ofreadonlyIndexesin theAddressLookupTabletype. This fixes the return type of thegetTransactionRPC call. -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
7e7b2ef,36a9dee,41b679c,41b679c,776e18d,ca1d4ec]:- @solana/rpc-transformers@2.1.1
- @solana/transaction-messages@2.1.1
- @solana/rpc-parsed-types@2.1.1
- @solana/codecs-strings@2.1.1
- @solana/transactions@2.1.1
- @solana/codecs-core@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/rpc-spec@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
@solana/rpc-graphql@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#433
41b679cThanks @steveluscher! - Corrected a misspelling ofreadonlyIndexesin theAddressLookupTabletype. This fixes the return type of thegetTransactionRPC call. -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/fast-stable-stringify@2.1.1
- @solana/codecs-strings@2.1.1
@solana/rpc-spec@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/rpc-spec-types@2.1.1
- @solana/errors@2.1.1
@solana/rpc-subscriptions@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
7e7b2ef,36a9dee,41b679c,ca1d4ec]:- @solana/rpc-transformers@2.1.1
- @solana/rpc-subscriptions-channel-websocket@2.1.1
- @solana/rpc-subscriptions-spec@2.1.1
- @solana/fast-stable-stringify@2.1.1
- @solana/rpc-subscriptions-api@2.1.1
- @solana/rpc-spec-types@2.1.1
- @solana/subscribable@2.1.1
- @solana/functional@2.1.1
- @solana/rpc-types@2.1.1
- @solana/promises@2.1.1
- @solana/errors@2.1.1
@solana/rpc-subscriptions-api@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
7e7b2ef,36a9dee,41b679c,41b679c,776e18d,ca1d4ec]:- @solana/rpc-transformers@2.1.1
- @solana/rpc-subscriptions-spec@2.1.1
- @solana/transaction-messages@2.1.1
- @solana/transactions@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/keys@2.1.1
@solana/rpc-subscriptions-channel-websocket@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/rpc-subscriptions-spec@2.1.1
- @solana/subscribable@2.1.1
- @solana/functional@2.1.1
- @solana/errors@2.1.1
@solana/rpc-subscriptions-spec@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/rpc-spec-types@2.1.1
- @solana/subscribable@2.1.1
- @solana/promises@2.1.1
- @solana/errors@2.1.1
@solana/rpc-transformers@2.1.1
Patch Changes
-
#353
7e7b2efThanks @steveluscher! - RemovedOPTIONS_OBJECT_POSITION_BY_METHOD,downcastNodeToNumberIfBigint(),applyDefaultCommitment(),getIntegerOverflowNodeVisitor(),getBigIntUpcastVisitor(), andgetTreeWalker()from the exports of@solana/rpc-transformer -
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,ca1d4ec]:- @solana/rpc-spec-types@2.1.1
- @solana/nominal-types@2.1.1
- @solana/functional@2.1.1
- @solana/rpc-types@2.1.1
- @solana/errors@2.1.1
@solana/rpc-types@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#433
41b679cThanks @steveluscher! - Corrected a misspelling ofreadonlyIndexesin theAddressLookupTabletype. This fixes the return type of thegetTransactionRPC call. -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/codecs-numbers@2.1.1
- @solana/codecs-strings@2.1.1
- @solana/nominal-types@2.1.1
- @solana/codecs-core@2.1.1
- @solana/addresses@2.1.1
- @solana/errors@2.1.1
@solana/signers@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,776e18d,ca1d4ec]:- @solana/transaction-messages@2.1.1
- @solana/nominal-types@2.1.1
- @solana/instructions@2.1.1
- @solana/transactions@2.1.1
- @solana/codecs-core@2.1.1
- @solana/addresses@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
@solana/subscribable@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,ca1d4ec]:- @solana/errors@2.1.1
@solana/transaction-confirmation@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#409
24a329dThanks @mcintyre94! - Loosen lifetime constraint on sendAndConfirmTransaction to only require lastValidBlockHeight -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,41b679c,776e18d,ca1d4ec]:- @solana/transaction-messages@2.1.1
- @solana/rpc-subscriptions@2.1.1
- @solana/codecs-strings@2.1.1
- @solana/transactions@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/promises@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
- @solana/rpc@2.1.1
@solana/transaction-messages@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#433
41b679cThanks @steveluscher! - Deprecated thewritableIndices/readableIndicesspellings in transaction messages in favour ofreadonlyIndexes/writableIndexes. This will make this shape compatible with the output of thegetTransactionAPI that uses those spellings for address lookup table data. -
#193
776e18dThanks @mcintyre94! - Strip the TransactionMessageWithDurableNonceLifetime type when prepending instructions to a TransactionMessage -
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,ca1d4ec]:- @solana/codecs-data-structures@2.1.1
- @solana/codecs-numbers@2.1.1
- @solana/nominal-types@2.1.1
- @solana/instructions@2.1.1
- @solana/codecs-core@2.1.1
- @solana/functional@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/errors@2.1.1
@solana/transactions@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3 -
Updated dependencies [
36a9dee,41b679c,41b679c,776e18d,ca1d4ec]:- @solana/codecs-data-structures@2.1.1
- @solana/transaction-messages@2.1.1
- @solana/codecs-numbers@2.1.1
- @solana/codecs-strings@2.1.1
- @solana/nominal-types@2.1.1
- @solana/instructions@2.1.1
- @solana/codecs-core@2.1.1
- @solana/functional@2.1.1
- @solana/addresses@2.1.1
- @solana/rpc-types@2.1.1
- @solana/errors@2.1.1
- @solana/keys@2.1.1
@solana/webcrypto-ed25519-polyfill@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/fast-stable-stringify@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/functional@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/promises@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/rpc-parsed-types@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/rpc-spec-types@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each
-
#236
ca1d4ecThanks @steveluscher! - The minimum TypeScript version is now 5.3.3
@solana/nominal-types@2.1.1
Patch Changes
-
#473
36a9deeThanks @steveluscher! - The identity of all branded types has changed in such a way that the types from v2.1.1 will be compatible with any other version going forward, which is not the case for versions v2.1.0 and before.If you end up with a mix of versions in your project prior to v2.1.1 (eg.
@solana/addresses@2.0.0and@solana/addresses@2.1.0) you may discover that branded types likeAddressraise a type error, even though they are runtime compatible. Your options are:- Always make sure that you have exactly one instance of each
@solana/*dependency in your project at any given time - Upgrade all of your
@solana/*dependencies to v2.1.1 at minimum, even if their minor or patch versions differ. - Suppress the type errors using a comment like the following:
const myAddress = address('1234..5678'); // from @solana/addresses@2.0.0 const myAccount = await fetchEncodedAccount( // imports @solana/addresses@2.1.0 rpc, // @ts-expect-error Address types mismatch between installed versions of @solana/addresses myAddress, );
- Always make sure that you have exactly one instance of each