Skip to content

v0.3.13 Release

Choose a tag to compare

@bpolania bpolania released this 11 Apr 16:20
· 58 commits to main since this release
a21ba57

SDK Release Notes – v0.3.13

These enhancements improve functionality, expand test coverage, and elevate code maintainability and readability in line with PEP 8 standards.

Features & Enhancements

IPAccount Module

  • New Functions. #59 Added functions for setting IP metadata and transferring ERC-20:
    • set_ip_metadata()
    • transfer_erc20()
  • Test Coverage. #60 Expanded integration test coverage with the following cases:
    • test_execute_with_sig_wrong_signer
    • test_transfer_erc20_empty_tokens
    • test_transfer_erc20_invalid_token_params

NFT Module

  • New Functions. #58 Added functions for querying mint-related details:
    • get_mint_fee()
    • get_mint_fee_token()
  • Test Coverage. #61 Expanded integration test coverage with the following cases:
    • test_invalid_mint_fee_values
    • test_parameter_omission
    • test_authorization_errors

Utilities & Testing Infrastructure

  • Added private_key to the utils package for use in integration tests. #59

Code Quality Improvements #62

  • Removed a duplicate import to clean up code dependencies.
  • Standardized naming conventions across the Story Protocol Python SDK:
  • Converted method names from camelCase to snake_case to align with Pythonic conventions.
  • Updated variable names for improved consistency.
  • Centralized constants in utils/constants.py and updated related imports.
  • Cleaned up unnecessary whitespace and improved overall formatting.

Documentation

Revised to include newly added IPAccount and NFT module functions, as well as updated to reflect standardized naming conventions (camelCase → snake_case) for improved clarity and consistency with Python best practices.