@hsuite/smart-engines-sdk 4.2.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.0 — 2026-06-27
4
+
5
+ ### Breaking changes
6
+
7
+ - **Root `CreateAccountRequest` / `CreateTokenRequest` now refer to the BaaS shapes.** These exports previously pointed to the legacy validator-direct request types used by `SmartEngineClient.createAccount` / `createToken`. They now point to the BaaS request types consumed by `BaasClient.entities`. If you need the validator-direct request types, import `ValidatorCreateAccountRequest` and `ValidatorCreateTokenRequest` from the SDK root.
8
+ - **`EntityCreationResult.agentId` is now required.** The field was optional in 4.2.0; it is now guaranteed on normalized results and is backfilled from `entityId` when the host response omits it. Callers constructing this type directly must now include `agentId`.
9
+
10
+ ### Added
11
+
12
+ - **Exported client interfaces:** `IBaasClient`, `IEntitiesClient`, and `IRulesClient` are now part of the public surface.
13
+ - **Exported `BatchInnerTransaction`** as an alias for `PreparedTransaction`.
14
+ - **BaaS and validator-direct request types are re-exported from the root.** This includes `CreateAccountRequest`, `CreateTokenRequest`, `CreateAgentRequest`, `CreateTopicRequest`, `ValidatorCreateAccountRequest`, and `ValidatorCreateTokenRequest`.
15
+ - **`EntitiesClient` response normalization.** `getById`, `getByRuleRef`, `lookup`, and create/prepare methods now normalize host responses to the stable `EntityInfo` and `EntityCreationResult` shapes.
16
+
3
17
  ## 4.2.0 — 2026-06-26
4
18
 
5
19
  ### Added