Skip to content

Commit

Permalink
added update for factory address
Browse files Browse the repository at this point in the history
  • Loading branch information
spacehaz committed Sep 13, 2024
1 parent 41798e1 commit 2ce460f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Linkdrop SDK

## 2.1.12
- get factory address for claim link

## 2.1.11
- added X Layer network support

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
4 changes: 3 additions & 1 deletion src/helpers/get-link-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions src/types/link-params/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type TLinkParams = {
token_image: string
token_name: string
additional_wallets_on: boolean
factory_address: boolean
}

export default TLinkParams

0 comments on commit 2ce460f

Please sign in to comment.