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
0
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 3.7.0 to 3.8.0

2

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

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

@@ -98,2 +98,10 @@ import { Actions, Classes, Rels } from '../../hypermedia-constants.js';

/**
* @returns {string} The registryId of the content-module (read-only)
*/
registryId() {
return this._entity && this._entity.properties && this._entity.properties.registryId;
}
/**
* @returns {string} Returns the endpoint for generating a summary for the module

@@ -110,2 +118,13 @@ */

/**
* @returns {string} Returns the endpoint for lores for the module
*/
loresEndpoint() {
if (!this._entity || !this._entity.hasLinkByRel(Rels.Content.Modules.loresEndpoint)) {
return;
}
return this._entity.getLinkByRel(Rels.Content.Modules.loresEndpoint).href;
}
/**
* Updates the module to have the given description

@@ -112,0 +131,0 @@ * @param {string} richText description to set on the module

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

Modules: {
generateSummary: 'https://modules.api.brightspace.com/rels/generate-summary'
generateSummary: 'https://modules.api.brightspace.com/rels/generate-summary',
loresEndpoint: 'https://modules.api.brightspace.com/rels/lores-endpoint'
}

@@ -150,0 +151,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