lane-sdk 0.2.0 → 0.2.1

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.
@@ -0,0 +1,10 @@
1
+ import type { Router } from 'express';
2
+ import type { SupabaseClient } from '@supabase/supabase-js';
3
+
4
+ export interface AgentRouteDeps {
5
+ db: SupabaseClient;
6
+ logLevel?: 'DEBUG' | 'INFO' | 'WARN' | 'ERROR' | 'FATAL';
7
+ }
8
+
9
+ export declare function createAllAgentRoutes(deps: AgentRouteDeps): Router;
10
+ export declare function initAgentServices(deps: AgentRouteDeps): Promise<void>;
@@ -0,0 +1,10 @@
1
+ import type { Router } from 'express';
2
+ import type { SupabaseClient } from '@supabase/supabase-js';
3
+
4
+ export interface AgentRouteDeps {
5
+ db: SupabaseClient;
6
+ logLevel?: 'DEBUG' | 'INFO' | 'WARN' | 'ERROR' | 'FATAL';
7
+ }
8
+
9
+ export declare function createAllAgentRoutes(deps: AgentRouteDeps): Router;
10
+ export declare function initAgentServices(deps: AgentRouteDeps): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lane-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Add wallets and payments to your AI agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -61,7 +61,7 @@
61
61
  "SKILL.md"
62
62
  ],
63
63
  "scripts": {
64
- "build": "cp SKILL.md public/SKILL.md && tsup",
64
+ "build": "cp SKILL.md public/SKILL.md && tsup && cp server/routes/export.d.ts dist/server/routes/export.d.ts && cp server/routes/export.d.ts dist/server/routes/export.d.cts",
65
65
  "dev": "tsup --watch",
66
66
  "test": "vitest run",
67
67
  "test:watch": "vitest",