@jupiterone/integration-sdk-core
Advanced tools
Comparing version 13.5.2 to 13.6.0
@@ -5,3 +5,3 @@ import { Entity, Relationship } from '../types'; | ||
} | ||
export type GraphObjectIteratee<T> = (obj: T) => void | Promise<void>; | ||
export type GraphObjectIteratee<T> = (obj: Readonly<T>) => void | Promise<void>; | ||
export type GraphObjectIterateeOptions = { | ||
@@ -96,2 +96,7 @@ concurrency?: number; | ||
* | ||
* The graph object parameter passed to the iteratee is marked as Readonly. | ||
* Once created and added to the JobState, graph objects should be considered immutable. | ||
* Modifying a graph object during iteration can result in undesirable behavior | ||
* since objects are upload to JupiterOne at non-regular intervals. | ||
* | ||
* If concurrency is specified (defaults to 1), the iteratee will be executed | ||
@@ -124,2 +129,7 @@ * concurrently for graph objects that are found in memory and for | ||
* | ||
* The graph object parameter passed to the iteratee is marked as Readonly. | ||
* Once created and added to the JobState, graph objects should be considered immutable. | ||
* Modifying a graph object during iteration can result in undesirable behavior | ||
* since objects are upload to JupiterOne at non-regular intervals. | ||
* | ||
* If concurrency is specified (defaults to 1), the iteratee will be executed | ||
@@ -126,0 +136,0 @@ * concurrently for graph objects that are found in memory and for |
{ | ||
"name": "@jupiterone/integration-sdk-core", | ||
"version": "13.5.2", | ||
"version": "13.6.0", | ||
"description": "The SDK for developing JupiterOne integrations", | ||
@@ -27,3 +27,3 @@ "main": "dist/src/index.js", | ||
"@jupiterone/data-model": "^0.61.11", | ||
"@jupiterone/integration-sdk-entity-validator": "^13.5.2", | ||
"@jupiterone/integration-sdk-entity-validator": "^13.6.0", | ||
"@sinclair/typebox": "^0.32.30", | ||
@@ -35,3 +35,3 @@ "lodash": "^4.17.21" | ||
}, | ||
"gitHead": "9a26d11fce479f98e82f6ca440d1ee7c09c82ce6" | ||
"gitHead": "885f102dee9fe4b73fe8db6e94d1b63a2d875059" | ||
} |
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
339279
3021