@stealthmark/next 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +2 -16
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -8,27 +8,13 @@ By default (`agentPolicy: 'observe'`) your page content is unchanged; `withSteal
8
8
 
9
9
  The manifest is StealthMark's own format. It is not an A2A Agent Card, an MCP server manifest or an adopted standard.
10
10
 
11
- > **Status:** v0.1.0, not published to npm yet. The `npm install` and `npx` commands below will work once it is published; until then build from source as described in the [repository README](https://github.com/Gastonchevarria/stealthmark-sdk#status).
12
-
13
- ## Installation from source
14
-
15
- Until the first npm release, build the repository and install the tarballs (`@stealthmark/next` depends on `@stealthmark/core`):
16
-
17
- ```bash
18
- # in a clone of the repository
19
- npm install && npm run build
20
- npm pack -w @stealthmark/core -w @stealthmark/next
21
- # in your project
22
- npm install /path/to/stealthmark-core-0.1.0.tgz /path/to/stealthmark-next-0.1.0.tgz
23
- ```
24
-
25
- ## Installation (after the first npm release)
11
+ ## Installation
26
12
 
27
13
  ```bash
28
14
  npm install @stealthmark/next @stealthmark/core
29
15
  ```
30
16
 
31
- 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.
32
18
 
33
19
  ## Quick Start
34
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stealthmark/next",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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": [