magic_dart_auth_sdk 0.0.3
magic_dart_auth_sdk: ^0.0.3 copied to clipboard
A Dart SDK for Magic Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.
0.0.3 #
BREAKING CHANGES #
- Rename prefix: all files/folders and identifiers formerly using
aortem_now usemagic_. - Package rename: adjusted
pubspec.yamlname:frommagic_auth_sdktomagic_dart_auth_sdk. - Import paths: updated all
import 'package:magic_…'→import 'package:magic_…'.
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
MagicMultichainMetadataServiceto ensure valid Dart syntax. - fix: Update exception formatting in
MagicLogoutByPublicAddress.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
MagicTokenDecoder(remove blank///lines for consistency). - test: Reformat parameter lists and add trailing commas in unit tests:
test/unit/auth/magic_token_decode_test.darttest/unit/utils/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.