Socket
Socket
Sign inDemoInstall

@jupiterone/integration-sdk-core

Package Overview
Dependencies
Maintainers
10
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/integration-sdk-core - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

18

dist/src/types/logger.d.ts

@@ -56,2 +56,12 @@ import { StepMetadata } from './';

export interface IntegrationLoggerFunctions {
/**
* Answers true when an error has already been handled by this logger instance
* (in `warn` or `error`).
*
* There are some errors which are handled in the context where they occur.
* Once they have been logged, they may be re-thrown to break out of that
* context, but they should not be logged again. This mechanism allows higher
* catch blocks to discover whether the logger has already handled an error
* and if so, to avoid double logging.
*/
isHandledError: IsHandledErrorFunction;

@@ -63,2 +73,10 @@ stepStart: StepLogFunction;

synchronizationUploadEnd: SynchronizationLogFunction;
/**
* Handles logging of errors that are raised in `validateInvocation`.
*
* `IntegrationValidationError` and `IntegrationProviderAuthenticationError`
* are logged at `level: 40`, expecting these to be user errors that should
* not alert in runtime environments. Other error types will be logged at
* `level: 50`.
*/
validationFailure: ValidationLogFunction;

@@ -65,0 +83,0 @@ publishMetric: PublishMetricFunction;

4

package.json
{
"name": "@jupiterone/integration-sdk-core",
"version": "2.1.0",
"version": "2.1.1",
"description": "The SDK for developing JupiterOne integrations",

@@ -32,3 +32,3 @@ "main": "dist/src/index.js",

},
"gitHead": "33cc30d259d04499a400585aeca1c0c2f5696f4c"
"gitHead": "e0977a3e5de96d5f6407e850f2ebc324ea618ecb"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc