Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shiqiyue-linkedin-private-api

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shiqiyue-linkedin-private-api - npm Package Compare versions

Comparing version 1.1.17 to 1.1.18

22

dist/src/core/decorationIds.js

@@ -14,10 +14,20 @@ "use strict";

async function remoteDecorationIds(agent) {
const url = "https://raw.githubusercontent.com/shiqiyue/linkedin-private-api/master/src/core/latest_decorationId.json";
const response = await axios_1.default.get(url, {
httpsAgent: agent,
httpAgent: agent
});
return response.data;
let url = "https://raw.githubusercontent.com/shiqiyue/linkedin-private-api/master/src/core/latest_decorationId.json";
try {
const response = await axios_1.default.get(url, {
httpsAgent: agent,
httpAgent: agent
});
return response.data;
}
catch (e) {
url = "https://ghproxy.com" + url;
const response = await axios_1.default.get(url, {
httpsAgent: agent,
httpAgent: agent
});
return response.data;
}
}
exports.remoteDecorationIds = remoteDecorationIds;
//# sourceMappingURL=decorationIds.js.map
{
"name": "shiqiyue-linkedin-private-api",
"version": "1.1.17",
"version": "1.1.18",
"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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc