@brightspace-hmc/siren-sdk
Advanced tools
Comparing version 3.2.1 to 3.3.0
{ | ||
"name": "@brightspace-hmc/siren-sdk", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -31,20 +31,6 @@ import { Actions, Classes, Rels } from '../../hypermedia-constants.js'; | ||
instructionsHref() { | ||
if (!this._entity || !this._entity.hasLinkByRel(Rels.Assignments.instructionsText)) { | ||
return; | ||
} | ||
return this._entity.getLinkByRel(Rels.Assignments.instructionsText).href; | ||
} | ||
instructionsPartialHref() { | ||
outcomesTerm() { | ||
if (!this._entity || !this._entity.properties) { | ||
return; | ||
} | ||
return this._entity.properties['instructions-text-partial-url']; | ||
} | ||
outcomesKey() { | ||
if (!this._entity || !this._entity.properties) { | ||
return; | ||
} | ||
return this._entity.properties['outcomes-term']; | ||
@@ -51,0 +37,0 @@ } |
@@ -118,3 +118,2 @@ export const Rels = { | ||
categories: 'https://assignments.api.brightspace.com/rels/categories', | ||
instructionsText: 'https://assignments.api.brightspace.com/rels/instructions-text', | ||
recommendAlignments: 'https://assignments.api.brightspace.com/rels/recommend-alignments' | ||
@@ -121,0 +120,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
409281
11325