bizzabo-api
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -52,3 +52,3 @@ "use strict"; | ||
var axios_1 = require("axios"); | ||
var UnauthorizedException_1 = require("../errors/UnauthorizedException"); | ||
var UnauthorizedError_1 = require("../errors/UnauthorizedError"); | ||
var DEFAULT_AUTH_BASE_URL = 'https://auth.bizzabo.com'; | ||
@@ -68,3 +68,3 @@ var DEFAULT_AUTH_AUDIENCE = 'https://api.bizzabo.com/api'; | ||
this._handleError = function (error) { | ||
return Promise.reject(new UnauthorizedException_1.UnauthorizedException(JSON.stringify(error.response.data))); | ||
return Promise.reject(new UnauthorizedError_1.UnauthorizedError(JSON.stringify(error.response.data))); | ||
}; | ||
@@ -71,0 +71,0 @@ this.clientId = clientId; |
@@ -1,2 +0,2 @@ | ||
export * from './HttpException'; | ||
export * from './UnauthorizedException'; | ||
export * from './HttpError'; | ||
export * from './UnauthorizedError'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./HttpException"), exports); | ||
__exportStar(require("./UnauthorizedException"), exports); | ||
__exportStar(require("./HttpError"), exports); | ||
__exportStar(require("./UnauthorizedError"), exports); |
{ | ||
"name": "bizzabo-api", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "The Bizzabo API is a Typescript client that allows calling Bizzabo public APIs", | ||
@@ -5,0 +5,0 @@ "author": "Bizzabo", |
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
42693