From 422affcfc885f030b9525cf2dcca8e8a343420bc Mon Sep 17 00:00:00 2001 From: Ken Lau Date: Mon, 20 Apr 2026 17:19:45 +0800 Subject: [PATCH 1/2] feat: vault deposit and vault withdrawal --- src/types/requests/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/requests/index.ts b/src/types/requests/index.ts index f20819c..385a42e 100644 --- a/src/types/requests/index.ts +++ b/src/types/requests/index.ts @@ -24,6 +24,8 @@ export type Asset = { export type BuildDepositTransactionRequest = { deposit_amount: Asset[]; input_utxos: UTxO[]; + deposit_type?: 'vault'; + vault_id?: string; }; export type SubmitDepositTransactionRequest = { @@ -32,6 +34,8 @@ export type SubmitDepositTransactionRequest = { export type BuildWithdrawalTransactionRequest = { withdrawal_amount: Asset[]; + withdraw_type?: 'vault'; + vault_id?: string; }; export type SubmitWithdrawalTransactionRequest = { From f6fd7354dcad6910d51f3781cd3dfec955383229 Mon Sep 17 00:00:00 2001 From: Ken Lau Date: Mon, 20 Apr 2026 17:20:41 +0800 Subject: [PATCH 2/2] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a06f7a9..d803f14 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@deltadefi-protocol/sdk", "description": "The Typescript SDK for DeltaDeFi protocol", - "version": "1.1.3", + "version": "1.1.4", "main": "./dist/index.cjs", "browser": "./dist/index.js", "module": "./dist/index.js",