Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Version Packages (rc) #2906

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Version Packages (rc) #2906

merged 1 commit into from
Jul 31, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 3, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

master is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on master.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@solana/react@2.0.0-rc.0

Minor Changes

  • #2928 bac3747 Thanks @steveluscher! - Added a useSignIn hook that, given a UiWallet or UiWalletAccount, returns a function that you can call to trigger a wallet's ‘Sign In With Solana’ feature.

    Example

    import { useSignIn } from '@solana/react';
    
    function SignInButton({ wallet }) {
        const csrfToken = useCsrfToken();
        const signIn = useSignIn(wallet);
        return (
            <button
                onClick={async () => {
                    try {
                        const { account, signedMessage, signature } = await signIn({
                            requestId: csrfToken,
                        });
                        // Authenticate the user, typically on the server, by verifying that
                        // `signedMessage` was signed by the person who holds the private key for
                        // `account.publicKey`.
                        //
                        // Authorize the user, also on the server, by decoding `signedMessage` as the
                        // text of a Sign In With Solana message, verifying that it was not modified
                        // from the values your application expects, and that its content is sufficient
                        // to grant them access.
                        window.alert(`You are now signed in with the address ${account.address}`);
                    } catch (e) {
                        console.error('Failed to sign in', e);
                    }
                }}
            >
                Sign In
            </button>
        );
    }

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/signers@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0

@solana/accounts@2.0.0-rc.0

Patch Changes

  • Updated dependencies [29821df, 677a9c4]:
    • @solana/rpc-spec@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0

@solana/addresses@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/assertions@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0

@solana/assertions@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0

@solana/codecs@2.0.0-rc.0

Patch Changes

  • Updated dependencies []:
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-data-structures@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0
    • @solana/options@2.0.0-rc.0

@solana/codecs-core@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0

@solana/codecs-data-structures@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0

@solana/codecs-numbers@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0

@solana/codecs-strings@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0

@solana/compat@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0

@solana/errors@2.0.0-rc.0

Patch Changes

  • #2907 677a9c4 Thanks @steveluscher! - __DEV__ mode will now be the default if you don't set process.env.NODE_ENV at all. This means fewer people ‘accidentally’ finding themselves in production mode with minified error messages.

@solana/instructions@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0

@solana/keys@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/assertions@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0

@solana/web3.js@2.0.0-rc.0

Patch Changes

  • #2905 56fde06 Thanks @steveluscher! - Fixed the type of config on getComputeUnitEstimateForTransactionMessage. It is now optional and does not include transactionMessage.

  • Updated dependencies [42a70f4, 419c12e, 677a9c4, 9239e6e]:

    • @solana/rpc@2.0.0-rc.0
    • @solana/transaction-messages@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-subscriptions@2.0.0-rc.0
    • @solana/programs@2.0.0-rc.0
    • @solana/transaction-confirmation@2.0.0-rc.0
    • @solana/signers@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/accounts@2.0.0-rc.0
    • @solana/sysvars@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/instructions@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/rpc-parsed-types@2.0.0-rc.0
    • @solana/codecs@2.0.0-rc.0
    • @solana/functional@2.0.0-rc.0

@solana/options@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-data-structures@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0

@solana/programs@2.0.0-rc.0

Patch Changes

  • #2968 9239e6e Thanks @lorisleiva! - Tighten return type of isProgramError

  • Updated dependencies [677a9c4]:

    • @solana/errors@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0

@solana/rpc@2.0.0-rc.0

Patch Changes

  • #2910 42a70f4 Thanks @Jac0xb! - Fixed a bug where the RPC would fail to throw errors in the event that you configured it with an AbortSignal

  • #2907 677a9c4 Thanks @steveluscher! - __DEV__ mode will now be the default if you don't set process.env.NODE_ENV at all. This means fewer people ‘accidentally’ finding themselves in production mode with minified error messages.

  • Updated dependencies [29821df, 677a9c4]:

    • @solana/rpc-transformers@2.0.0-rc.0
    • @solana/rpc-spec@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-transport-http@2.0.0-rc.0
    • @solana/rpc-api@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/fast-stable-stringify@2.0.0-rc.0
    • @solana/functional@2.0.0-rc.0

@solana/rpc-api@2.0.0-rc.0

Patch Changes

  • Updated dependencies [419c12e, 29821df, 677a9c4]:
    • @solana/transaction-messages@2.0.0-rc.0
    • @solana/rpc-transformers@2.0.0-rc.0
    • @solana/rpc-spec@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/rpc-parsed-types@2.0.0-rc.0

@solana/rpc-graphql@2.0.0-rc.0

Patch Changes

  • Updated dependencies []:
    • @solana/codecs-strings@2.0.0-rc.0
    • @solana/fast-stable-stringify@2.0.0-rc.0

@solana/rpc-spec@2.0.0-rc.0

Patch Changes

  • #2950 29821df Thanks @mcintyre94! - Refactor rpc-spec to remove requirement for transports to implement parts of JSON RPC spec

  • Updated dependencies []:

    • @solana/rpc-spec-types@2.0.0-rc.0

@solana/rpc-subscriptions@2.0.0-rc.0

Patch Changes

  • #2907 677a9c4 Thanks @steveluscher! - __DEV__ mode will now be the default if you don't set process.env.NODE_ENV at all. This means fewer people ‘accidentally’ finding themselves in production mode with minified error messages.

  • Updated dependencies [29821df, 677a9c4]:

    • @solana/rpc-transformers@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-subscriptions-transport-websocket@2.0.0-rc.0
    • @solana/rpc-subscriptions-api@2.0.0-rc.0
    • @solana/rpc-subscriptions-spec@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/fast-stable-stringify@2.0.0-rc.0
    • @solana/functional@2.0.0-rc.0

