Skip to content

Conversation

@amircheikh
Copy link
Collaborator

@amircheikh amircheikh commented Oct 28, 2025

Cleanup and various fixes for sdk_flutter and demo app.

New features:

  • signMessage method added. Signs a plaintext message using the specified wallet account. Automatically determines the payload encoding and hash function based on the wallet account's address format, unless explicitly overridden
  • autoFetchWalletKitConfig can now be disabled in the TurnkeyProvider config
  • PasskeyConfig is now configurable in the TurnkeyProvider config. This allows you to set an rpId and rpName for all functions that need them
  • createClient and createPasskeyClient functions are now exposed
  • fetchOrCreateP256ApiKeyUser method added. Fetches an existing user by P-256 API key public key, or creates a new one if none exists.
  • fetchOrCreatePolicies method added. Fetches each requested policy if it exists, or creates it if it does not.

Bug fixes / minor improvements:

  • authProxyBaseUrl is now properly defaulted
  • sessionExpirationSeconds is now properly considered for passkey auth
  • handleAppleOauth now correctly uses Turnkey's OAuth Proxy url
  • Flutter lint-ing suggestions are solved in demo app
  • Various code + comment cleanup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants