You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
#272d5a4501 Thanks @amilz! - Generated account fetchers now accept clients exposing an rpc property — such as Kit clients — alongside raw RPCs — i.e. fetchX, fetchMaybeX, fetchXFromSeeds and fetchMaybeXFromSeeds accept ClientWithRpc<GetAccountInfoApi> whilst fetchAllX and fetchAllMaybeX accept ClientWithRpc<GetMultipleAccountsApi> — so that fetchMint(client, address) works without reaching for client.rpc. The fetchers unwrap such clients to their RPC before calling fetchEncodedAccount and fetchEncodedAccounts from @solana/kit. Passing an RPC directly behaves exactly as before.