@solana/rpc-subscriptions-api@2.0.0-rc.0

Patch Changes

  • Updated dependencies [419c12e, 29821df]:
    • @solana/transaction-messages@2.0.0-rc.0
    • @solana/rpc-transformers@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0
    • @solana/rpc-subscriptions-spec@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0

@solana/rpc-subscriptions-spec@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-spec-types@2.0.0-rc.0

@solana/rpc-subscriptions-transport-websocket@2.0.0-rc.0

Patch Changes

  • #2907 677a9c4 Thanks @steveluscher! - __DEV__ mode will now be the default if you don't set process.env.NODE_ENV at all. This means fewer people ‘accidentally’ finding themselves in production mode with minified error messages.

  • Updated dependencies [677a9c4]:

    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-subscriptions-spec@2.0.0-rc.0

@solana/rpc-transformers@2.0.0-rc.0

Patch Changes

  • #2950 29821df Thanks @mcintyre94! - Refactor rpc-spec to remove requirement for transports to implement parts of JSON RPC spec

  • Updated dependencies [29821df, 677a9c4]:

    • @solana/rpc-spec@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-subscriptions-spec@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/functional@2.0.0-rc.0

@solana/rpc-transport-http@2.0.0-rc.0

Patch Changes

  • #2907 677a9c4 Thanks @steveluscher! - __DEV__ mode will now be the default if you don't set process.env.NODE_ENV at all. This means fewer people ‘accidentally’ finding themselves in production mode with minified error messages.

  • Updated dependencies [29821df, 677a9c4]:

    • @solana/rpc-spec@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0

@solana/rpc-types@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0

@solana/signers@2.0.0-rc.0

Patch Changes

  • Updated dependencies [419c12e, 677a9c4]:
    • @solana/transaction-messages@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/instructions@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0

@solana/sysvars@2.0.0-rc.0

Patch Changes

  • Updated dependencies [677a9c4]:
    • @solana/errors@2.0.0-rc.0
    • @solana/accounts@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/codecs@2.0.0-rc.0

@solana/transaction-confirmation@2.0.0-rc.0

Patch Changes

  • Updated dependencies [42a70f4, 419c12e, 677a9c4]:
    • @solana/rpc@2.0.0-rc.0
    • @solana/transaction-messages@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/rpc-subscriptions@2.0.0-rc.0
    • @solana/transactions@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0

@solana/transaction-messages@2.0.0-rc.0

Patch Changes

  • #2969 419c12e Thanks @mcintyre94! - Add a function to replace accounts in a transaction message using lookup tables

  • Updated dependencies [677a9c4]:

    • @solana/errors@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-data-structures@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0
    • @solana/instructions@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/functional@2.0.0-rc.0

@solana/transactions@2.0.0-rc.0

Patch Changes

  • Updated dependencies [419c12e, 677a9c4]:
    • @solana/transaction-messages@2.0.0-rc.0
    • @solana/errors@2.0.0-rc.0
    • @solana/addresses@2.0.0-rc.0
    • @solana/codecs-core@2.0.0-rc.0
    • @solana/codecs-data-structures@2.0.0-rc.0
    • @solana/codecs-numbers@2.0.0-rc.0
    • @solana/codecs-strings@2.0.0-rc.0
    • @solana/instructions@2.0.0-rc.0
    • @solana/keys@2.0.0-rc.0
    • @solana/rpc-types@2.0.0-rc.0
    • @solana/functional@2.0.0-rc.0

@solana/webcrypto-ed25519-polyfill@2.0.0-rc.0

Patch Changes

  • #2907 677a9c4 Thanks @steveluscher! - __DEV__ mode will now be the default if you don't set process.env.NODE_ENV at all. This means fewer people ‘accidentally’ finding themselves in production mode with minified error messages.

@solana/fast-stable-stringify@2.0.0-rc.0

@solana/functional@2.0.0-rc.0

@solana/rpc-parsed-types@2.0.0-rc.0

@solana/rpc-spec-types@2.0.0-rc.0

@github-actions github-actions bot force-pushed the changeset-release/master branch 3 times, most recently from a6a9756 to 8b6d5df Compare July 3, 2024 17:21
Copy link

socket-security bot commented Jul 3, 2024

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

@github-actions github-actions bot force-pushed the changeset-release/master branch 13 times, most recently from 254ee1d to 6a7685b Compare July 10, 2024 22:12
@github-actions github-actions bot force-pushed the changeset-release/master branch 13 times, most recently from e932729 to 24ffce5 Compare July 15, 2024 17:34
@github-actions github-actions bot force-pushed the changeset-release/master branch 13 times, most recently from f083433 to b1f40f7 Compare July 31, 2024 08:58
@github-actions github-actions bot changed the title Version Packages (preview) Version Packages (rc) Jul 31, 2024
@github-actions github-actions bot force-pushed the changeset-release/master branch 10 times, most recently from 7a18925 to 1b80bc5 Compare July 31, 2024 18:15
@github-actions github-actions bot force-pushed the changeset-release/master branch from 1b80bc5 to 8b94784 Compare July 31, 2024 18:36
@steveluscher steveluscher merged commit 5a20ed0 into master Jul 31, 2024
5 checks passed
@steveluscher steveluscher deleted the changeset-release/master branch July 31, 2024 20:48
Copy link
Contributor Author

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant