glitch-javascript-sdk 2.6.1 → 2.6.2

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.
package/dist/index.d.ts CHANGED
@@ -7218,6 +7218,7 @@ declare class Education {
7218
7218
  static heartbeat<T>(uuid: string, data: object): AxiosPromise<Response<T>>;
7219
7219
  static getSecureVideo<T>(uuid: string): AxiosPromise<Response<T>>;
7220
7220
  static getPreviewSecureVideo<T>(uuid: string): AxiosPromise<Response<T>>;
7221
+ static listAllProgress<T>(params?: object): AxiosPromise<Response<T>>;
7221
7222
  static listTrackContent<T>(track_id: string): AxiosPromise<Response<T>>;
7222
7223
  static addContentToTrack<T>(track_id: string, data: object): AxiosPromise<Response<T>>;
7223
7224
  static removeContentFromTrack<T>(track_id: string, content_id: string): AxiosPromise<Response<T>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -72,6 +72,9 @@ class Education {
72
72
  public static getPreviewSecureVideo<T>(uuid: string): AxiosPromise<Response<T>> {
73
73
  return Requests.processRoute(EducationRoute.routes.getPreviewSecureVideo, undefined, { uuid });
74
74
  }
75
+ public static listAllProgress<T>(params?: object): AxiosPromise<Response<T>> {
76
+ return Requests.processRoute(EducationRoute.routes.listAllProgress, undefined, undefined, params);
77
+ }
75
78
 
76
79
  // --- 4. TRACK CONTENT (PIVOT) ---
77
80
  public static listTrackContent<T>(track_id: string): AxiosPromise<Response<T>> {
@@ -139,7 +142,7 @@ class Education {
139
142
  return Requests.processRoute(EducationRoute.routes.deleteQuizQuestion, undefined, { uuid });
140
143
  }
141
144
 
142
- // --- QUIZ OPTIONS (CRUD) ---
145
+ // --- QUIZ OPTIONS (CRUD) ---
143
146
  public static viewQuizOption<T>(uuid: string): AxiosPromise<Response<T>> {
144
147
  return Requests.processRoute(EducationRoute.routes.viewQuizOption, undefined, { uuid });
145
148
  }