Skip to content

Commit 757f91b

Browse files
package metadata: add repository/homepage/bugs to npm + PyPI (#182)
npm OIDC publish includes a provenance attestation that embeds the source repo URL and cross-checks it against package.json's repository.url. browser-use-node/package.json was missing the field, so v3.8.2 npm publish hit: E422 - Error verifying sigstore provenance bundle: package.json: "repository.url" is "", expected to match "https://github.com/browser-use/sdk" from provenance Adds the standard repository/homepage/bugs fields. Mirrored on pyproject.toml for parity (PyPI provenance doesn't enforce this today but the metadata is useful regardless).
1 parent abe4f60 commit 757f91b

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

browser-use-node/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
"name": "browser-use-sdk",
33
"version": "3.8.2",
44
"description": "Official TypeScript SDK for the Browser Use API",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/browser-use/sdk.git"
8+
},
9+
"homepage": "https://github.com/browser-use/sdk",
10+
"bugs": {
11+
"url": "https://github.com/browser-use/sdk/issues"
12+
},
513
"author": "Browser Use",
614
"license": "MIT",
715
"type": "module",

browser-use-python/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ license = "MIT"
1111
requires-python = ">=3.9"
1212
dependencies = ["httpx>=0.24", "pydantic>=2.0"]
1313

14+
[project.urls]
15+
Homepage = "https://github.com/browser-use/sdk"
16+
Repository = "https://github.com/browser-use/sdk"
17+
Issues = "https://github.com/browser-use/sdk/issues"
18+
1419
[project.optional-dependencies]
1520
dev = ["pytest>=7", "pyright>=1.1"]
1621
examples = ["python-dotenv>=1.0"]

0 commit comments

Comments
 (0)