v1.0.0-rc1: Start of a New Era
This release is the first stable and fully Node.js/browser compatible Typescript SDK release for aleph.im using the new refactored package structure. This marks the beginning of a more streamlined and simplified interface, inspired by the Python SDK's structure.
Package Refactoring
To reduce dependency bloat, the previously monolithic aleph-ts-sdk
package has been refactored into multiple smaller packages, divided by functionalities:
@aleph-sdk/core
: Commonly shared utilities and constants@aleph-sdk/account
: Basic interfaces for all types of signing accounts@aleph-sdk/message
: Aleph Message specification and API call methods (to be moved toclient
)@aleph-sdk/client
: Main entrypoint & interface for developers looking to fetch & post messages
Every chain now also has its own implementation in its own package:
@aleph-sdk/evm
: Common interfaces of EVM-based accounts@aleph-sdk/ethereum
@aleph-sdk/avalanche
@aleph-sdk/solana
- etc.
Removed Encryption Methods
Encryption/Decryption methods have been removed due to security concerns, at least for now. Please find an encryption scheme suitable to your project according to your needs. We found that proposing exactly one way to encrypt data to users is opinionated and could lead to insecure usage of those encryption methods.
Added Parameters and Message Fields
Previously missing parameters for querying and creating messages have been added, as well as the message specification updated to the current standard.
Work in Progress
There might still be issues with types, this is work-in-progress, but all functionality for manipulating aleph.im messages are present and do work in Node.js and browser environments.
Please report any issues encountered in the issues section. Thank you!