# Changelog

Stay updated with the latest changes in the SDK:

### Version v0.7 (2025-05-30)

In addition to the Cramium MPC SDK `v0.6` (listed below), `v0.7` includes the following features:

1. Enhanced MPC Client functionality:
   * Added `inputPartyInMsg` for message input into local party
   * Added `localPartyMnemonicKeyGen` start a local party thread for mnemonic key generation
   * Added `localPartyPaillier` start a local party thread for Paillier encryption operations
   * Added `newPaillier` propose new method for 2-of-3 Paillier process
   * Added `newMnemonicKeyGen` propose new method for 2-of-3 Keygen process
   * Added `registerNewLocalPartyToMpcGroup` for party registration
   * Added `preparePartyGroupData` for preparing group data
   * Added `saveInternalIdentityPrivateKey` for saving private keys
   * Added `localPartySaveExternalPartyIdentityPublicKey` for saving external party public keys

### Version v0.6 (2025-04-29)

In addition to the Cramium MPC SDK `v0.5` (listed below), `v0.6` includes the following features:

1. Enhanced transaction policy management:
   * Added `updateWalletAddress` to modify labels for whitelisted wallets
   * Added `getTransactionLimitPolicy` to retrieve current transaction limits
   * Added `updateTransactionLimitPolicy` to configure global transaction limits
   * Added `updateTransactionLimitPolicyForSpecificAddress` to set address-specific limits
   * Added `getTransactionCurrentUsage` to track daily transaction activity
   * Added `checkAmountWithPolicy` to validate transactions against policy limits
   * Added `recordTransactionDailyUsage` to track and audit transaction usage
2. Added User Device Management (UDM) features:
   * Added `registerDevice` to register new devices
   * Added `getLinkDevices` to retrieve all linked devices
   * Added `getLinkDevice` to get details of a specific device
   * Added `updateLastOnline` to update device's last online status
   * Added `updateDeviceName` to modify device display name
   * Added `removeDevice` to unlink devices
   * Added `getLinkDevicesHistory` to view device linking history
3. Added Cloud Service integration:
   * Added `signIn` for user authentication
   * Added `isSignedIn` to check authentication status
   * Added `getUserInfo` to retrieve user email
   * Added `storeBackupFile` to backup files to cloud
   * Added `getBackupFile` to retrieve backup files from cloud
   * Added `deleteBackupFile` to remove backup files from cloud

### Version v0.5 (2025-03-31)

In addition to the Cramium MPC SDK `v0.4` (listed below), `v0.5` includes the following features:

1. Added support for building XRP chain transactions
   * A new function called `buildXrpTransaction` has been added.
2. Added support for building TON token transactions
   * A new function called `buildJettonTransaction` has been added.
3. Added two more methods for the transaction policy - amount limitation:
   * `getTransactionAmountLimit`: Gets the amount limit of the current transaction.
   * `updateTransactionPolicyLimit`: Updates the transaction limit.
4. Handled expired tokens with an additional method:
   * `setAccessToken`: Sets a new token using this method.
5. Enforced passkey authentication before accessing sensitive information such as shards, SEK, etc.

### Version v0.4 (2025-02-27)

In addition to the Cramium MPC SDK `v0.3` (listed below), the `v0.4` has the following features:

1. Added Ton Chain transaction
   * A new function called `buildTonTransaction` has been added
2. Added BTC Chain transaction
   * A new function called `buildBtcTransaction` has been added
3. Updated Transaction Policy whitelisted and delay time
   * `getCurrentTransactionPolicy` is now getCurrentPolicy.
   * `addWhitelistedAddresses` is now `addWalletAddress`.
   * `removeWhitelistedAddresses` is now removeWalletAddress. In addition, the parameter `walletAddress` has been replaced with `walletId`.
   * `updateTransactionPolicy` is now `enablePolicy`, which takes two parameters: `enabled` and `force`.
   * A new function called `disablePolicy` has been added
4. Added an `API key` to the authentication process.

### Version v0.3 (2025-01-24)

In addition to the Cramium MPC SDK `v0.2` (listed below), the `v0.3` has the following features:

1. Delete MPC group
2. Transaction Policy
   * Get the current transaction policy for the user
   * Update the transaction policy for the user
   * Add a whitelisted address for the user
   * Remove a whitelisted address for the user
   * Validate an action for the user

### Version v0.2 (2025-12-31)

In addition to the Cramium MPC SDK `v0.1` (listed below), the `v0.2` has the following features:

1. New Full MPC mode
   * Create a wallet with Full MPC mode.
   * Export the wallet to a secret key.
   * Key derivation.
   * Backup
   * Recovery
2. Addition to the Mnemonic-compatible MPC mode:
   * Export to Mnemonic Phrase.
3. For both modes:
   * Independent transaction verification.
   * Supports more chains: Tron and BSC.
   * Compatible with third-party, such as Dapps through WalletConnect.
