Socket
Socket
Sign inDemoInstall

linkedin-private-api

Package Overview
Dependencies
23
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

3

dist/src/repositories/invitation.repository.d.ts

@@ -17,5 +17,6 @@ import { Client } from '../core/client';

}): InvitationScroller;
sendInvitation({ profileId, trackingId }: {
sendInvitation({ profileId, trackingId, message, }: {
profileId: string;
trackingId: string;
message?: string;
}): Promise<Invitation>;

@@ -22,0 +23,0 @@ private fetchReceived;

@@ -39,4 +39,4 @@ "use strict";

}
async sendInvitation({ profileId, trackingId }) {
await this.client.request.invitation.sendInvitation({ profileId, trackingId });
async sendInvitation({ profileId, trackingId, message, }) {
await this.client.request.invitation.sendInvitation({ profileId, trackingId, message });
const lastInvitation = (await this.fetchSent({ skip: 0, limit: 1 }))[0];

@@ -43,0 +43,0 @@ return lastInvitation;

@@ -9,5 +9,6 @@ import { LinkedInRequest } from '../core/linkedin-request';

});
sendInvitation({ profileId, trackingId }: {
sendInvitation({ profileId, trackingId, message }: {
profileId: string;
trackingId: string;
message?: string;
}): Promise<void>;

@@ -14,0 +15,0 @@ getReceivedInvitations({ skip, limit }?: {

@@ -8,3 +8,3 @@ "use strict";

}
sendInvitation({ profileId, trackingId }) {
sendInvitation({ profileId, trackingId, message }) {
const requestPayload = {

@@ -18,2 +18,3 @@ trackingId,

},
...(message && { message }),
};

@@ -20,0 +21,0 @@ return this.request.post('growth/normInvitations', requestPayload);

{
"name": "linkedin-private-api",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc