Comparing version 0.0.2 to 0.0.3
const { setConfig, getConfig } = require('./src/config'); | ||
const { upload } = require('./src/upload'); | ||
const { makePdf } = require('./src/make-pdf'); | ||
@@ -8,2 +9,3 @@ module.exports = { | ||
upload, | ||
makePdf, | ||
}; |
{ | ||
"name": "alphatech", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,2 @@ const pkg = require('../package.json'); | ||
domain: 'https://api.alpha.tech', | ||
// domain: 'http://localhost:3000/dev', | ||
}; | ||
@@ -11,0 +10,0 @@ |
const { getDimensions } = require('./get-dimensions'); | ||
const { getFileInfo } = require('./get-file-info'); | ||
const { api } = require('./api'); | ||
@@ -7,2 +8,3 @@ module.exports = { | ||
getFileInfo, | ||
api, | ||
}; |
@@ -13,3 +13,5 @@ const { getConfig } = require('./config'); | ||
if (err.response && err.response.body) { | ||
err.message = `[alphatech] ${err.response.body.error}`; | ||
err.message = `[alphatech] ${err.response.statusCode} ${ | ||
err.response.body.error || err.response.body.message || err.response.statusMessage | ||
}`; | ||
} else { | ||
@@ -16,0 +18,0 @@ err.message = `[alphatech] ${err.message}`; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6639
216
0