Closed jordaaash closed 1 year ago
Published
π¦ @solana/wallet-standard@1.0.3-alpha.3
π¦ @solana/wallet-standard-core@1.0.1-alpha.3
π¦ @solana/wallet-standard-features@1.1.0-alpha.3
π¦ @solana/wallet-standard-util@1.0.1-alpha.3
π¦ @solana/wallet-standard-wallet-adapter@1.0.3-alpha.3
π¦ @solana/wallet-standard-wallet-adapter-base@1.0.3-alpha.3
π¦ @solana/wallet-standard-wallet-adapter-react@1.0.3-alpha.3
This PR targets the
alpha
branch.account
is nowaddress
. The app cannot be expected to have a reference to, or be able to construct, aWalletAccount
object before connecting to the wallet. The account's address is already expected to uniquely identify the account. This also brings the field name inline with EIP-4361.chain
is nowchainId
. The type is loosened tostring
. The wallet should not care what this value is, as it only concerns the application and sign in messages generally should not be used by on chain programs to secure access to resources. This also brings the field name inline with EIP-4361.version
has been loosened tostring
. The wallet should not care what this value is, there's only1
version in EIP-4361, and we'd need to update the spec for the feature if the fields changed.signatureType
has been tightened toed25519
. Wallets and apps will need to understand the same signature types, and only one is supported for now. The minor feature version should change if we support more signature types.