lane-sdk 0.1.12 → 0.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lane-sdk",
3
- "version": "0.1.12",
3
+ "version": "0.2.0",
4
4
  "description": "Add wallets and payments to your AI agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -1,36 +0,0 @@
1
- import express from 'express';
2
- import { SupabaseClient } from '@supabase/supabase-js';
3
-
4
- declare enum LogLevel {
5
- DEBUG = 0,
6
- INFO = 1,
7
- WARN = 2,
8
- ERROR = 3,
9
- FATAL = 4
10
- }
11
-
12
- interface AgentRouteDeps {
13
- db: SupabaseClient;
14
- logLevel?: keyof typeof LogLevel;
15
- }
16
- /**
17
- * Create all agent routes as an Express Router.
18
- *
19
- * Mounts:
20
- * - /health (public — service health check)
21
- * - /SKILL.md (public — MCP skill file)
22
- * - /agent/discovery/* (public)
23
- * - /agent/auth/* (public)
24
- * - /agent/onboarding/* (protected)
25
- * - /agent/* (protected — apiKeyAuth, rateLimit, hmacVerify, audit)
26
- * - /api/sdk/onboarding (public sessions)
27
- * - /api/sdk/* (deprecated legacy routes)
28
- */
29
- declare function createAllAgentRoutes({ db, logLevel }: AgentRouteDeps): express.Router;
30
- /**
31
- * Initialize all services in the container.
32
- * Call this once at startup before handling requests.
33
- */
34
- declare function initAgentServices({ db, logLevel }: AgentRouteDeps): Promise<void>;
35
-
36
- export { type AgentRouteDeps, createAllAgentRoutes, initAgentServices };
@@ -1,36 +0,0 @@
1
- import express from 'express';
2
- import { SupabaseClient } from '@supabase/supabase-js';
3
-
4
- declare enum LogLevel {
5
- DEBUG = 0,
6
- INFO = 1,
7
- WARN = 2,
8
- ERROR = 3,
9
- FATAL = 4
10
- }
11
-
12
- interface AgentRouteDeps {
13
- db: SupabaseClient;
14
- logLevel?: keyof typeof LogLevel;
15
- }
16
- /**
17
- * Create all agent routes as an Express Router.
18
- *
19
- * Mounts:
20
- * - /health (public — service health check)
21
- * - /SKILL.md (public — MCP skill file)
22
- * - /agent/discovery/* (public)
23
- * - /agent/auth/* (public)
24
- * - /agent/onboarding/* (protected)
25
- * - /agent/* (protected — apiKeyAuth, rateLimit, hmacVerify, audit)
26
- * - /api/sdk/onboarding (public sessions)
27
- * - /api/sdk/* (deprecated legacy routes)
28
- */
29
- declare function createAllAgentRoutes({ db, logLevel }: AgentRouteDeps): express.Router;
30
- /**
31
- * Initialize all services in the container.
32
- * Call this once at startup before handling requests.
33
- */
34
- declare function initAgentServices({ db, logLevel }: AgentRouteDeps): Promise<void>;
35
-
36
- export { type AgentRouteDeps, createAllAgentRoutes, initAgentServices };