From 387bbf0385bcfe20b400662688b1e34ad3a8d7b1 Mon Sep 17 00:00:00 2001 From: vprudnikoff Date: Sat, 3 Oct 2026 10:37:22 +0100 Subject: [PATCH] Name the Sales Navigator license in the plusPlanRequired hint Every nv.* action also needs a Sales Navigator subscription on the LinkedIn account; a hint that names only the Plus seat sends a customer without one to pay for Plus and still fail. Bumped to 1.2.17 so the merge publishes it. Mirrors the review fix on flutterwtf/LinkedAPI-Core#589. --- package-lock.json | 4 ++-- package.json | 2 +- src/core/errors/error-handler.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2475ed4..848665f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@linkedapi/linkedin-cli", - "version": "1.2.16", + "version": "1.2.17", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@linkedapi/linkedin-cli", - "version": "1.2.16", + "version": "1.2.17", "license": "MIT", "dependencies": { "@linkedapi/node": "^2.3.13", diff --git a/package.json b/package.json index b6a78fc..eb6ece7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@linkedapi/linkedin-cli", - "version": "1.2.16", + "version": "1.2.17", "description": "AI-agent-friendly CLI for controlling LinkedIn accounts and retrieving real-time data.", "author": "Linked API", "license": "MIT", diff --git a/src/core/errors/error-handler.ts b/src/core/errors/error-handler.ts index 740ce66..ed1f249 100644 --- a/src/core/errors/error-handler.ts +++ b/src/core/errors/error-handler.ts @@ -44,7 +44,7 @@ export function mapLinkedApiErrorToCliError(error: LinkedApiError): TCliError { exitCode: EXIT_CODE.SUBSCRIPTION, error: error.type, message: error.message, - hint: 'Sales Navigator actions need a Plus seat – switch your subscription to Plus at https://app.linkedapi.io/accounts (Manage Subscription → Billing & Invoices). Your LinkedIn account stays connected.', + hint: 'Sales Navigator actions need a Plus seat and a Sales Navigator subscription on the LinkedIn account – switch your subscription to Plus at https://app.linkedapi.io/accounts (Manage Subscription → Billing & Invoices). Your LinkedIn account stays connected.', }; case 'trialLimitReached':