crossmint_wallets 0.1.4
crossmint_wallets: ^0.1.4 copied to clipboard
Pure-Dart wallet primitives for the Crossmint Flutter SDK — wallet models, signer abstractions, and API contracts.
0.1.4 #
- Added
deployImmediatelytoaddSigner, defaulting totrue. On EVM wallets it controls how the backend registers the signer:truereturns an on-chain registration transaction installed immediately,falsekeeps the lazy signature-request flow. The flag is never sent for Solana or Stellar wallets. - EVM signer registration requests changed shape. The registration payload
now always carries
deployImmediatelyon EVM, where the key was previously absent, so existing callers that pass nothing now sendtrueexplicitly. PassdeployImmediately: falseto keep the lazy signature-request flow. - EVM registration responses are parsed differently. The parser now
branches by chain family: on EVM it reads the transaction id from the
chain entry's
onChainblock, and a registration carryingonChainno longer yields a pending signature id. Solana and Stellar keep the previous pending-transaction path. Callers that read the returned signature id on EVM should read the transaction id instead. - The exception raised for an unsupported device signer now reads
Device signers are not supported for this wallet.instead of... for this wallet's provider., and the matching dartdoc was reworded. The error code (CrossmintErrorCode.walletDeviceSignerNotSupported) is unchanged; only the default message text differs.
0.1.3 #
- Solana device signers are no longer rejected client-side. Device signer registration is serialized and sent for all chains; support is provider-dependent (Swig/Crossmint support it, Squads does not) and validated server-side.
registerSignernow maps the backendDEVICE_SIGNER_NOT_SUPPORTEDcode to a typedCrossmintWalletException(walletDeviceSignerNotSupported), recognized from the response body regardless of HTTP status.- Requires
crossmint_core ^0.1.4for the newCrossmintErrorCode.walletDeviceSignerNotSupported. - Removed the
permissionless_passkeysdependency (passkey factory moved to a host-supplied/callback path in the umbrella SDK).
0.1.2 #
- Docs: expanded dartdoc coverage on the public surface for the pub.dev
landing page, plus a follow-up pass that fixed broken
[reference]link targets and dartdoc format regressions surfaced by the docs build.
0.1.1 #
- Aligned
WalletSerializationCodec.serializeDelegatedSignerwith the EVM OpenAPI schema for email and phone signers — it now emits the full{type, email|phone}object instead of a bareemail:/phone:locator string, matchingserializeSignerRegistrationInputand the RN SDK. Forward-compat only — no end-user behavior change in this release: the Crossmint backend does not currently accept email or phone as delegated signer types on EVM, so wallet creation withsigners: [CrossmintEmailSignerConfig(...)]/CrossmintPhoneSignerConfig(...)continues to fail with HTTP 400. Tracking the backend-side addition separately. See #21 / #24.
0.1.0 #
- First public release on pub.dev
0.0.1 #
- Initial internal extraction from
crossmint_flutter - Added wallet domain contracts, models, API service, and signer abstractions
- Added internal default wallet repository export for monorepo wiring