Skip to content

Release 0.1.0-alpha.1 - #7

Merged
lightchainaidev merged 1 commit into
mainfrom
release/0.1.0-alpha.1
Oct 11, 2026
Merged

lightchainaidev merged 1 commit into
mainfrom
release/0.1.0-alpha.1

Conversation

@lightchainaidev

Copy link
Copy Markdown
Contributor

Version bump only: package.json and package-lock.json go from 0.1.0-alpha.0 to 0.1.0-alpha.1.

Why

npm still serves 0.1.0-alpha.0, published before the per-call rename. The README and the docs site show payment: "per-call", which that version does not accept.

What a user of 0.1.0-alpha.0 has to change

  • payment: "x402" is now payment: "per-call" (experimental). The old value is refused.
  • The keyless option is gone. In per-call mode, leaving out apiKey sends the call with no key.
  • Per-call mode never deposits by itself: fund the balance with lc.deposit(value).

The default mode (payment: "delegate", an API key, optional wallet top-up on a 402) is unchanged.

Checked on this branch

  • npm run typecheck: clean.
  • npm test: 63 passed, 0 failed.
  • npm run build and npm pack --dry-run: @lightchainai/sdk@0.1.0-alpha.1, 11 files, 13.6 kB.

After merging

npm publish --access public
npm dist-tag add @lightchainai/sdk@0.1.0-alpha.1 alpha
git tag v0.1.0-alpha.1 && git push origin v0.1.0-alpha.1

The first command moves latest; the second keeps alpha pointing at the same version, as it does today.

The published 0.1.0-alpha.0 predates the rename of the x402 mode to per-call, so the README and docs describe an option the published package refuses. This version carries everything on main since then.
@lightchainaidev
lightchainaidev merged commit f3b5410 into main Oct 11, 2026
1 check passed
@lightchainaidev
lightchainaidev deleted the release/0.1.0-alpha.1 branch October 11, 2026 05:49
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