magic_dart_auth_sdk 0.0.2
magic_dart_auth_sdk: ^0.0.2 copied to clipboard
A Dart SDK for Magic Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.
0.0.2 #
- chore: Remove
ui-debug.logfrom the package to avoid committing emulator logs. - chore: Extend commit-message validator (
local_dev_tools/validate_commit_msg.dart) to allow a newdocstype. - fix: Correct trailing-comma placement in the JSON map literal returned by
AortemMagicMultichainMetadataServiceto ensure valid Dart syntax. - fix: Update exception formatting in
AortemMagicLogoutByPublicAddress.logoutByPublicAddressso multi-line exception messages parse correctly. - refactor: Standardize method signatures with trailing commas and consistent indentation across:
logoutByPublicAddress(String publicAddress)_mockMetadataResponse(...)in metadata service
- style: Clean up doc comments in
AortemMagicTokenDecoder(remove blank///lines for consistency). - test: Reformat parameter lists and add trailing commas in unit tests:
test/unit/auth/aortem_magic_token_decode_test.darttest/unit/utils/aortem_magic_parse_auth_header_test.dart
0.0.1 #
- Introduced
MagicHttpExceptionfor improved error reporting in the SDK. - Updated
MagicAuth.isAuthorized()logic to improve access token validation. - Improved response body parsing with safer JSON decoding.
- Enhanced test coverage for error handling and auth validation.
0.0.1-pre+2 #
- update readme
0.0.1-pre+1 #
- Add all methods
- Resolve all issues detected by dart analyze.
0.0.1-pre #
- Initial pre-release version of the magic Dart Auth SDK.