canvas-lms-mcp 1.29.2 → 1.29.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDWCGX2LJcjs = require('../chunk-DWCGX2LJ.cjs');
3
+ var _chunk56JXEKIOcjs = require('../chunk-56JXEKIO.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk2ENRMOJWcjs = require('../chunk-2ENRMOJW.cjs');
9
+ var _chunkQ3VCYFOVcjs = require('../chunk-Q3VCYFOV.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- exports.CanvasApiError = _chunk2ENRMOJWcjs.CanvasApiError; exports.CanvasClient = _chunkDWCGX2LJcjs.CanvasClient; exports.CanvasHttpClient = _chunk2ENRMOJWcjs.CanvasHttpClient; exports.appendCanvasQuery = _chunk2ENRMOJWcjs.appendCanvasQuery; exports.toCanvasQuery = _chunk2ENRMOJWcjs.toCanvasQuery;
16
+ exports.CanvasApiError = _chunkQ3VCYFOVcjs.CanvasApiError; exports.CanvasClient = _chunk56JXEKIOcjs.CanvasClient; exports.CanvasHttpClient = _chunkQ3VCYFOVcjs.CanvasHttpClient; exports.appendCanvasQuery = _chunkQ3VCYFOVcjs.appendCanvasQuery; exports.toCanvasQuery = _chunkQ3VCYFOVcjs.toCanvasQuery;
17
17
  //# sourceMappingURL=index.cjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CanvasClient
3
- } from "../chunk-3GRH22UA.js";
3
+ } from "../chunk-HVFM7RUX.js";
4
4
  import {
5
5
  CanvasApiError,
6
6
  CanvasHttpClient,
7
7
  appendCanvasQuery,
8
8
  toCanvasQuery
9
- } from "../chunk-FHB5523D.js";
9
+ } from "../chunk-HQLRSSVQ.js";
10
10
  export {
11
11
  CanvasApiError,
12
12
  CanvasClient,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk2ENRMOJWcjs = require('./chunk-2ENRMOJW.cjs');
4
+ var _chunkQ3VCYFOVcjs = require('./chunk-Q3VCYFOV.cjs');
5
5
 
6
6
  // src/canvas/courses.ts
7
7
  var DEFAULT_LIST_INCLUDE = ["term"];
@@ -1387,7 +1387,7 @@ var NewQuizzesModule = class {
1387
1387
  `/api/quiz/v1/courses/${courseId}/accommodations/${userId}`
1388
1388
  );
1389
1389
  } catch (err) {
1390
- if (err instanceof _chunk2ENRMOJWcjs.CanvasApiError && err.status === 404) return null;
1390
+ if (err instanceof _chunkQ3VCYFOVcjs.CanvasApiError && err.status === 404) return null;
1391
1391
  throw err;
1392
1392
  }
1393
1393
  }
@@ -1730,7 +1730,7 @@ var CanvasClient = class {
1730
1730
 
1731
1731
 
1732
1732
  constructor(config) {
1733
- this.client = new (0, _chunk2ENRMOJWcjs.CanvasHttpClient)(config);
1733
+ this.client = new (0, _chunkQ3VCYFOVcjs.CanvasHttpClient)(config);
1734
1734
  this.courses = new CoursesModule(this.client);
1735
1735
  this.assignments = new AssignmentsModule(this.client);
1736
1736
  this.submissions = new SubmissionsModule(this.client);
@@ -1771,4 +1771,4 @@ var CanvasClient = class {
1771
1771
 
1772
1772
 
1773
1773
  exports.mapWithConcurrency = mapWithConcurrency; exports.SEARCH_CONTENT_TYPES = SEARCH_CONTENT_TYPES; exports.OUTCOME_CONTEXT_TYPES = OUTCOME_CONTEXT_TYPES; exports.OUTCOME_DETAIL_LEVELS = OUTCOME_DETAIL_LEVELS; exports.OUTCOME_ROLLUP_AGGREGATE_STATS = OUTCOME_ROLLUP_AGGREGATE_STATS; exports.OUTCOME_ROLLUP_SORT_BY = OUTCOME_ROLLUP_SORT_BY; exports.OUTCOME_SORT_ORDER = OUTCOME_SORT_ORDER; exports.OUTCOME_EXCLUDE_OPTIONS = OUTCOME_EXCLUDE_OPTIONS; exports.CanvasClient = CanvasClient;
1774
- //# sourceMappingURL=chunk-DWCGX2LJ.cjs.map
1774
+ //# sourceMappingURL=chunk-56JXEKIO.cjs.map