WeSDK - The SDK Noone Asked For

Improvements Over Legacy SDK

This page summarizes why v2 is easier to integrate and maintain than the legacy WeSDK.legacy.js.

1. Async Model Upgrade

Legacy

v2

2. Capability-Aware Design

Legacy

v2

3. Structured Error Handling

Legacy

v2

4. Response Normalization

Legacy

v2

5. Runtime Configuration and Observability

Legacy

v2

6. Better Event Lifecycle Handling

Legacy

v2

7. Packaging and Typing

Legacy

v2

8. Developer Experience Impact

v2 reduces integration friction by enabling:

Practical Migration Gain

Most teams see immediate simplification by converting callback-heavy workflows to await-based sequences with centralized try/catch and capability guards.

See Migration v1 to v2 for concrete before/after patterns.