emusks 2.3.6 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emusks",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
4
4
  "description": "Reverse-engineered Twitter API client. Log in and interact with the unofficial X API using any client identity - web, Android, iOS, or TweetDeck",
5
5
  "keywords": [
6
6
  "client",
@@ -219,7 +219,7 @@ export async function create(source, opts = {}) {
219
219
  });
220
220
  }
221
221
 
222
- return { media_id: mediaId, ...finalizeData };
222
+ return { ...finalizeData, media_id: mediaId };
223
223
  }
224
224
 
225
225
  export async function createFromUrl(url, opts = {}) {
@@ -274,7 +274,7 @@ export async function createFromUrl(url, opts = {}) {
274
274
  });
275
275
  }
276
276
 
277
- return { media_id: mediaId, ...initData };
277
+ return { ...initData, media_id: mediaId };
278
278
  }
279
279
 
280
280
  export async function createMetadata(mediaId, altText, opts = {}) {