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

@coursekit/client

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coursekit/client - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/library.js

@@ -175,3 +175,3 @@ 'use strict';

markdown = data.privateContent.markdown;
complete = isLessonComplete(courseId, data.id, user);
complete = user ? isLessonComplete(courseId, data.id, user) : false;
meta = {

@@ -178,0 +178,0 @@ ...data.publicContent,

@@ -41,3 +41,3 @@ import { isLessonComplete } from './helpers'

markdown = data.privateContent.markdown
complete = isLessonComplete(courseId, data.id, user)
complete = user ? isLessonComplete(courseId, data.id, user) : false
meta = {

@@ -44,0 +44,0 @@ ...data.publicContent,

{
"name": "@coursekit/client",
"description": "CourseKit client library",
"version": "0.1.0",
"version": "0.1.1",
"main": "dist/library.js",

@@ -6,0 +6,0 @@ "module": "dist/library.mjs",

@@ -37,3 +37,3 @@ # CourseKit JavaScript Client

import { CourseKitClient } from '@coursekit/client'
const ck = new CourseKit({ schoolId: '...' })
const ck = new CourseKitClient({ schoolId: '...' })
```

@@ -124,3 +124,3 @@

```javascript
const { status, courses } = await ck.loadCourse(courseId)
const { status, courses } = await ck.loadCourseSummaries()
if (status === 401) {

@@ -127,0 +127,0 @@ console.log(courses[0].enrolled) // null

Sorry, the diff of this file is not supported yet

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