twitter-openapi-typescript
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -6,3 +6,3 @@ import * as i from 'twitter-openapi-typescript-generated'; | ||
tweetText: string; | ||
media_ids?: string[]; | ||
mediaIds?: string[]; | ||
extraParam?: { | ||
@@ -9,0 +9,0 @@ [key: string]: any; |
@@ -71,3 +71,3 @@ "use strict"; | ||
variables.media.mediaEntities = | ||
(_b = (_a = param.media_ids) === null || _a === void 0 ? void 0 : _a.map(function (mediaId) { return ({ | ||
(_b = (_a = param.mediaIds) === null || _a === void 0 ? void 0 : _a.map(function (mediaId) { return ({ | ||
mediaId: mediaId, | ||
@@ -74,0 +74,0 @@ taggedUsers: [], |
{ | ||
"name": "twitter-openapi-typescript", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "Implementation of Twitter internal API in TypeScript", | ||
@@ -28,15 +28,15 @@ "scripts": { | ||
"devDependencies": { | ||
"@types/jest": "any", | ||
"@types/node": "any", | ||
"@types/node-fetch": "any", | ||
"@typescript-eslint/eslint-plugin": "any", | ||
"@typescript-eslint/parser": "any", | ||
"@types/jest": "*", | ||
"@types/node": "*", | ||
"@types/node-fetch": "*", | ||
"@typescript-eslint/eslint-plugin": "*", | ||
"@typescript-eslint/parser": "*", | ||
"dotenv": "^16.3.0", | ||
"eslint": "^8.50.0", | ||
"eslint-config-standard-with-typescript": "any", | ||
"eslint-plugin-import": "any", | ||
"eslint-plugin-n": "any", | ||
"eslint-plugin-promise": "any", | ||
"eslint-config-standard-with-typescript": "*", | ||
"eslint-plugin-import": "*", | ||
"eslint-plugin-n": "*", | ||
"eslint-plugin-promise": "*", | ||
"jest": "^29.7.0", | ||
"ts-jest": "any", | ||
"ts-jest": "*", | ||
"log4js": "^6.9.0", | ||
@@ -43,0 +43,0 @@ "node-fetch": "^2.0.0", |
@@ -9,3 +9,3 @@ import * as i from 'twitter-openapi-typescript-generated'; | ||
tweetText: string; | ||
media_ids?: string[]; | ||
mediaIds?: string[]; | ||
extraParam?: { [key: string]: any }; | ||
@@ -58,3 +58,3 @@ }; | ||
variables.media.mediaEntities = | ||
param.media_ids?.map((mediaId) => ({ | ||
param.mediaIds?.map((mediaId) => ({ | ||
mediaId: mediaId, | ||
@@ -61,0 +61,0 @@ taggedUsers: [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
260738