@jupiterone/integration-sdk-http-client
Advanced tools
Comparing version 13.0.0 to 13.1.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isRetryableRequest = exports.fatalRequestError = exports.retryableRequestError = exports.ResponseBodyError = exports.RateLimitError = exports.RetryableIntegrationProviderApiError = void 0; | ||
exports.ResponseBodyError = exports.RateLimitError = exports.RetryableIntegrationProviderApiError = void 0; | ||
exports.retryableRequestError = retryableRequestError; | ||
exports.fatalRequestError = fatalRequestError; | ||
exports.isRetryableRequest = isRetryableRequest; | ||
const integration_sdk_core_1 = require("@jupiterone/integration-sdk-core"); | ||
@@ -68,3 +71,2 @@ class RetryableIntegrationProviderApiError extends integration_sdk_core_1.IntegrationProviderAPIError { | ||
} | ||
exports.retryableRequestError = retryableRequestError; | ||
async function fatalRequestError({ endpoint, response, logger, logErrorBody, }) { | ||
@@ -89,3 +91,2 @@ const errorBody = await getErrorBody(response, logger, logErrorBody); | ||
} | ||
exports.fatalRequestError = fatalRequestError; | ||
/** | ||
@@ -101,3 +102,2 @@ * Function for determining if a request is retryable | ||
} | ||
exports.isRetryableRequest = isRetryableRequest; | ||
//# sourceMappingURL=errors.js.map |
{ | ||
"name": "@jupiterone/integration-sdk-http-client", | ||
"version": "13.0.0", | ||
"version": "13.1.0", | ||
"description": "The HTTP client for use in JupiterOne integrations", | ||
@@ -27,3 +27,3 @@ "main": "dist/src/index.js", | ||
"@jupiterone/hierarchical-token-bucket": "^0.3.1", | ||
"@jupiterone/integration-sdk-core": "^13.0.0", | ||
"@jupiterone/integration-sdk-core": "^13.1.0", | ||
"@lifeomic/attempt": "^3.0.3", | ||
@@ -35,4 +35,4 @@ "form-data": "^4.0.0", | ||
"devDependencies": { | ||
"@jupiterone/integration-sdk-dev-tools": "^13.0.0", | ||
"@jupiterone/integration-sdk-private-test-utils": "^13.0.0", | ||
"@jupiterone/integration-sdk-dev-tools": "^13.1.0", | ||
"@jupiterone/integration-sdk-private-test-utils": "^13.1.0", | ||
"@types/node-fetch": "^2.6.11" | ||
@@ -44,3 +44,3 @@ }, | ||
"homepage": "https://github.com/JupiterOne/sdk#readme", | ||
"gitHead": "787c4b95bee4222a5d58889e2407c3008143c0e1" | ||
"gitHead": "74818985ff0c1fc0329f11458d164dd377338095" | ||
} |
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
240249