@peam-ai/next 0.1.1 → 0.1.3

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,11 @@
1
+ /**
2
+ * Default POST handler using GPT-4o.
3
+ *
4
+ * @example
5
+ * ```typescript
6
+ * export { POST } from '@peam-ai/next/route';
7
+ * ```
8
+ */
9
+ declare const POST: (req: Request) => Promise<Response>;
10
+
11
+ export { POST };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Default POST handler using GPT-4o.
3
+ *
4
+ * @example
5
+ * ```typescript
6
+ * export { POST } from '@peam-ai/next/route';
7
+ * ```
8
+ */
9
+ declare const POST: (req: Request) => Promise<Response>;
10
+
11
+ export { POST };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@peam-ai/next",
3
3
  "description": "Peam Next.js integration",
4
- "version": "0.1.1",
4
+ "version": "0.1.3",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -27,6 +27,7 @@
27
27
  "require": "./dist/index.js"
28
28
  },
29
29
  "./route": {
30
+ "types": "./dist/route.d.ts",
30
31
  "import": "./dist/route.mjs",
31
32
  "require": "./dist/route.js"
32
33
  },
@@ -39,13 +40,13 @@
39
40
  "tsup": "^8.2.4",
40
41
  "typescript": "^5.5.4",
41
42
  "typescript-eslint": "^8.50.0",
42
- "next": ">=15.0.0"
43
+ "next": ">=14.0.0"
43
44
  },
44
45
  "dependencies": {
45
46
  "peam": "0.1.1"
46
47
  },
47
48
  "peerDependencies": {
48
- "next": ">=15.0.0"
49
+ "next": ">=14.0.0"
49
50
  },
50
51
  "scripts": {
51
52
  "build": "tsup",