Skip to content

Read the reaction type Core sends; real industry labels in examples (2.3.22) - #13

Merged
vprudnikoff merged 1 commit into
mainfrom
fix/sdk-fixes-2026-11
Nov 4, 2026
Merged

vprudnikoff merged 1 commit into
mainfrom
fix/sdk-fixes-2026-11

Conversation

@vprudnikoff

Copy link
Copy Markdown
Member
  • TReaction.reactionType → type. Core returns a person's reactions as { postUrl, time, type } (IStReaction), so the declared reactionType was always undefined at runtime.
  • The JSDoc examples for searchCompanies, searchPeople and retrieveConnections used "Technology" / "Software", which are not LinkedIn industry labels. Core types the value into LinkedIn's typeahead, so a copied example silently got the first suggestion. They now use "Software Development" and "IT Services and IT Consulting".
  • Version 2.3.22.

Checks: lint, build, jest 82/82.

Core returns a person's reactions with the field `type`, but TReaction
declared `reactionType`, so typed consumers always read undefined.

The JSDoc examples for searchCompanies, searchPeople and
retrieveConnections used "Technology" and "Software", which are not
LinkedIn industry labels; Core types the value into LinkedIn's
typeahead, so a copied example silently got the first suggestion.
@vprudnikoff
vprudnikoff merged commit 735103f into main Nov 4, 2026
2 checks passed
@vprudnikoff
vprudnikoff deleted the fix/sdk-fixes-2026-11 branch November 4, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant