From 9c7d1aea436555ee3dabcbc633df575fcb0a1434 Mon Sep 17 00:00:00 2001 From: spacehaz Date: Wed, 30 Oct 2024 12:06:51 +0300 Subject: [PATCH] updates for new release --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/helpers/get-link-params.ts | 2 ++ src/types/link-params/index.ts | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cc72bd..e8102ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Linkdrop SDK + +## 2.1.14 +- added claiming_finished_auto_redirect property + ## 2.1.13 - fix for factory address type diff --git a/package.json b/package.json index 446e9cd..334e8a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linkdrop-batch-sdk", - "version": "2.1.13", + "version": "2.1.14", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ diff --git a/src/helpers/get-link-params.ts b/src/helpers/get-link-params.ts index 3034f50..52bd700 100644 --- a/src/helpers/get-link-params.ts +++ b/src/helpers/get-link-params.ts @@ -40,6 +40,7 @@ const getLinkParams = async ( claiming_finished_button_title, claiming_finished_button_url, claiming_finished_button_on, + claiming_finished_auto_redirect, preferred_wallet_on, linkdrop_token, token_image, @@ -60,6 +61,7 @@ const getLinkParams = async ( claim_pattern, token_id, token_amount, + claiming_finished_auto_redirect, sender_signature, proxy_contract_version, wei_amount, diff --git a/src/types/link-params/index.ts b/src/types/link-params/index.ts index cda4eff..f250ec6 100644 --- a/src/types/link-params/index.ts +++ b/src/types/link-params/index.ts @@ -19,6 +19,7 @@ type TLinkParams = { claiming_finished_button_title: string claiming_finished_button_url: string claiming_finished_button_on: boolean + claiming_finished_auto_redirect: boolean preferred_wallet_on: boolean linkdrop_token: boolean token_image: string