1.10.1 • Published 9 months ago

@etransfer/services v1.10.1

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

@etransfer/services

ES Version Node Version NPM Package Version

You can use this package to easily access the etransfer server and obtain data related to deposits and withdrawals.

Installation

Using NPM

npm install @etransfer/services

Using Yarn

yarn add @etransfer/services

Prerequisites

Package.json Scripts

ScriptDescription
cleanUses rm to remove dist/
buildUses tsc to build package and dependent packages
lintUses eslint to lint package
lint:fixUses eslint to check and fix any warnings
formatUses prettier to format the code

How to use

See more Developer Documentation.

import { Services } from '@etransfer/services';

const services = new Services();

// Set global http request headers.
services.setRequestHeaders('Authorization', '');

// Set global http request parameters.
services.setRequestConfig('baseURL', 'https://xxx.xxx');

// Get authorization token.
await this.services.getAuthToken({}, { baseURL: '' });

// Get tokens that support deposit.
await this.services.getTokenOption({});
1.10.1

9 months ago

1.10.0

9 months ago

1.9.1

9 months ago

1.8.0

9 months ago

1.7.1-alpha.1

10 months ago

1.7.0

10 months ago

1.6.5-alpha.3

10 months ago

1.6.5-alpha.2

10 months ago

1.6.5-alpha.1

10 months ago

1.6.5-alpha.0

10 months ago

1.6.4

10 months ago

1.6.3

10 months ago

1.6.3-alpha.0

10 months ago

1.6.2

10 months ago

1.6.1

10 months ago

1.6.0

10 months ago

1.5.1

10 months ago

1.5.1-alpha.2

11 months ago

1.5.1-alpha.1

11 months ago

1.5.1-alpha.0

11 months ago

1.5.0

11 months ago

1.4.1

11 months ago

1.4.0

11 months ago

1.3.0

11 months ago

1.2.1-alpha.5

11 months ago

1.2.1-alpha.4

11 months ago

1.2.1-alpha.3

11 months ago

1.3.0-alpha.0

11 months ago

1.2.1-alpha.2

11 months ago

1.2.1-alpha.1

12 months ago

1.2.1-alpha.0

12 months ago

1.2.0

12 months ago

1.2.0-alpha.3

1 year ago

1.2.0-alpha.2

1 year ago

1.2.0-alpha.1

1 year ago

1.2.0-alpha.0

1 year ago

1.1.0-alpha.0

1 year ago

1.0.0

1 year ago

1.0.0-alpha.11

1 year ago

1.0.0-alpha.10

1 year ago

1.0.0-alpha.9

1 year ago

1.0.0-alpha.8

1 year ago

1.0.0-alpha.7

1 year ago

1.0.0-alpha.6

1 year ago

1.0.0-alpha.5

1 year ago

1.0.0-alpha.4

1 year ago

1.0.0-alpha.3

1 year ago

1.0.0-alpha.2

1 year ago

1.0.0-alpha.1

1 year ago

1.0.0-alpha.0

1 year ago