From ea1aecbca54a6a4692e8d20f7804a34acd0c5829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Jane=C4=8Dek?= <83402986+jirijanecek777@users.noreply.github.com> Date: Sat, 18 Sep 2021 07:42:16 +0100 Subject: [PATCH] add KMS_COMPLETED_TX subscription type (#155) --- package.json | 2 +- src/model/request/CreateSubscription.ts | 1 + src/model/response/ledger/SubscriptionType.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e1108f785..12c14c1123 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tatumio/tatum", - "version": "1.25.8", + "version": "1.25.9", "description": "Tatum API client allows browsers and Node.js clients to interact with Tatum API.", "main": "dist/src/index.js", "repository": "https://github.com/tatumio/tatum-js", diff --git a/src/model/request/CreateSubscription.ts b/src/model/request/CreateSubscription.ts index 3301f8bcf2..4d06680891 100644 --- a/src/model/request/CreateSubscription.ts +++ b/src/model/request/CreateSubscription.ts @@ -75,6 +75,7 @@ export class CreateSubscription { property: '__type', subTypes: [ {value: SubscriptionAttrAccountBalanceLimit, name: 'ACCOUNT_BALANCE_LIMIT'}, + {value: SubscriptionAttrUrl, name: 'KMS_COMPLETED_TX'}, {value: SubscriptionAttrUrl, name: 'KMS_FAILED_TX'}, {value: SubscriptionAttrUrl, name: 'CUSTOMER_TRADE_MATCH'}, {value: SubscriptionAttrUrl, name: 'TRANSACTION_IN_THE_BLOCK'}, diff --git a/src/model/response/ledger/SubscriptionType.ts b/src/model/response/ledger/SubscriptionType.ts index da7af2ef3e..9c10bed483 100644 --- a/src/model/response/ledger/SubscriptionType.ts +++ b/src/model/response/ledger/SubscriptionType.ts @@ -4,6 +4,7 @@ export enum SubscriptionType { ACCOUNT_BALANCE_LIMIT = 'ACCOUNT_BALANCE_LIMIT', CUSTOMER_TRADE_MATCH = 'CUSTOMER_TRADE_MATCH', + KMS_COMPLETED_TX = 'KMS_COMPLETED_TX', KMS_FAILED_TX = 'KMS_FAILED_TX', OFFCHAIN_WITHDRAWAL = 'OFFCHAIN_WITHDRAWAL', ACCOUNT_PENDING_BLOCKCHAIN_TRANSACTION = 'ACCOUNT_PENDING_BLOCKCHAIN_TRANSACTION',