0.0.27 • Published 2 years 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
2 years ago
0.0.25
2 years ago
0.0.26
2 years ago
0.0.27
2 years ago
0.0.23
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago