WeSDK - The SDK Noone Asked For

WeSDK Documentation (v2.0.0-dev)

Welcome to the documentation for the revamped Luffa JavaScript SDK.

This SDK is designed for H5 applications running inside Luffa mini program web-view containers (with compatibility for WeChat-like bridge environments), while still providing predictable behavior when no bridge is available.

What Is New in v2

Compared to the legacy SDK, v2 adds:

Recommended Reading Order

  1. Getting Started
  2. Core Concepts
  3. Configuration
  4. API sections:
  5. Migration v1 to v2
  6. Troubleshooting
  7. Error Reference
  8. FAQ

Who This Documentation Is For

SDK Distribution

The package exposes:

See Getting Started for usage examples.