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

caccl-api

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caccl-api - npm Package Compare versions

Comparing version 1.0.42 to 1.0.43

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [1.0.44] - 10/15/19
Added support for listing students in sections
## [1.0.42] - 09/28/19

@@ -7,0 +11,0 @@

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

const prefix = require('../../common/prefix');
const utils = require('../../common/utils');

@@ -28,2 +29,4 @@ class Section extends EndpointCategory {

* @param {number} options.courseId - Canvas course Id to query
* @param {boolean} [options.includeStudents] - if true, the list of students
* from each section are included
* @return {Promise.<Object[]>} list of Canvas Sections {@link https://canvas.instructure.com/doc/api/sections.html#Section}

@@ -35,2 +38,7 @@ */

method: 'GET',
params: {
include: utils.genIncludesList({
students: options.includeStudents,
}),
},
});

@@ -50,2 +58,4 @@ };

* @param {number} options.sectionId - Section Id to retrieve
* @param {boolean} [options.includeStudents] - if true, the list of students
* in the section are included
* @return {Promise.<Object>} Canvas Section {@link https://canvas.instructure.com/doc/api/sections.html#Section}

@@ -57,2 +67,7 @@ */

method: 'GET',
params: {
include: utils.genIncludesList({
students: options.includeStudents,
}),
},
});

@@ -59,0 +74,0 @@ };

2

package.json
{
"name": "caccl-api",
"version": "1.0.42",
"version": "1.0.43",
"description": "A class that defines a set of smart Canvas endpoints that actually behave how you'd expect them to.",

@@ -5,0 +5,0 @@ "main": "index.js",

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