Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/release.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

permissions:
contents: write
id-token: write # npm provenance
id-token: write # npm trusted publishing (OIDC) and provenance

jobs:
publish:
Expand All @@ -15,7 +15,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
# npm trusted publishing needs npm 11.5.1+, which ships with Node 24.
node-version: 24
registry-url: https://registry.npmjs.org
cache: npm
- run: npm ci
Expand All @@ -27,9 +28,9 @@ jobs:
- run: npm run typecheck
- run: npm run build
- run: npm test
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Trusted publishing: npm exchanges the workflow's OIDC token, no NPM_TOKEN secret.
# Configured on npmjs.com for leadsets/sdk, workflow publish.yml.
- run: npm publish --access public
- name: GitHub release
env:
GH_TOKEN: ${{ github.token }}
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this package are documented here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
[Semantic Versioning](https://semver.org/).

## [0.2.1] - 2026-11-22

### Changed

- Published from GitHub Actions with npm trusted publishing (OIDC) and provenance, without a
long-lived npm token. No changes to the package itself.

## [0.2.0] - 2026-11-19

### Added
Expand Down Expand Up @@ -40,6 +47,7 @@ All notable changes to this package are documented here. The format follows
- Parsed rate-limit headers on `lastResponse.rateLimit`.
- ESM and CommonJS builds with type declarations; no runtime dependencies.

[0.2.1]: https://github.com/leadsets/sdk/releases/tag/v0.2.1
[0.2.0]: https://github.com/leadsets/sdk/releases/tag/v0.2.0
[0.1.1]: https://github.com/leadsets/sdk/releases/tag/v0.1.1
[0.1.0]: https://github.com/leadsets/sdk/releases/tag/v0.1.0
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leadsetsai/sdk",
"version": "0.2.0",
"version": "0.2.1",
"description": "Official TypeScript and JavaScript SDK for the Leadsets B2B data API: people and company search, enrichment, email verification and web scraping.",
"license": "MIT",
"author": "Leadsets",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.2.0'
export const VERSION = '0.2.1'
Loading