glitch-javascript-sdk 3.5.1 → 3.5.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
@@ -6293,6 +6293,13 @@ declare class GameShows {
6293
6293
  * Join or update a public notification signup for a game show.
6294
6294
  */
6295
6295
  static joinWishlist<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
6296
+ /**
6297
+ * Confirm the double-opt-in token from a festival reminder email.
6298
+ * The response contains confirmation state and festival identity only.
6299
+ *
6300
+ * @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
6301
+ */
6302
+ static confirmWishlist<T>(token: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
6296
6303
  /**
6297
6304
  * List notification signups for a game show. Requires organizer permissions.
6298
6305
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -326,6 +326,16 @@ class GameShows {
326
326
  return Requests.processRoute(GameShowsRoute.routes.joinWishlist, data, { show_id: show_id }, params);
327
327
  }
328
328
 
329
+ /**
330
+ * Confirm the double-opt-in token from a festival reminder email.
331
+ * The response contains confirmation state and festival identity only.
332
+ *
333
+ * @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
334
+ */
335
+ public static confirmWishlist<T>(token: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
336
+ return Requests.processRoute(GameShowsRoute.routes.confirmWishlist, {}, { token }, params);
337
+ }
338
+
329
339
  /**
330
340
  * List notification signups for a game show. Requires organizer permissions.
331
341
  */
@@ -50,6 +50,7 @@ class GameShowsRoute {
50
50
  trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
51
51
  analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
52
52
  joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
53
+ confirmWishlist: { url: '/gameshows/wishlist/confirm/{token}', method: HTTP_METHODS.GET },
53
54
  listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
54
55
  listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
55
56
  // Organizer sponsor lifecycle and placement administration.