diff --git a/package.json b/package.json index d7151fd..37585b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@linkedapi/node", - "version": "2.3.21", + "version": "2.3.22", "description": "Control your LinkedIn accounts and retrieve real-time data, all through this Node.js SDK.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index bd9c369..67e65d5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -941,7 +941,7 @@ class LinkedApi { * term: "software development", * filter: { * locations: ["San Francisco", "New York"], - * industries: ["Technology", "Software"], + * industries: ["Software Development", "IT Services and IT Consulting"], * sizes: ["51-200", "201-500"] * }, * limit: 25 @@ -1008,7 +1008,7 @@ class LinkedApi { * filter: { * locations: ["San Francisco Bay Area"], * currentCompanies: ["Google", "Facebook", "Apple"], - * industries: ["Technology"] + * industries: ["Software Development"] * }, * limit: 50 * }); @@ -1348,7 +1348,7 @@ class LinkedApi { * const workflow = await linkedapi.retrieveConnections.execute({ * filter: { * firstName: "John", - * industries: ["Technology", "Software"], + * industries: ["Software Development", "IT Services and IT Consulting"], * locations: ["San Francisco Bay Area"], * currentCompanies: ["Google", "Microsoft"] * }, diff --git a/src/types/actions/post.ts b/src/types/actions/post.ts index 868b60b..b53bb28 100644 --- a/src/types/actions/post.ts +++ b/src/types/actions/post.ts @@ -78,7 +78,7 @@ export type TPostReposter = TPostPersonReposter | TPostCompanyReposter; export interface TReaction { postUrl: string; time: string; - reactionType: TReactionType; + type: TReactionType; } export const REACTION_TYPE = {