@v3finance/core-sdk 0.18.0 → 0.19.0
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 +20 -0
- package/dist/cjs/generated/operations.js +1 -1
- package/dist/cjs/generated/types.d.ts +12 -2
- package/dist/cjs/generated/types.d.ts.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/operations.js +1 -1
- package/dist/esm/generated/types.d.ts +12 -2
- package/dist/esm/generated/types.d.ts.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/docs/errors.md +2 -2
- package/package.json +1 -1
- package/src/generated/operations.ts +1 -1
- package/src/generated/types.ts +12 -2
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.19.0 — 2026-12-02
|
|
7
|
+
|
|
8
|
+
AML officer fixes. Spec snapshot from the live API (commit `e4dcf44`,
|
|
9
|
+
[v3-finance/policy-engine#67](https://github.com/v3-finance/policy-engine/pull/67)). No operations added or
|
|
10
|
+
removed (250).
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `PatchAmlRuleBody.expectedVersion` — the version the person saw; another one is 409 `AML_RULE_CONFLICT` with
|
|
15
|
+
`details.currentVersion`. An update with no rule fields writes nothing and keeps the version.
|
|
16
|
+
- Stop-list entries: `restoredById` and `restoredAt` — who re-added a removed address and when (`addedById` and
|
|
17
|
+
`createdAt` stay those of the first addition).
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Stop-list `reason`: leaving it out keeps the previous reason; `null` clears it (it used to clear it either way).
|
|
22
|
+
- Marking a deposit reviewed is refused for the officer's own deposit with 403 `AML_OWN_DEPOSIT`, unless every
|
|
23
|
+
provenance rule of the vault allows it. A repeated mark answers 200.
|
|
24
|
+
- Concurrent creation of a visibility grant, a stop-list entry or a rule with the same code no longer fails with 500.
|
|
25
|
+
|
|
6
26
|
## 0.18.0 — 2026-11-30
|
|
7
27
|
|
|
8
28
|
The V3 app for Windows signs in by device code, like the Mac. Spec snapshot from the live API (commit `31cbb2a`,
|
|
@@ -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:
|
|
13
|
+
// Spec sha256: b0e5bdc460d93fa1d92892c5f5b222ebc1796f8a5be123584beac276b89d9544
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.OPERATIONS = void 0;
|
|
16
16
|
exports.isAdminOperation = isAdminOperation;
|
|
@@ -6158,8 +6158,8 @@ export interface AddAmlStopListBody {
|
|
|
6158
6158
|
address: string;
|
|
6159
6159
|
/** По умолчанию — по формату адреса */
|
|
6160
6160
|
network?: "tron" | "ethereum";
|
|
6161
|
-
/**
|
|
6162
|
-
reason?: string;
|
|
6161
|
+
/** Нет в теле — у существующей записи прежняя причина остаётся; null — стереть */
|
|
6162
|
+
reason?: string | null;
|
|
6163
6163
|
}
|
|
6164
6164
|
export interface AmlCheck {
|
|
6165
6165
|
/** Запись проверки (неизменяемая). null — запись не сохранилась, ответ провайдера при этом валиден */
|
|
@@ -6661,6 +6661,9 @@ export interface AmlStopListEntry {
|
|
|
6661
6661
|
status: "active" | "revoked";
|
|
6662
6662
|
revokedAt: string | null;
|
|
6663
6663
|
revokedById: string | null;
|
|
6664
|
+
/** Кто вернул снятый адрес повторным добавлением (когда — restoredAt); null — не возвращали. addedById и createdAt — первое добавление, не меняются */
|
|
6665
|
+
restoredById: string | null;
|
|
6666
|
+
restoredAt: string | null;
|
|
6664
6667
|
/** format: date-time */
|
|
6665
6668
|
createdAt: string;
|
|
6666
6669
|
/** format: date-time */
|
|
@@ -6719,6 +6722,7 @@ export interface CreateAmlVisibilityGrantBody {
|
|
|
6719
6722
|
subjectGroupId?: string;
|
|
6720
6723
|
role: "links" | "full";
|
|
6721
6724
|
}
|
|
6725
|
+
/** Меняется только присланное. Без полей правила — ничего не пишется, version та же */
|
|
6722
6726
|
export interface PatchAmlRuleBody {
|
|
6723
6727
|
/** length: 1..∞ */
|
|
6724
6728
|
name?: string;
|
|
@@ -6735,6 +6739,12 @@ export interface PatchAmlRuleBody {
|
|
|
6735
6739
|
} | null;
|
|
6736
6740
|
outcome?: "block" | "officer";
|
|
6737
6741
|
allowInitiatorApproval?: boolean;
|
|
6742
|
+
/**
|
|
6743
|
+
* Версия, которую видел человек; другая — 409 AML_RULE_CONFLICT с details.currentVersion
|
|
6744
|
+
*
|
|
6745
|
+
* range: 1..9007199254740991
|
|
6746
|
+
*/
|
|
6747
|
+
expectedVersion?: number;
|
|
6738
6748
|
}
|
|
6739
6749
|
export interface UpdateAmlSettingsBody {
|
|
6740
6750
|
memberDefaultView?: AmlView;
|