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.27.0 to 2.28.0

2

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

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

@@ -95,6 +95,14 @@ import { Actions, Classes } from '../../../hypermedia-constants.js';

}
enforcedTimeLimit() {
enforcedTimeLimit(data) {
const entity = this.getEnforcedTimingSubEntity();
if (!entity) return;
return entity.properties && entity.properties.timeLimit;
if (!entity || !entity.hasProperty('timeLimit')) return;
if (data) {
return {
...entity.properties.timeLimit,
value: data
};
}
return entity.properties.timeLimit;
}

@@ -132,6 +140,13 @@

recommendedTimeLimit() {
recommendedTimeLimit(data) {
const entity = this.getRecommendedTimingSubEntity();
if (!entity) return;
return entity.properties && entity.properties.timeLimit;
if (!entity || !entity.hasProperty('timeLimit')) return;
if (data) {
return {
...entity.properties.timeLimit,
value: data
};
}
return entity.properties.timeLimit;
}

@@ -138,0 +153,0 @@

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