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
68 changes: 47 additions & 21 deletions bun.lock

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

6 changes: 6 additions & 0 deletions packages/adapters/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `@abacatepay/adapters` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.3] - 2026-07-27

### Fixed

- Declaration files (`.d.ts`) are now bundled into a single self-contained file per entrypoint (via `dts-bundle-generator`), same as the `.js` output already was. Any TypeScript consumer using `moduleResolution: "nodenext"`/`"node16"` would get `error TS2834: Relative import paths need explicit file extensions` from the unbundled `.d.ts` output the earlier `.js`-bundling fix never touched. `@abacatepay/zod` stays as a real `import` in the bundled declaration, not inlined.

## [2.0.2] - 2026-07-27

### Changed
Expand Down
5 changes: 3 additions & 2 deletions packages/adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/adapters",
"version": "2.0.2",
"version": "2.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand All @@ -19,6 +19,7 @@
"main": "./dist/index.js",
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"dts-bundle-generator": "^9.5.1",
"typescript": "^5.0.0"
},
"exports": {
Expand Down Expand Up @@ -54,7 +55,7 @@
"scripts": {
"test": "bun test",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/webhooks/index.ts --outdir dist --target node --external '@abacatepay/zod' --external '@abacatepay/zod/*' && bun run types",
"types": "bunx tsc --emitDeclarationOnly",
"types": "dts-bundle-generator -o dist/index.d.ts src/index.ts --disable-symlinks-following && dts-bundle-generator -o dist/webhooks/index.d.ts src/webhooks/index.ts --disable-symlinks-following",
"prepublishOnly": "bun run build"
},
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/adapters](https://www.npmjs.com/package/@abacatepay/adapters).
*/
export const version = '2.0.2' as const;
export const version = '2.0.3' as const;
6 changes: 6 additions & 0 deletions packages/better-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `@abacatepay/better-auth` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [1.0.3] - 2026-07-27

### Fixed

- `dist/index.d.ts`'s one internal reference (`export { version } from './version'`) now has an explicit `.js` extension. Any TypeScript consumer using `moduleResolution: "nodenext"`/`"node16"` would get `error TS2834: Relative import paths need explicit file extensions`.

## [1.0.2] - 2026-07-27

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/better-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/better-auth",
"version": "1.0.2",
"version": "1.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/better-auth/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { version } from './version';
export { version } from './version.js';
2 changes: 1 addition & 1 deletion packages/better-auth/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/better-auth](https://www.npmjs.com/package/@abacatepay/better-auth).
*/
export const version = '1.0.2' as const;
export const version = '1.0.3' as const;
6 changes: 6 additions & 0 deletions packages/elysia/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `@abacatepay/elysia` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.3] - 2026-07-27

### Fixed

- `dist/index.d.ts`'s one internal reference (`export { version } from './version'`) now has an explicit `.js` extension. Any TypeScript consumer using `moduleResolution: "nodenext"`/`"node16"` would get `error TS2834: Relative import paths need explicit file extensions`.

## [2.0.2] - 2026-07-27

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/elysia/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/elysia",
"version": "2.0.2",
"version": "2.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/elysia/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '@abacatepay/adapters/webhooks';
import { type Context, status } from 'elysia';

export { version } from './version';
export { version } from './version.js';

export type WebhooksHandler = (context: Context) => Promise<unknown>;

Expand Down
2 changes: 1 addition & 1 deletion packages/elysia/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/elysia](https://www.npmjs.com/package/@abacatepay/elysia).
*/
export const version = '2.0.2' as const;
export const version = '2.0.3' as const;
6 changes: 6 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `@abacatepay/eslint-plugin` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [0.1.5] - 2026-07-27

### Fixed

- `dist/index.d.ts`'s internal reference (`import noSecretKey from './rules/no-secret-key'`) now has an explicit `.js` extension. Any TypeScript consumer using `moduleResolution: "nodenext"`/`"node16"` would get `error TS2834: Relative import paths need explicit file extensions`.

## [0.1.4] - 2026-07-27

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/eslint-plugin",
"version": "0.1.4",
"version": "0.1.5",
"type": "module",
"main": "dist/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import noSecretKey from './rules/no-secret-key';
import noSecretKey from './rules/no-secret-key.js';

const plugin = {
rules: {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/eslint-plugin](https://www.npmjs.com/package/@abacatepay/eslint-plugin).
*/
export const version = '0.1.4' as const;
export const version = '0.1.5' as const;
6 changes: 6 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `@abacatepay/express` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.3] - 2026-07-27

### Fixed

- `dist/index.d.ts`'s one internal reference (`export { version } from './version'`) now has an explicit `.js` extension. Any TypeScript consumer using `moduleResolution: "nodenext"`/`"node16"` would get `error TS2834: Relative import paths need explicit file extensions`.

## [2.0.2] - 2026-07-27

### Changed
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": "@abacatepay/express",
"version": "2.0.2",
"version": "2.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/express/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const BAD_REQUEST_STATUS_CODE = 400;
const UNAUTHORIZED_STATUS_CODE = 401;
const NO_CONTENT_STATUS_CODE = 204;

export { version } from './version';
export { version } from './version.js';

export type WebhooksHandler = (
req: Request,
Expand Down
2 changes: 1 addition & 1 deletion packages/express/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/express](https://www.npmjs.com/package/@abacatepay/express).
*/
export const version = '2.0.2' as const;
export const version = '2.0.3' as const;
6 changes: 6 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `@abacatepay/fastify` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.3] - 2026-07-27

### Fixed

- `dist/index.d.ts`'s one internal reference (`export { version } from './version'`) now has an explicit `.js` extension. Any TypeScript consumer using `moduleResolution: "nodenext"`/`"node16"` would get `error TS2834: Relative import paths need explicit file extensions`.

## [2.0.2] - 2026-07-27

### Changed
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": "@abacatepay/fastify",
"version": "2.0.2",
"version": "2.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down
Loading
Loading