Skip to content

Commit 9805777

Browse files
committed
Clarify JSR-only Connect install docs
1 parent 9ac2730 commit 9805777

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@ This demo focuses on inspecting a data-driver schema and invoking methods based
117117

118118
## Install
119119

120+
Published package:
121+
120122
```bash
121-
npm i @dusk/connect
123+
npx jsr add @dusk/connect
124+
# or, in Deno:
125+
deno add jsr:@dusk/connect
122126
```
123127

124-
JSR uses the same package name:
125-
126128
```ts
127129
import { createDuskWallet } from "@dusk/connect";
128130
```
@@ -544,7 +546,10 @@ Produces ESM + types in `dist/`.
544546

545547
## Publishing
546548

547-
The package is published as `@dusk/connect` on npm and JSR.
549+
The package is published as `@dusk/connect` on JSR.
550+
551+
npm publishing is intentionally separate; do not assume npm availability unless
552+
a later npm release under an appropriate npm scope is announced.
548553

549554
Before publishing v0.1:
550555

docs/RELEASE_CHECKLIST_v0.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ the owner docs instead of restating their full specifications.
3030

3131
## Release Hygiene
3232

33-
- [ ] Confirm package metadata is correct for `@dusk/connect@0.1.0` on npm and JSR.
33+
- [ ] Confirm package metadata is correct for `@dusk/connect@0.1.0` on JSR.
3434
- [ ] Published package contents and extension artifacts are validated from clean builds.
3535
- [ ] `npx jsr publish --dry-run` passes before manual JSR publish.
3636
- [ ] Dependency update and security advisory PRs are triaged before release tagging.

examples/systemconfig-demo/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ async function sendTx(fnName, args) {
525525
setBadge(ui.txBadge, "info", "submitting");
526526

527527
try {
528-
/** @type {import("\-network/connect").TxHandle} */
528+
/** @type {import("@dusk/connect").TxHandle} */
529529
const tx =
530530
args === undefined
531531
? await c.write[fnName](undefined, { amount: "0", deposit: "0" })

0 commit comments

Comments
 (0)