All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Improve typescript definitions
- Add new feature to create new accounts directly from apps
- Fix bug when requesting multiple profiles #31 - credits to krisarsov!
- Fix typescript definition for
PaymentParameters
- Add typescript definitions
index.d.ts
- credits to Alvin! - Add tags to the payment items:
wallet.pay({ payments: [{ destination: 'satoshi', tags: ['tag1', 'tag2'], currencyCode: 'USD', sendAmount: 0.05}] });
- Use production environment by default in the SDK initialization.
- Extend
HandCashOwner
(RUN extension) to return the NFT locations.
- Change SDK initialization to define
appSecret
. - Revert
clientUrl
so it redirects to app.handcash.io instead of handcash.io.
- Extend
Wallet
to expose the user total balance viaaccount.wallet.getTotalBalance()
.
- Update
clientUrl
so it redirects to handcash.io instead of app.handcash.io - Fix issues with some endpoints using HTTP GET with a body as it's not supported by some browsers.
- Extend
HandCashOwner.nextOwner()
with an optional aliasHandCashOwner.nextOwner(alias)
.
- Include app-secret in the headers for the run extension endpoints.
- Improve JSDoc for better auto-completion
- Improve error feedback when using wrong auth tokens: "Missing authToken" and "Invalid authToken".
- Method to get the change spend limits URL via
handCashConnect.getChangeSpendLimitsUrl()
- Beta features:
HandCashPurse
andHandCashOwner
to integrate HandCash Connect with RUN.
- Add feature in wallet to retrieve an exchange rate for a given fiat currency code.
- Add extra query parameters to the redirection URL so when the user is redirected back to the app these parameters are included.
- Expose
bitcoinUnit
as part of users' public profile.
- Improve JSDoc for better auto-completion
- Improve error feedback when using wrong auth tokens: "Missing authToken" and "Invalid authToken".
- Method to get the change spend limits URL via
handCashConnect.getChangeSpendLimitsUrl()
- Beta features:
HandCashPurse
andHandCashOwner
to integrate HandCash Connect with RUN.
- Add feature in wallet to retrieve an exchange rate for a given fiat currency code.
- Add extra query parameters to the redirection URL so when the user is redirected back to the app these parameters are included.
- Expose
bitcoinUnit
as part of users' public profile.
- Improve error propagation so
HandCashApiError
does not wrap generic errors as they lose the stack trace and other important details. - Replace deprecated
@std/esm
byesm
.
- Fixed wrong signature issue affecting browser integration.
Initial release