magic_dart_auth_sdk 0.0.5 copy "magic_dart_auth_sdk: ^0.0.5" to clipboard
magic_dart_auth_sdk: ^0.0.5 copied to clipboard

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

Changelog #

0.0.5 #

Updated #

  • Dart SDK requirement aligned: The SDK and maintained example apps now target sdk: ^3.11.4.

  • Dependency upgrades:

    • crypto to ^3.0.7
    • ds_standard_features to ^0.1.6
    • jwt_generator to ^0.0.9

Fixed #

  • Restored SHA-256 hashing support in MagicSecureStorage.
  • Reworked HTTP-based unit tests to use deterministic fake clients.
  • Restored the backend validation child pipeline and corrected release changelog parsing.
  • Removed the stray docs/test.txt artifact from the publishable package.

0.0.4 #

Updated #

  • Dart SDK requirement increased: All pubspec.yaml files (SDK package, Flutter mobile example, Flutter web example) now require sdk: ^3.10.3 instead of ^3.8.x.

  • Dependency upgrades:

    • ds_standard_features from ^0.0.8^0.1.5
    • jwt_generator from ^0.0.4^0.0.8
    • ds_tools_testing from ^0.0.6^0.1.4

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.
1
likes
160
points
114
downloads

Documentation

API reference

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

License

BSD-3-Clause (license)

Dependencies

crypto, ds_standard_features, jwt_generator

More

Packages that depend on magic_dart_auth_sdk