@stealthmark/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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -14,7 +14,7 @@ The manifest is StealthMark's own format. It is not an A2A Agent Card, an MCP se
14
14
  npm install @stealthmark/next @stealthmark/core
15
15
  ```
16
16
 
17
- Requires Node.js 20 or newer. The Next.js peer range is 15 or newer; the repository's own development dependency is Next.js 16.
17
+ Requires Node.js 20 or newer. The package is ESM; CommonJS projects can also `require()` it on Node.js 20.19+ or 22.12+. The Next.js peer range is 15 or newer; the repository's own development dependency is Next.js 16.
18
18
 
19
19
  ## Quick Start
20
20
 
@@ -99,7 +99,7 @@ export default withStealthMark(() => NextResponse.next(), {
99
99
  });
100
100
  ```
101
101
 
102
- What is sent, and where, is listed in the [repository README](https://github.com/Gastonchevarria/stealthmark-sdk#data-sent-to-stealthmark-cloud). The default host is https://stealthmark-api-cifepjj5ca-uc.a.run.app; override it with `usageEndpoint` or `STEALTHMARK_USAGE_ENDPOINT`. Identification is self-declared, and events are reported best-effort and can be dropped.
102
+ What is sent, and where, is listed under "Data sent to StealthMark Cloud" in the `@stealthmark/core` README (`node_modules/@stealthmark/core/README.md`). The default host is https://stealthmark-api-cifepjj5ca-uc.a.run.app; override it with `usageEndpoint` or `STEALTHMARK_USAGE_ENDPOINT`. Identification is self-declared, and events are reported best-effort and can be dropped.
103
103
 
104
104
  ### Several sites, one API key
105
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stealthmark/next",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Next.js middleware that detects self-identified AI agents, serves an agent manifest and meters agent traffic",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -11,7 +11,8 @@
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./dist/index.d.ts",
14
- "import": "./dist/index.js"
14
+ "import": "./dist/index.js",
15
+ "default": "./dist/index.js"
15
16
  }
16
17
  },
17
18
  "files": [
@@ -40,7 +41,7 @@
40
41
  "next": ">=15"
41
42
  },
42
43
  "dependencies": {
43
- "@stealthmark/core": "^0.1.0"
44
+ "@stealthmark/core": "^0.1.3"
44
45
  },
45
46
  "devDependencies": {
46
47
  "next": "^16.3.0",