@brightspace-hmc/siren-sdk
Advanced tools
Comparing version 2.116.0 to 2.117.0
{ | ||
"name": "@brightspace-hmc/siren-sdk", | ||
"version": "2.116.0", | ||
"version": "2.117.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -43,7 +43,16 @@ /** | ||
sectionDeleted() { | ||
return this._entity?.properties?.sectionDeleted; | ||
} | ||
onOrganizationChange(onChange) { | ||
const organizationHref = this.organizationHref(); | ||
if (!organizationHref) { | ||
// setTimeout to allow caller to finish other work before calling onChange. | ||
setTimeout(() => onChange(null), 0); | ||
return; | ||
} | ||
// _subEntity builds new sub entity and allows this object to track it. | ||
// So all sub entities are disposed when this object is disposed. | ||
organizationHref && this._subEntity(OrganizationEntity, organizationHref, onChange); | ||
this._subEntity(OrganizationEntity, organizationHref, onChange); | ||
} | ||
@@ -50,0 +59,0 @@ |
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
401580
11127