ugcinc 2.20.0 → 2.21.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 +4 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -174,7 +174,9 @@ export interface GetPostsParams {
174
174
  export interface CreateSlideshowParams {
175
175
  accountId: string | null;
176
176
  caption?: string;
177
+ /** @deprecated Use socialAudioId instead */
177
178
  musicPostId?: string;
179
+ socialAudioId?: string;
178
180
  postTime?: string;
179
181
  imageUrls: string[];
180
182
  strict?: boolean;
@@ -193,7 +195,9 @@ export interface GetPostStatusParams {
193
195
  export interface CreateVideoParams {
194
196
  accountId: string | null;
195
197
  caption?: string;
198
+ /** @deprecated Use socialAudioId instead */
196
199
  musicPostId?: string;
200
+ socialAudioId?: string;
197
201
  postTime?: string;
198
202
  videoUrl: string;
199
203
  strict?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.20.0",
3
+ "version": "2.21.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",