diff --git a/CHANGELOG.md b/CHANGELOG.md index e0a3089..3a0bfc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 5cf0730..d1f47f9 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/src/helpers/get-link-params.ts b/src/helpers/get-link-params.ts index 5af84bf..b1acd57 100644 --- a/src/helpers/get-link-params.ts +++ b/src/helpers/get-link-params.ts @@ -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 { @@ -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 } } } diff --git a/src/types/link-params/index.ts b/src/types/link-params/index.ts index fe88222..296df99 100644 --- a/src/types/link-params/index.ts +++ b/src/types/link-params/index.ts @@ -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 \ No newline at end of file