linkedin-secret-sauce 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,9 +117,9 @@ async function getProfileByUrn(fsdKey) {
117
117
  if (!keyMatch) {
118
118
  throw new errors_1.LinkedInClientError('Invalid URN or key', errors_1.ERROR_CODES.INVALID_INPUT, 400);
119
119
  }
120
- const cacheKey = keyMatch.toLowerCase();
120
+ const cacheKey = keyMatch; // Preserve case for FSD keys (case-sensitive)
121
121
  try {
122
- (0, logger_1.log)('info', 'api.start', { operation: 'getProfileByUrn', selector: cacheKey });
122
+ (0, logger_1.log)('info', 'api.start', { operation: 'getProfileByUrn', selector: keyMatch });
123
123
  }
124
124
  catch { }
125
125
  const cachedUrn = getCached(profileCacheByUrn, cacheKey, cfg.profileCacheTtl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkedin-secret-sauce",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "Private LinkedIn Sales Navigator client with automatic cookie management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",