@flat/ims-lti
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -61,3 +61,3 @@ // Generated by CoffeeScript 1.12.7 | ||
has_resource_link_id = body.resource_link_id != null; | ||
omits_content_item_params = (body.resource_link_id == null) && (body.resource_link_title == null) && (body.resource_link_description == null) && (body.launch_presentation_return_url == null) && (body.lis_result_sourcedid == null); | ||
omits_content_item_params = !body.resource_link_id && (body.resource_link_title == null) && (body.resource_link_description == null) && (body.launch_presentation_return_url == null) && (body.lis_result_sourcedid == null); | ||
return correct_version && (body.lti_message_type === 'basic-lti-launch-request' && has_resource_link_id) || (body.lti_message_type === 'ContentItemSelectionRequest' && omits_content_item_params); | ||
@@ -64,0 +64,0 @@ }; |
{ | ||
"name": "@flat/ims-lti", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Module for building an LTI Tool Provider and accept LTI launch requests", | ||
@@ -5,0 +5,0 @@ "author": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2
43865