Skip to content

docs(sdk): add a package README so the npm page has documentation - #23

Merged
Oyinkans0la12 merged 2 commits into
mainfrom
docs/sdk-readme
Oct 10, 2026
Merged

Oyinkans0la12 merged 2 commits into
mainfrom
docs/sdk-readme

Conversation

@Oyinkans0la12

Copy link
Copy Markdown
Collaborator

The published package shipped no README, so npm renders
ERROR: No README data found! on its page. The package directory had none because
the repository README covers the CLI as well.

What the README covers

Only the surface the package actually publishes: the install command, the three
design rules (never signs, bigint end to end, nothing defaulted about the
network), the client options table, the reads and unsigned transaction builders,
the exported helpers, and the frozen Merkle format.

Links are absolute rather than relative: only dist/ ships in the tarball, so a
relative link would break on npm.

Verification

  • npm pack -w @splitstream/sdk --dry-run — the tarball is now 34 files, up from
    33, and includes README.md
  • Every API identifier cited in the README was checked against the published
    0.1.0: 54 distinct identifiers, all present as exports, client prototype
    methods, or SplitStreamError instance properties. VestingInfo is a type
    export, so it has no runtime value by design.
  • The client options table matches SplitStreamClientOptions in src/client.ts
    field for field
  • All six external links fetched — HTTP 200

Not in this PR

Bumping the version and republishing. The live 0.1.0 will keep showing the missing
README until a release is cut, and npm requires a new version to update it.

Oyinkans0la12 and others added 2 commits October 10, 2026 01:31
The published package carried no README, so npm renders "No README data
found!" on its page. The package directory had none because the
repository README covers the CLI as well.

The new file documents only the surface the package actually publishes:
the client, its reads and unsigned transaction builders, the helpers, and
the frozen Merkle format. Links are absolute because only dist/ ships, so
relative links would break on npm.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
npm serves a package's README from the published tarball, so the page
keeps showing "No README data found!" until a new version ships. A patch
bump is enough: documentation only, no runtime change.

The lockfile's workspace entry is bumped with it, otherwise npm ci
disagrees with package.json.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Oyinkans0la12
Oyinkans0la12 merged commit 193f06d into main Oct 10, 2026
1 check passed
@Oyinkans0la12
Oyinkans0la12 deleted the docs/sdk-readme branch October 10, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant