Examples using the ACTIV Financial ContentGateway Web API.
The API uses WebAssembly and as such requires quite recent versions of JavaScript run-times.
- Firefox 54 or higher.
- Chrome 61 or higher.
- Edge 40.15063.0.0 (Windows 10 Creators Update) or higher. You may need to enable experimental JavaScript features in about:flags for versions prior to Windows 10 Fall Creators Update.
- Safari 11 or higher.
8 or higher.
9 or higher.
yarn
is assumed to be available in your path. Install either with your package manager (e.g.sudo dnf install nodejs-yarn
for Fedora), or from here.- Clone this repository somewhere.
- From the root directory of the repository clone,
yarn install
: install dependencies and cross-link packages (inpackages/*
). yarn develop
: build each package (equivalent toyarn develop
in each package, but taking care of any ordering dependencies) with webpack development mode.- Alternatively,
yarn build
: build using webpack production mode. - To make locally built packages available in preference to globally published versions, run
yarn yarn:publish-links
. To remove the links, runyarn yarn:unpublish-links
. - To use locally built versions of dependencies (specifically,
one-api
), rather than globally published versions, runyarn yarn:use-links
. To remove the links, runyarn yarn:disuse-links
. Note at this time, theone-api
itself is hosted in a private repository.
The repository has various pre-configured tasks and debug launch configurations for Visual Studio Code.
Note: the default build task runs yarn develop
at the top level.
Examples for various run-times are available. See the appropriate README for more information:
To see how the API can be used, read our getting started tutorial.