glitch-javascript-sdk 2.1.7 → 2.1.8

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.
@@ -2,7 +2,7 @@ import Response from "../util/Response";
2
2
  import { AxiosProgressEvent, AxiosPromise } from "axios";
3
3
  export interface SteamCapsuleCropRequest {
4
4
  media_id: string;
5
- capsule_type: 'header' | 'small' | 'main' | 'vertical' | 'library' | 'library_header' | 'library_hero' | 'page_background';
5
+ capsule_type: 'header' | 'small' | 'main' | 'vertical' | 'library' | 'library_header' | 'library_hero' | 'page_background' | 'screenshot' | 'app_icon' | 'shortcut_icon';
6
6
  crop_x?: number;
7
7
  crop_y?: number;
8
8
  crop_width?: number;
package/dist/index.d.ts CHANGED
@@ -5179,7 +5179,7 @@ declare class PlayTests {
5179
5179
 
5180
5180
  interface SteamCapsuleCropRequest {
5181
5181
  media_id: string;
5182
- capsule_type: 'header' | 'small' | 'main' | 'vertical' | 'library' | 'library_header' | 'library_hero' | 'page_background';
5182
+ capsule_type: 'header' | 'small' | 'main' | 'vertical' | 'library' | 'library_header' | 'library_hero' | 'page_background' | 'screenshot' | 'app_icon' | 'shortcut_icon';
5183
5183
  crop_x?: number;
5184
5184
  crop_y?: number;
5185
5185
  crop_width?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
package/src/api/Media.ts CHANGED
@@ -5,7 +5,7 @@ import { AxiosProgressEvent, AxiosPromise } from "axios";
5
5
 
6
6
  export interface SteamCapsuleCropRequest {
7
7
  media_id: string;
8
- capsule_type: 'header' | 'small' | 'main' | 'vertical' | 'library' | 'library_header' | 'library_hero' | 'page_background';
8
+ capsule_type: 'header' | 'small' | 'main' | 'vertical' | 'library' | 'library_header' | 'library_hero' | 'page_background' | 'screenshot' | 'app_icon' | 'shortcut_icon';
9
9
  crop_x?: number;
10
10
  crop_y?: number;
11
11
  crop_width?: number;