@modulbank/sendapi
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

SendApi method

** This module export the SendApi function **


full registration

SendApi(urls: { url, botUrl, searchUrl, authUrl, mdConfirmOwnUrl, mdSetOgrnUrl }) return { sendCallback, sendRegistry, setOgrn, companyLiveSearch, confirmOwning, preparedData };

only callback

SendApi(urls: { url }) return { sendCallback, preparedData };

how to use

1 -

npm i @modulbank/sendapi

2 -

import SendApi from '@modulbank/sendapi';

3 -

const api = SendApi(urls);

4 -

get prepared data with preparedData method const data = api.preparedData()

5 -

use data for send callback and registry

Readme

Keywords

none

Package Sidebar

Install

npm i @modulbank/sendapi

Weekly Downloads

10

Version

0.1.12

License

MIT

Unpacked Size

28.8 kB

Total Files

9

Last publish

Collaborators

  • artem9989
  • artur_ka
  • kossmos
  • lazio_dev