Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brightspace-hmc/siren-sdk

Package Overview
Dependencies
Maintainers
2
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightspace-hmc/siren-sdk - npm Package Compare versions

Comparing version 2.118.0 to 2.119.0

2

package.json
{
"name": "@brightspace-hmc/siren-sdk",
"version": "2.118.0",
"version": "2.119.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "",

@@ -846,3 +846,4 @@ export const Rels = {

searchCourseMergeLogs: 'search-course-merge-logs',
courseMergeLogDetail: 'course-merge-log-detail'
courseMergeLogDetail: 'course-merge-log-detail',
timeFilter: 'time-filter'
}

@@ -849,0 +850,0 @@ },

@@ -7,2 +7,3 @@ /**

import { BaseCollectionEntity } from './BaseCollectionEntity.js';
import { performSirenAction } from '../../es6/SirenAction.js';

@@ -57,2 +58,27 @@ export class CourseMergeLogDetailCollectionEntity extends BaseCollectionEntity {

}
hasTimeFilterAction() {
return this._entity?.hasActionByName(Actions.ipsis.sisCourseMerge.timeFilter);
}
getTimeFilterAction() {
if (!this.hasTimeFilterAction()) {
return;
}
return this._entity.getActionByName(Actions.ipsis.sisCourseMerge.timeFilter);
}
async timeFilter(startTime, endTime) {
const action = this.getTimeFilterAction();
if (!action) {
return;
}
const fields = [
{ name: 'startTime', value: startTime },
{ name: 'endTime', value: endTime }
];
return await performSirenAction(this._token, action, fields, true);
}
}
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