@nimbus-dev/client 0.4.0 → 0.5.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/LICENSE +21 -0
- package/README.md +7 -8
- package/dist/index.cjs +1 -1
- package/package.json +6 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nimbus Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -40,14 +40,13 @@ const proof = await client.egressProveWindow({ since: Date.now() - 3_600_000 });
|
|
|
40
40
|
|
|
41
41
|
## Publishing (maintainers)
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
```
|
|
43
|
+
Releases are automated by [release-please](https://github.com/googleapis/release-please).
|
|
44
|
+
Merged [Conventional Commits](https://www.conventionalcommits.org/) on `main` open a
|
|
45
|
+
release PR; merging it tags the release and triggers `.github/workflows/release.yml`,
|
|
46
|
+
which publishes `@nimbus-dev/client` to npm with `npm publish --provenance` via GitHub
|
|
47
|
+
Actions OIDC / npm **trusted-publisher**. There is **no long-lived npm token** — the
|
|
48
|
+
trusted-publisher binding authenticates the workflow and attaches a verifiable provenance
|
|
49
|
+
attestation (see [`SECURITY.md`](./SECURITY.md)).
|
|
51
50
|
|
|
52
51
|
## See also
|
|
53
52
|
|
package/dist/index.cjs
CHANGED
|
@@ -182,7 +182,7 @@ var import_node_crypto = require("node:crypto");
|
|
|
182
182
|
var import_node_net = __toESM(require("node:net"));
|
|
183
183
|
var import_node_os2 = require("node:os");
|
|
184
184
|
|
|
185
|
-
//
|
|
185
|
+
// node_modules/@nimbus-dev/sdk/src/ipc/ndjson-line-reader.ts
|
|
186
186
|
var IPC_MAX_LINE_BYTES = 1024 * 1024;
|
|
187
187
|
function byteLengthUtf8(s) {
|
|
188
188
|
return new TextEncoder().encode(s).length;
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-dev/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/nimbus-agent/
|
|
9
|
-
"directory": "packages/client"
|
|
8
|
+
"url": "git+https://github.com/nimbus-agent/nimbus-client.git"
|
|
10
9
|
},
|
|
11
10
|
"type": "module",
|
|
12
11
|
"main": "./dist/index.js",
|
|
@@ -32,12 +31,15 @@
|
|
|
32
31
|
"typecheck": "tsc --noEmit",
|
|
33
32
|
"lint": "biome check src/",
|
|
34
33
|
"test": "bun test",
|
|
34
|
+
"test:coverage": "bun test --coverage --coverage-reporter=lcov",
|
|
35
|
+
"verify:sdk": "bun run scripts/verify-against-local-sdk.ts",
|
|
35
36
|
"prepublishOnly": "bun run build && bun run typecheck && bun test"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@nimbus-dev/sdk": "^1.
|
|
39
|
+
"@nimbus-dev/sdk": "^1.3.0"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
42
|
+
"@biomejs/biome": "^2.5.1",
|
|
41
43
|
"@types/bun": "^1.3.14",
|
|
42
44
|
"tsx": "^4.22.3",
|
|
43
45
|
"typescript": "^6.0.3"
|