@v3finance/core-sdk 0.14.0 → 0.14.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this package are documented in this file. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
5
5
 
6
+ ## 0.14.1 — 2026-11-25
7
+
8
+ Spec snapshot from the live API (commit `7dfeb05`,
9
+ [v3-finance/policy-engine#60](https://github.com/v3-finance/policy-engine/pull/60)). No operations added or
10
+ removed (250).
11
+
12
+ ### Added
13
+
14
+ - `steps[].policyName` and `steps[].trigger` on an approval request — whose requirement the step is. A trigger
15
+ starting with `aml:` is an AML officer's signature.
16
+
6
17
  ## 0.14.0 — 2026-11-25
7
18
 
8
19
  Payments, balances and reports read from the ledger, so they cannot disagree. Spec snapshot from the live
@@ -10,7 +10,7 @@
10
10
  // the API does not slip in unclassified.
11
11
  //
12
12
  // Operations: 250 · admin: 45 · both: 1 · member: 201 · service: 3
13
- // Spec sha256: 4b9e3ca9542cba7949fc7c43acfec18edd099e4db4524f85c0bd804ae4428e52
13
+ // Spec sha256: 991c8ad810a7f9775ac01deb3d3323af879c3293b69553bd126c51d9dae8d979
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.OPERATIONS = void 0;
16
16
  exports.isAdminOperation = isAdminOperation;
@@ -852,6 +852,10 @@ export interface ApprovalRequestStep {
852
852
  satisfied: boolean;
853
853
  resolvedResultId: string | null;
854
854
  appliedAt: string | null;
855
+ /** Чьё это требование: имя политики или AML-правила. null — шаг без требования подписи */
856
+ policyName: string | null;
857
+ /** Чем вызвано требование: "policy" | "limit:<REASON>" | "aml:<код>@vN" — подпись AML-офицера. Подпись офицера узнают по префиксу `aml:` здесь, а у заявки без шагов — по `decisionTrigger` */
858
+ trigger: string | null;
855
859
  }
856
860
  export interface RequestRisk {
857
861
  role: "recipient" | "sender" | "counterparty";