1.0.0-rc.2 • Published 3 years ago
@listo-paye/sdk-core v1.0.0-rc.2
Getting Started
Prerequisites
Node.js > v16.x
Installation
yarn add @listo-paye/sdk-coreUsage
Full documentation is available here.
| Method | Description |
|---|---|
| init | Initiate the SDK. |
| loadTransferData | Load transfer data from Listo Paye. |
| initiateTransfer | Start a transfer. |
Initiate the SDK
init({
sponsorCredentials: {
email: 'john@appleseed.com',
password: '*************************'
},
etablissementId: '0516b63c-6e12-4a2c-a0f3-23302e06fdd3'
})Load transfer data from Listo Paye
loadTransferData({ date: '2020-07-01' })Start a transfer
initiateTransfer()Contributing
The Stack
- TypeScript: The programming language for frontend.
- TSdx: Zero-config CLI for TypeScript package development.
Development
Installation
- Clone the repository
git clone git@gitlab.com:listopro/virements-salaires.git - Setup Node.js.
cd virements-salaires && \ nvm use - Install the dependencies
yarn
Develop
Run the development server:
yarn run sdk-core:developOpen http://localhost:6006 with your browser to see the Storybook.
To run the unit tests for the SDK Core, run:
yarn run sdk-core:test:watchRelease
yarn run sdk-core:releaseYou can pass any other arguments to the underneath publish command:
yarn run sdk-core:release -- --tag rc