glitch-javascript-sdk 2.5.6 → 2.5.7

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
@@ -7179,6 +7179,11 @@ declare class Education {
7179
7179
  static getAdoptionReport<T>(): AxiosPromise<Response<T>>;
7180
7180
  static getQuestionPerformanceReport<T>(params?: object): AxiosPromise<Response<T>>;
7181
7181
  static getRetentionReport<T>(): AxiosPromise<Response<T>>;
7182
+ /**
7183
+ * List raw engagement logs.
7184
+ * @param params Filter by user_id, content_id, or is_paid
7185
+ */
7186
+ static listViews<T>(params?: object): AxiosPromise<Response<T>>;
7182
7187
  static myBadges<T>(): AxiosPromise<Response<T>>;
7183
7188
  static awardBadge<T>(data: object): AxiosPromise<Response<T>>;
7184
7189
  static myCertificates<T>(): AxiosPromise<Response<T>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "2.5.6",
3
+ "version": "2.5.7",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -155,6 +155,14 @@ class Education {
155
155
  return Requests.processRoute(EducationRoute.routes.reportRetention);
156
156
  }
157
157
 
158
+ /**
159
+ * List raw engagement logs.
160
+ * @param params Filter by user_id, content_id, or is_paid
161
+ */
162
+ public static listViews<T>(params?: object): AxiosPromise<Response<T>> {
163
+ return Requests.processRoute(EducationRoute.routes.listViews, undefined, undefined, params);
164
+ }
165
+
158
166
  // --- 9. ACHIEVEMENTS (BADGES & CERTIFICATES) ---
159
167
  public static myBadges<T>(): AxiosPromise<Response<T>> {
160
168
  return Requests.processRoute(EducationRoute.routes.myBadges);