@nexia/sdk 0.8.20 → 0.8.21

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.
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.21
4
+ date: 2026-11-05
5
+ title: User-task form context
6
+ description: Show host-provided task context in process forms.
7
+ ---
8
+
9
+ Process form widgets can receive optional `taskContext`, including the current sequential work item. Existing widgets remain compatible. Treat it as display context and keep server-side authorization and validation. Adopt matching Core support before relying on the field. See the [Business Process contracts](https://developers.nexia.to/docs/app-sdk-business-process-contracts) and [npm package](https://www.npmjs.com/package/@nexia/sdk/v/0.8.21).
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.8.21
4
+ date: 2026-11-05
5
+ title: 사용자 작업 폼 컨텍스트
6
+ description: 프로세스 폼에서 호스트가 제공한 작업 컨텍스트를 표시합니다.
7
+ ---
8
+
9
+ 프로세스 폼 위젯은 현재 순차 작업 항목 등을 담은 선택적 `taskContext`를 받을 수 있습니다. 기존 위젯은 호환됩니다. 화면 표시용 컨텍스트로 사용하고 서버의 권한 및 입력 검사를 유지하세요. 이 필드에 의존하기 전에 대응 Core를 적용하세요. [업무 프로세스 계약](https://developers.nexia.to/ko/docs/app-sdk-business-process-contracts)과 [npm 패키지](https://www.npmjs.com/package/@nexia/sdk/v/0.8.21)를 참고하세요.
package/dist/process.d.ts CHANGED
@@ -75,6 +75,8 @@ export interface ProcessUserTaskFormSlotPropsV1 {
75
75
  stateVersion: number;
76
76
  };
77
77
  resourceRef: ProcessUserTaskResourceRef | null;
78
+ /** Read-only activity data frozen by the host at task activation. */
79
+ taskContext?: Record<string, unknown>;
78
80
  registerController: (controller: ProcessUserTaskFormController | null) => void;
79
81
  }
80
82
  export type ProcessUserTaskFormWidgetLoader = () => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.8.20",
3
+ "version": "0.8.21",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",