June 26, 2022
Developers rejoice. Onset JavaScript SDK is officially here! We have made three different packages available for your disposal. All packages are available via NPM and YARN and include type definitions.
@onsetio/browser
Primarily used in the browser for loading public releases.
@onsetio/node
Onset API JavaScript interface.
@onsetio/widget
We recommend that you should always be loaded the Widget.js script directly from https://widget.onset.io/widget.js
, rather than including it in a bundle or host yourself. If must bundle the Widget code into your application, you can use this package.