ugcinc 2.27.0 → 2.28.0

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -651,6 +651,7 @@ export interface UserMedia {
651
651
  tag: string | null;
652
652
  type: 'video' | 'image' | 'audio' | null;
653
653
  url: string;
654
+ preview_url: string | null;
654
655
  created_at: string;
655
656
  media_type: 'user_media';
656
657
  }
@@ -711,6 +712,7 @@ export interface CreateSocialAudioParams {
711
712
  export interface CreateMediaFromUrlParams {
712
713
  urls: string[];
713
714
  names?: string[];
715
+ previewUrls?: string[];
714
716
  tag?: string;
715
717
  }
716
718
  export interface GetUploadTokenParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",