0.1.43 • Published 2 years ago

ts-magalu-sdk v0.1.43

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Contents

Installation

You can install the package via npm:

$ npm install ts-magalu-sdk

Setting up your Magalu Credentials

Add your BTG username, password and environment.

...
const MagaluConfig: MagaluConfigurationData = {
    username: environment.USERNAME,
    password: environment.PASSWORD,
    environment: environment.ENVIRONMENT
}

MagaluConfiguration.Init(MagaluConfig);
...

Usage

Now you can use MagaluClient in your project:

const authorization: AuthDto = await MagaluClient.createAuthToken();

Testing

There is at least one test for every request, currently running with mocha.

$ npm run test

Publishing

Change version number at package.json and then run:

$ npm run dist
0.1.43

2 years ago

0.1.42

2 years ago

0.1.41

3 years ago

0.1.4

3 years ago

0.1.36

3 years ago

0.1.35

3 years ago

0.1.34

3 years ago

0.1.33

3 years ago

0.1.32

3 years ago

0.1.31

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago