Skip to content

Commit

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

## 2.1.6
- available_wallets_on => preferred_wallet_on
- available_wallets property removed

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

return {
Expand All @@ -64,8 +63,7 @@ const getLinkParams = async (
claiming_finished_button_title,
claiming_finished_button_url,
claiming_finished_button_on,
available_wallets_on,
available_wallets
preferred_wallet_on
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/types/link-params/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ type TLinkParams = {
claiming_finished_button_title: string
claiming_finished_button_url: string
claiming_finished_button_on: boolean
available_wallets: string[]
available_wallets_on: boolean
preferred_wallet_on: boolean
}

export default TLinkParams

0 comments on commit 86e2ed3

Please sign in to comment.