magic_dart_auth_sdk 0.0.3 copy "magic_dart_auth_sdk: ^0.0.3" to clipboard
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 use magic_.
  • Package rename: adjusted pubspec.yaml name: from magic_auth_sdk to magic_dart_auth_sdk.
  • Import paths: updated all import 'package:magic_…'import 'package:magic_…'.

0.0.2 #

  • chore: Remove ui-debug.log from the package to avoid committing emulator logs.
  • chore: Extend commit-message validator (local_dev_tools/validate_commit_msg.dart) to allow a new docs type.
  • fix: Correct trailing-comma placement in the JSON map literal returned by MagicMultichainMetadataService to ensure valid Dart syntax.
  • fix: Update exception formatting in MagicLogoutByPublicAddress.logoutByPublicAddress so 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.dart
    • test/unit/utils/magic_parse_auth_header_test.dart

0.0.1 #

  • Introduced MagicHttpException for 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.
0
likes
150
points
300
downloads

Publisher

verified publisheraortem.io

Weekly Downloads

A Dart SDK for Magic Authentication, enabling secure server-side authentication and user management for Dart-based backend applications.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ds_standard_features, jwt_generator

More

Packages that depend on magic_dart_auth_sdk