Skip to content

Commit

Permalink
added new property
Browse files Browse the repository at this point in the history
  • Loading branch information
spacehaz committed Jul 29, 2024
1 parent e6028b9 commit 4605bcf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Linkdrop SDK

## 2.1.5
- added available_wallets_on property

## 2.1.4
- added claiming_finished_button_on property
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-sdk",
"version": "2.1.4",
"version": "2.1.5",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
2 changes: 2 additions & 0 deletions src/helpers/get-link-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const getLinkParams = async (
claiming_finished_button_title,
claiming_finished_button_url,
claiming_finished_button_on,
available_wallets_on,
available_wallets
} : TLinkParams = data

Expand All @@ -63,6 +64,7 @@ const getLinkParams = async (
claiming_finished_button_title,
claiming_finished_button_url,
claiming_finished_button_on,
available_wallets_on,
available_wallets
}
}
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 @@ -20,6 +20,7 @@ type TLinkParams = {
claiming_finished_button_url: string
claiming_finished_button_on: boolean
available_wallets: string[]
available_wallets_on: boolean
}

export default TLinkParams

0 comments on commit 4605bcf

Please sign in to comment.