All notable changes to this project will be documented in this file.
- Add
onrampToken
parameter
- Add
partnerUserId
parameter
- Add support for Aggregator API parameters
- Remove old SupportedBlockchains type
- Hard coding this list into the SDK wasn't ideal
- We support the expected set of assets + networks
- We're adding an endpoint which lists the currently supported assets + networks.
- Add
defaultExperience
parameter - Add
handlingRequestedUrls
parameter and associatedrequest_open_url
event - Add support for several blockchains
- Move internal exports to main export file.
- Update package.json exports format.
- Improvements to pixel error handling.
- Update exports for core logic.
- Fix invalid CommonJS output.
- Fix passing generateOnRampURL experience options.
- Update npm package files.
- Deprecate onReady parameter.
- Implement synchronous open function.
See the updated examples in the README.md. The onReady
function has been updated to be a callback provided as the second argument in initOnRamp
. This is to avoid race conditions which results in the widget failing to open in some cases.
- Improve pixel internal state and message management.
- Implement fallback open functionality for initOnRamp.
- Add debug option for initOnRamp.
- Add parameters to add options for L2 destination wallet configs.
- Update generateOnRampURL formatting.
- Remove the typing for blockchains parameter.
- Add flow as supported network.
- Add preset amount parameters support.
- Export init option types.
- Update generateOnRampURL options.
- Add additional network support.
- Upgrade tsup.
- Update readme.md with examples and documentation.
- First release with
initOnRamp
andgenerateOnRampURL
functions.