diff --git a/CHANGELOG.md b/CHANGELOG.md index 63a4810..27a8b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Linkdrop SDK +## 2.1.12 +- get factory address for claim link + ## 2.1.11 - added X Layer network support diff --git a/package.json b/package.json index 2e1906b..7ee2ad8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linkdrop-batch-sdk", - "version": "2.1.11", + "version": "2.1.12", "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 dfd7b96..3034f50 100644 --- a/src/helpers/get-link-params.ts +++ b/src/helpers/get-link-params.ts @@ -44,11 +44,13 @@ const getLinkParams = async ( linkdrop_token, token_image, token_name, - additional_wallets_on + additional_wallets_on, + factory_address } : TLinkParams = data return { creator_address, + factory_address, sponsored, chain_id, campaign_number, diff --git a/src/types/link-params/index.ts b/src/types/link-params/index.ts index 2a39c07..c9d0817 100644 --- a/src/types/link-params/index.ts +++ b/src/types/link-params/index.ts @@ -24,6 +24,7 @@ type TLinkParams = { token_image: string token_name: string additional_wallets_on: boolean + factory_address: boolean } export default TLinkParams \ No newline at end of file