@lynx-seo/engine 3.3.1 → 3.3.2
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.
- package/README.md +63 -0
- package/dist/analytics/app-store-optimization-engine.d.ts +96 -0
- package/dist/analytics/behavioral-psychology-persuasion-engine.d.ts +48 -0
- package/dist/analytics/co-marketing-partner-scoring-engine.d.ts +58 -0
- package/dist/analytics/cold-email-outreach-engine.d.ts +58 -0
- package/dist/analytics/competitor-intelligence-radar-engine.d.ts +65 -0
- package/dist/analytics/customer-voice-research-voc-engine.d.ts +70 -0
- package/dist/analytics/directory-submissions-auditor-engine.d.ts +62 -0
- package/dist/analytics/earned-media-pr-pitch-engine.d.ts +56 -0
- package/dist/analytics/engineering-as-marketing-free-tool-engine.d.ts +67 -0
- package/dist/analytics/ethical-popup-overlay-engine.d.ts +59 -0
- package/dist/analytics/grand-slam-offer-engine.d.ts +68 -0
- package/dist/analytics/in-app-paywall-gate-engine.d.ts +69 -0
- package/dist/analytics/influencer-creator-campaign-engine.d.ts +67 -0
- package/dist/analytics/landing-page-hero-copy-engine.d.ts +49 -0
- package/dist/analytics/lead-capture-form-optimization-engine.d.ts +57 -0
- package/dist/analytics/lead-magnet-architecture-engine.d.ts +40 -0
- package/dist/analytics/product-hunt-launch-war-room-engine.d.ts +57 -0
- package/dist/analytics/recurring-marketing-loop-engine.d.ts +73 -0
- package/dist/analytics/revops-pipeline-scoring-engine.d.ts +58 -0
- package/dist/analytics/saas-pricing-packaging-engine.d.ts +55 -0
- package/dist/analytics/saas-value-metric-pricing-engine.d.ts +64 -0
- package/dist/analytics/server-side-tracking-capi-engine.d.ts +99 -0
- package/dist/analytics/signal-prospecting-qualification-engine.d.ts +54 -0
- package/dist/analytics/sms-marketing-compliance-engine.d.ts +62 -0
- package/dist/analytics/statistical-experiment-ab-testing-engine.d.ts +103 -0
- package/dist/analytics/subscription-churn-prevention-engine.d.ts +91 -0
- package/dist/analytics/user-onboarding-activation-engine.d.ts +68 -0
- package/dist/cro-landing-page-auditor.d.ts +3 -3
- package/dist/http-middleware.d.ts +121 -0
- package/dist/index.d.ts +39 -0
- package/dist/index.js +4706 -22
- package/dist/index.mjs +4706 -22
- package/dist/matrix-engine.d.ts +3 -0
- package/dist/mcp-seo-server.js +7 -1
- package/dist/plugins/two-factor-auth/index.d.ts +3 -2
- package/dist/sample-dataset.d.ts +15 -0
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/matrix-engine.d.ts
CHANGED
|
@@ -152,6 +152,8 @@ export interface GeneratedPageMeta {
|
|
|
152
152
|
matrixFamily: MatrixFamily;
|
|
153
153
|
urlPath: string;
|
|
154
154
|
canonicalUrl: string;
|
|
155
|
+
url?: string;
|
|
156
|
+
locale?: string;
|
|
155
157
|
title: string;
|
|
156
158
|
description: string;
|
|
157
159
|
h1: string;
|
|
@@ -444,6 +446,7 @@ export declare class PseoMatrixEngine {
|
|
|
444
446
|
calculators?: PseoCalculator[];
|
|
445
447
|
recipes?: PseoRecipe[];
|
|
446
448
|
}, options: MatrixOptions): GeneratedPageMeta | undefined;
|
|
449
|
+
private doResolvePage;
|
|
447
450
|
/**
|
|
448
451
|
* Generates a fully formatted XML Sitemap string.
|
|
449
452
|
*/
|
package/dist/mcp-seo-server.js
CHANGED
|
@@ -74856,7 +74856,10 @@ class ApiKeyGuardian {
|
|
|
74856
74856
|
maxDomains: 1,
|
|
74857
74857
|
monthlyCreditBudget: 500,
|
|
74858
74858
|
tokenManager: new TokenQuotaManager("starter"),
|
|
74859
|
-
errorMessage:
|
|
74859
|
+
errorMessage: `Missing API Key. LynxSeoEngine requires an active API key to resolve live pages, sync analytics and enforce quota.
|
|
74860
|
+
|
|
74861
|
+
` + `To obtain an API key, visit https://lynxseo.com
|
|
74862
|
+
` + "For offline algorithmic matrix generation without an API key, use PseoMatrixEngine directly."
|
|
74860
74863
|
};
|
|
74861
74864
|
}
|
|
74862
74865
|
const cleanKey = apiKey.trim();
|
|
@@ -87665,8 +87668,11 @@ ${opts.description}
|
|
|
87665
87668
|
|
|
87666
87669
|
${whatsAppWidget}`;
|
|
87667
87670
|
const cleanLlmMarkdown = LlmContentCleaner.cleanForLlm(rawMarkdown);
|
|
87671
|
+
const cleanPath = opts.path.startsWith("/") ? opts.path : `/${opts.path}`;
|
|
87668
87672
|
return {
|
|
87669
87673
|
url: opts.url,
|
|
87674
|
+
urlPath: cleanPath,
|
|
87675
|
+
canonicalUrl: opts.url,
|
|
87670
87676
|
title: opts.title,
|
|
87671
87677
|
description: opts.description,
|
|
87672
87678
|
h1: opts.h1,
|
|
@@ -31,7 +31,7 @@ export declare class TwoFactorAuthPlugin implements LynxSeoPlugin {
|
|
|
31
31
|
*/
|
|
32
32
|
generateSecret(userId: string): TOTPSecret;
|
|
33
33
|
/**
|
|
34
|
-
* Vérifie un code TOTP
|
|
34
|
+
* Vérifie un code TOTP RFC 6238.
|
|
35
35
|
*/
|
|
36
36
|
verifyTOTP(userId: string, token: string): boolean;
|
|
37
37
|
/**
|
|
@@ -53,7 +53,8 @@ export declare class TwoFactorAuthPlugin implements LynxSeoPlugin {
|
|
|
53
53
|
private recordAttempt;
|
|
54
54
|
private generateBase32Secret;
|
|
55
55
|
private generateBackupCode;
|
|
56
|
-
private
|
|
56
|
+
private verifyTotpCode;
|
|
57
|
+
private decodeBase32Secret;
|
|
57
58
|
disable(): Promise<void>;
|
|
58
59
|
}
|
|
59
60
|
export default TwoFactorAuthPlugin;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 📦 Ready-to-use Sample Datasets for Dev Exploration & Onboarding
|
|
3
|
+
*
|
|
4
|
+
* Developers can import this dataset to test matrix generation, schemas, and routing
|
|
5
|
+
* in 2 lines of code without needing an API key or setting up a database.
|
|
6
|
+
*/
|
|
7
|
+
import type { PseoService, PseoLocation } from "./matrix-engine";
|
|
8
|
+
export interface SamplePseoDataset {
|
|
9
|
+
services: PseoService[];
|
|
10
|
+
locations: PseoLocation[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Complete, ready-to-use dataset across Services and Locations for offline testing with PseoMatrixEngine.
|
|
14
|
+
*/
|
|
15
|
+
export declare const samplePseoDataset: SamplePseoDataset;
|
package/dist/types.d.ts
CHANGED