@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.
@@ -1,5 +1,5 @@
1
1
  /** SDK version, sent in the `user-agent` header. */
2
- export declare const SDK_VERSION = "0.14.0";
2
+ export declare const SDK_VERSION = "0.14.1";
3
3
  /** Default API base URL. */
4
4
  export declare const DEFAULT_BASE_URL = "https://policy-engine-rest.ezig.workers.dev";
5
5
  //# sourceMappingURL=version.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /** SDK version, sent in the `user-agent` header. */
2
- export const SDK_VERSION = '0.14.0';
2
+ export const SDK_VERSION = '0.14.1';
3
3
  /** Default API base URL. */
4
4
  export const DEFAULT_BASE_URL = 'https://policy-engine-rest.ezig.workers.dev';
5
5
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v3finance/core-sdk",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "The official TypeScript SDK for the V3 Finance Core API — custodial addresses, transfers under policy control, approvals, shared access, labelling and reports",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  // the API does not slip in unclassified.
10
10
  //
11
11
  // Operations: 250 · admin: 45 · both: 1 · member: 201 · service: 3
12
- // Spec sha256: 4b9e3ca9542cba7949fc7c43acfec18edd099e4db4524f85c0bd804ae4428e52
12
+ // Spec sha256: 991c8ad810a7f9775ac01deb3d3323af879c3293b69553bd126c51d9dae8d979
13
13
 
14
14
  export type Audience = 'member' | 'admin' | 'service' | 'both' | 'unknown'
15
15
 
@@ -906,6 +906,10 @@ export interface ApprovalRequestStep {
906
906
  satisfied: boolean
907
907
  resolvedResultId: string | null
908
908
  appliedAt: string | null
909
+ /** Чьё это требование: имя политики или AML-правила. null — шаг без требования подписи */
910
+ policyName: string | null
911
+ /** Чем вызвано требование: "policy" | "limit:<REASON>" | "aml:<код>@vN" — подпись AML-офицера. Подпись офицера узнают по префиксу `aml:` здесь, а у заявки без шагов — по `decisionTrigger` */
912
+ trigger: string | null
909
913
  }
910
914
 
911
915
  export interface RequestRisk {
package/src/version.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** SDK version, sent in the `user-agent` header. */
2
- export const SDK_VERSION = '0.14.0'
2
+ export const SDK_VERSION = '0.14.1'
3
3
 
4
4
  /** Default API base URL. */
5
5
  export const DEFAULT_BASE_URL = 'https://policy-engine-rest.ezig.workers.dev'