authula 0.7.10 → 0.7.12
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/README.md +0 -24
- package/dist/{index-B2PrZi2E.d.ts → index-cq14Wq4Z.d.ts} +263 -178
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugins/index.d.ts +188 -188
- package/dist/plugins/index.js +69 -44
- package/dist/plugins/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -14,30 +14,6 @@ This Node.js SDK provides seamless integration with an Authula server for both c
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
## 🚨 Breaking Changes
|
|
18
|
-
|
|
19
|
-
Starting with v0.6.x, the SDK transitions to an automated, schema-driven architecture powered by Orval. Code generation is now tied 1-to-1 with the Authula backend OpenAPI specification, ensuring absolute parity and enhanced reliability.
|
|
20
|
-
|
|
21
|
-
This architectural shift introduces several breaking changes to the SDK footprint:
|
|
22
|
-
|
|
23
|
-
1. Relocation of Core Methods
|
|
24
|
-
|
|
25
|
-
What changed: Core utility methods have been consolidated.
|
|
26
|
-
|
|
27
|
-
Impact: Any foundational system methods have moved directly into the Core Plugin namespace, as the underlying Authula engine now explicitly groups these operations under the core OpenAPI tag.
|
|
28
|
-
|
|
29
|
-
2. Standardized Method Signatures via Orval
|
|
30
|
-
|
|
31
|
-
What changed: Every Authula plugin now exposes its feature set via auto-generated endpoints.
|
|
32
|
-
|
|
33
|
-
Impact: While plugins remain organized under their original top-level objects, individual method names, parameters, and payloads may have changed to match the strict schema specification.
|
|
34
|
-
|
|
35
|
-
3. Unified Server & Client Support
|
|
36
|
-
|
|
37
|
-
The Benefit: Each plugin now natively exports decoupled, standalone methods optimized for server-side execution, alongside fully typed TanStack Query hooks dedicated to client-side web applications.
|
|
38
|
-
|
|
39
|
-
Why this matters: Moving forward, this SDK will perfectly mirror upstream backend updates with zero drift, drastically reducing runtime bugs and offering complete type safety across your entire stack.
|
|
40
|
-
|
|
41
17
|
## Features
|
|
42
18
|
|
|
43
19
|
- **Framework Agnostic**: Works with Next.js/React, Vue.js and more
|