openxiangda-nest 2.0.0-alpha.21 → 2.0.0-alpha.22

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,6 +18,10 @@ short-lived access tokens, refreshes before expiry and retries once after a 401.
18
18
  `OpenXiangdaApplicationDataApiService` uses that identity with a null
19
19
  RoleSession; inject it instead of the request-scoped Data API from background
20
20
  jobs. Client id and secret must come from platform-managed runtime Secrets.
21
+ User-facing App API controllers must inject the request-scoped
22
+ `OpenXiangdaDataApiService`; it preserves the verified Gateway authorization and
23
+ RoleSession for data policy, audit and managed-file ownership. Never fall back
24
+ to application identity when a user request is missing its RoleSession.
21
25
 
22
26
  `OpenXiangdaRuntimeLeaseService` automatically maintains the short lease that
23
27
  elects one replica of the exact active Native deployment for background work.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openxiangda-nest",
3
- "version": "2.0.0-alpha.21",
3
+ "version": "2.0.0-alpha.22",
4
4
  "description": "Official NestJS application backend SDK for OpenXiangda 2.0.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",