0.0.27 • Published 10 months ago
@involves/stage-lib v0.0.27
@involves/stage-lib
Install
npm install @involves/stage-lib --save
Example usage
Using Stage in Node.js:
const {
ProductService,
PointOfSaleService
} = require('@involves/stage-lib')
async function run() {
const product = await ProductService.get(
{
tenant: 'homologacao',
project: 1,
id: 99
}
)
const pointOfSale = await PointOfSaleService.get(
{
tenant: 'homologacao',
project: 1,
id: 10
}
)
}
run()
How to run the tests
At the terminal, just type the command:
make test
Extra configuration
ENVs
STAGE_LIB_STAGE_BASE_URL
default https://{tenant}.involves.comSTAGE_LIB_STAGE_TIMEOUT
default 60000STAGE_LIB_STAGE_API_USER_PROVIDER_URL
default https://stage-api-user-provider.involvesapp.comSTAGE_LIB_STAGE_API_USER_PROVIDER_TIMEOUT
default 10000STAGE_LIB_STAGE_API_USER_PROVIDER_CACHE_TOKEN_TTL_IN_SECONDS
default 300
0.0.24
10 months ago
0.0.25
10 months ago
0.0.26
10 months ago
0.0.27
10 months ago
0.0.23
11 months ago
0.0.21
11 months ago
0.0.22
11 months ago
0.0.20
11 months ago
0.0.19
12 months ago
0.0.18
12 months ago
0.0.17
12 months ago
0.0.16
12 months ago
0.0.15
12 months ago
0.0.14
12 months ago
0.0.13
12 months ago
0.0.12
12 months ago
0.0.11
12 months ago
0.0.10
12 months ago
0.0.9
12 months ago
0.0.8
12 months ago
0.0.7
12 months ago
0.0.6
12 months ago
0.0.5
12 months ago
0.0.4
12 months ago
0.0.3
12 months ago
0.0.2
12 months ago