flex-plugins-api-utils
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -1,2 +0,2 @@ | ||
export { default as TwilioError } from './twilioError'; | ||
export { default as TwilioApiError } from './twilioApiError'; | ||
export { TwilioError } from 'flex-plugins-utils-exception'; | ||
export { TwilioApiError } from 'flex-plugins-utils-exception'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var twilioError_1 = require("./twilioError"); | ||
exports.TwilioError = twilioError_1.default; | ||
var twilioApiError_1 = require("./twilioApiError"); | ||
exports.TwilioApiError = twilioApiError_1.default; | ||
var flex_plugins_utils_exception_1 = require("flex-plugins-utils-exception"); | ||
exports.TwilioError = flex_plugins_utils_exception_1.TwilioError; | ||
var flex_plugins_utils_exception_2 = require("flex-plugins-utils-exception"); | ||
exports.TwilioApiError = flex_plugins_utils_exception_2.TwilioApiError; | ||
//# sourceMappingURL=index.js.map |
@@ -127,3 +127,3 @@ "use strict"; | ||
logger_1.default.debug("Request errored with data\n" + Http.prettyPrint(data)); | ||
return [2, Promise.reject(new exceptions_1.TwilioApiError(data.code, data.message, data.more_info, data.status))]; | ||
return [2, Promise.reject(new exceptions_1.TwilioApiError(data.code, data.message, data.status, data.more_info))]; | ||
} | ||
@@ -130,0 +130,0 @@ logger_1.default.debug("Request errored with message " + err.message); |
export { default as logger } from './logger'; | ||
export { default as env } from './env'; | ||
export { default as HttpClient } from './http'; | ||
export { default as TwilioApiError } from './exceptions/twilioApiError'; | ||
export { default as TwilioError } from './exceptions/twilioError'; | ||
export { TwilioApiError } from './exceptions'; | ||
export { TwilioError } from './exceptions'; |
@@ -9,6 +9,6 @@ "use strict"; | ||
exports.HttpClient = http_1.default; | ||
var twilioApiError_1 = require("./exceptions/twilioApiError"); | ||
exports.TwilioApiError = twilioApiError_1.default; | ||
var twilioError_1 = require("./exceptions/twilioError"); | ||
exports.TwilioError = twilioError_1.default; | ||
var exceptions_1 = require("./exceptions"); | ||
exports.TwilioApiError = exceptions_1.TwilioApiError; | ||
var exceptions_2 = require("./exceptions"); | ||
exports.TwilioError = exceptions_2.TwilioError; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "flex-plugins-api-utils", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "Flex Plugins API Utils", | ||
@@ -55,2 +55,3 @@ "keywords": [ | ||
"chalk": "^4.0.0", | ||
"flex-plugins-utils-exception": "^0.4.0", | ||
"flex-plugins-utils-logger": "^0.3.1", | ||
@@ -63,3 +64,3 @@ "qs": "^6.9.4", | ||
}, | ||
"gitHead": "850402690bf145691b7244a6fc267dc85edcda60" | ||
"gitHead": "c855cb049d37773de067e73f4115cbee64340bee" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
18988
7
18
251
+ Addedflex-plugins-utils-exception@0.4.1(transitive)