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
5 changes: 0 additions & 5 deletions .changeset/core-jsonwebtoken-types.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/express-nodenext-declarations.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/express-request-types.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fastify-nodenext-declarations.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fastify-request-types.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nextjs-nodenext-declarations.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/seamless-service-token-env.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @seamless-auth/core

## 0.20.1

### Patch Changes

- 8ff942d: Depend on `@types/jsonwebtoken` at runtime instead of as a dev dependency. The published declarations import `JwtPayload` from `jsonwebtoken` (for example in `verifyCookieJwt`), so consumers without their own copy got `TS7016` under `skipLibCheck: false` and an `any` payload type otherwise.

## 0.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seamless-auth/core",
"version": "0.20.0",
"version": "0.20.1",
"description": "Framework-agnostic core authentication logic for SeamlessAuth",
"keywords": [
"authentication",
Expand Down
10 changes: 10 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @seamless-auth/express

## 0.20.1

### Patch Changes

- 8ff942d: Publish declarations that resolve under `moduleResolution: "NodeNext"` and `"Node16"`. Relative imports in the shipped `.d.ts` files now carry explicit `.js` extensions. Consumers on NodeNext previously could not resolve them, so the exported functions typed as `any` (hidden by `skipLibCheck`). Runtime output is unchanged.
- f0d50f7: Ship the `Express.Request` augmentation. `req.user` (set by `requireAuth`) and `req.cookiePayload` (set by `createEnsureCookiesMiddleware`) now typecheck in a consumer that imports the package, without declaring the augmentation itself. It previously lived in an ambient `.d.ts` that tsc never copied into `dist`.
- dd5c0e5: The README examples read the service secret from `SEAMLESS_SERVICE_TOKEN` instead of `SERVICE_SECRET`. The auth server still reads `API_SERVICE_TOKEN`; both hold the same value. The adapters read no environment variables, so nothing changes at runtime.
- Updated dependencies [8ff942d]
- @seamless-auth/core@0.20.1

## 0.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seamless-auth/express",
"version": "0.20.0",
"version": "0.20.1",
"description": "Express adapter for Seamless Auth passwordless authentication",
"keywords": [
"authentication",
Expand Down
10 changes: 10 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @seamless-auth/fastify

## 0.11.2

### Patch Changes

- 8ff942d: Publish declarations that resolve under `moduleResolution: "NodeNext"` and `"Node16"`. Relative imports in the shipped `.d.ts` files now carry explicit `.js` extensions. Consumers on NodeNext previously could not resolve them, so the exported functions typed as `any` (hidden by `skipLibCheck`). Runtime output is unchanged.
- f0d50f7: Load the `FastifyRequest` augmentation (`request.user`, `request.cookiePayload`) from the package entry through an import that resolves under `moduleResolution: "NodeNext"`. Consumers on NodeNext previously lost it because the entry reached it only through an extensionless relative import.
- dd5c0e5: The README examples read the service secret from `SEAMLESS_SERVICE_TOKEN` instead of `SERVICE_SECRET`. The auth server still reads `API_SERVICE_TOKEN`; both hold the same value. The adapters read no environment variables, so nothing changes at runtime.
- Updated dependencies [8ff942d]
- @seamless-auth/core@0.20.1

## 0.11.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seamless-auth/fastify",
"version": "0.11.1",
"version": "0.11.2",
"description": "Fastify adapter for Seamless Auth passwordless authentication",
"keywords": [
"authentication",
Expand Down
9 changes: 9 additions & 0 deletions packages/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @seamless-auth/nextjs

## 0.4.1

### Patch Changes

- 8ff942d: Publish declarations that resolve under `moduleResolution: "NodeNext"` and `"Node16"`. Relative imports in the shipped `.d.ts` files now carry explicit `.js` extensions. Consumers on NodeNext previously could not resolve them, so the exported functions typed as `any` (hidden by `skipLibCheck`). Runtime output is unchanged.
- dd5c0e5: The README examples read the service secret from `SEAMLESS_SERVICE_TOKEN` instead of `SERVICE_SECRET`. The auth server still reads `API_SERVICE_TOKEN`; both hold the same value. The adapters read no environment variables, so nothing changes at runtime.
- Updated dependencies [8ff942d]
- @seamless-auth/core@0.20.1

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seamless-auth/nextjs",
"version": "0.4.0",
"version": "0.4.1",
"description": "Next.js App Router adapter for Seamless Auth passwordless authentication",
"keywords": [
"authentication",
Expand Down