Commit Graph

50 Commits (3c1ecb0ce9ad6a3d3e1290a71e4a636a1d4acf29)

Author SHA1 Message Date
github-actions[bot] 52a1d46cd2
Version Packages (#1172)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-17 11:20:38 +09:00
Danial Hanif 7585969171
fix(auth-js): use HonoRequest.blob() instead of HonoRequest.raw.body() (#1170)
* fix(auth-js): use HonoRequest.blob() instead of HonoRequest.raw.body()

* lint fix and format fix

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-05-17 11:17:28 +09:00
Yusuke Wada b9fa57530a
chore: format codes (#1142) 2025-04-27 19:28:24 +09:00
Jonathan Haines 1fd8ebf9b6
feat(eslint-config): enable linting with type information (#1098) 2025-04-07 19:31:09 +09:00
Jonathan Haines e8512f0ee9
build: typescript project references (#1077)
* build: typescript project references

* chore: remove duplicate keys
2025-04-02 18:28:02 +09:00
Jonathan Haines b18f24379b
chore(dev-deps): upgrade to hono v4 (#1092)
* chore(dev-deps): upgrade to hono v4

* chore(zod-openapi): build workspace dependencies

* chore(trpc-server): ignore null body type
2025-03-31 18:20:57 +09:00
Jonathan Haines 4f9bb1dd8e
test: move tests to src directory (#1075)
* test(react-renderer): move tests to src directory

* test: move tests to src directory

* test: ensure vitest-pool-workers is installed at the root
2025-03-28 18:50:19 +09:00
Yusuke Wada 738f1da5db
chore: update the lockfile (#1071) 2025-03-27 11:02:11 +09:00
Jonathan Haines 3b9d2d2990
build(auth-js): lint published package (#1034)
* build(auth-js): lint published package

* ci(auth-js): run publint

* build(auth-js): remove no splitting flag
2025-03-25 08:57:15 +09:00
Jonathan Haines 783a082c12
chore: add coverage badges (#1023)
* chore: add coverage badges

* ci(casbin): fix spelling
2025-03-19 17:53:11 +09:00
Jonathan Haines 4d67af162f
test(workspace): upgrade to vitest v3 (#1009)
* test(workspace): upgrade to vitest v3

Fixes #1007

* chore(standard-validator): add vitest type to `tsconfig.json`

* chore: update `yarn.lock`

* chore(zod-openapi): bump `typescript`

* chore(typia-validator): make it ESM

* ci(bun-transpiler): fix Bun to v1.1.32

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-12 12:52:15 +09:00
Jonathan Haines 21c6b5b3f9
test(auth-js): use node 20.x in CI (#1008) 2025-03-07 08:51:16 +09:00
Jonathan Haines 5ea7fb5d09
chore: Migrate workspaces that use `jest` to `vitest` (#998)
* docs(contributing): add section on testing

Fixes #994

* test(clerk-auth): replace jest with vitest

* test(graphql-server): replace jest with vitest

* test(medley-router): replace jest with vitest

* test(oauth-providers): replace jest with vitest

* test(oidc-auth): replace jest with vitest

* test(sentry): replace jest with vitest

* test(trpc-server): replace jest with vitest

* test(typebox-validator): replace jest with vitest

* test(typia-validator): replace jest with vitest

* test(valibot-validator): replace jest with vitest

* chore: cleanup remaining references to jest

* chore: fix lint errors

* test(typia-validator): fix exclude directory

* test(oauth-providers): use vitest environment miniflare

* chore: update `yarn.lock`

* chore(zod-openapi): pin zod-validator to 0.4.2

* test(graphql-server): remove console filtering

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-04 22:00:28 +09:00
Yusuke Wada 7a401b0850
chore: use the latest eslint and `@hono/eslint-config` (#904)
* chore: use the latest eslint and `@hono/eslint-config`

* update codes
2024-12-25 18:08:43 +09:00
github-actions[bot] 28ca0f3284
Version Packages (#815) 2024-11-08 04:55:22 +09:00
Divyam b1c812e50c
fix(auth-js): add react 19 in peer dependencies (#813)
* fix(auth-js): add react 19 in peer dependencies

* update
2024-11-08 04:48:15 +09:00
github-actions[bot] c6bbcb8f9d
Version Packages (#809) 2024-11-06 15:28:07 +09:00
Jee 9a2cf452c7
fix(auth-js): fix cloned request causing request body to be unavailable in middleware (#806) 2024-11-06 14:37:59 +09:00
github-actions[bot] ee5d7e0e74
Version Packages (#791) 2024-10-24 18:43:58 +09:00
Divyam ed31c680f7
fix(auth.js): clone request directly for bun (#790)
* fix(auth.js): clone request directly for bun

* added popup login hook

* update README.md
2024-10-24 18:41:16 +09:00
github-actions[bot] 2d1a89df26
Version Packages (#786) 2024-10-21 07:26:47 +09:00
Divyam c19b51baaf
refactor(auth-js): session provider (#775)
* refactor: session provider

* format
2024-10-21 07:23:51 +09:00
github-actions[bot] 72c4bf652b
Version Packages (#770) 2024-10-07 21:41:06 +09:00
Maksim 3d78fa470d
fix(auth-js): remove config.basePath (#752)
* remove config.basePath

* ⬆️ (auth-js): update @auth/core dependency from version ^0.30.0 to ^0.35.3 for latest features and bug fixes
 (index.test.ts): add basePath to config for consistency in authentication tests
♻️ (index.test.ts): correct code style inconsistencies for better readability and maintainability

* update yarn.lock
2024-10-05 12:40:14 +09:00
github-actions[bot] f61e748dd2
Version Packages (#616) 2024-07-04 14:10:52 +09:00
divyam234 19f3beae1a
fix(auth-js): Fix immutable headers error in x-forwarded request (#614)
* fix: immutable headers error in x-forwarded req

* added changeset
2024-07-04 14:07:21 +09:00
github-actions[bot] d87a699bbd
Version Packages (#602) 2024-07-01 10:07:10 +09:00
divyam234 eb7e597aaa
fix(auth-js): bun req cloning (#598) 2024-07-01 09:57:02 +09:00
github-actions[bot] 63898bbdab
Version Packages (#551) 2024-05-29 01:36:05 +09:00
divyam234 d5ebee9c70
fix(auth-js): handle x-forwarded headers to detect auth url (#549)
* fix: handle  x-forwarded headers to detect auth url

* added changeset
2024-05-29 01:18:18 +09:00
Julio Montoya 2ba0639f95
Update README.md (#511)
* Update README.md

* Update README.md
2024-05-11 18:29:04 +09:00
github-actions[bot] f16dfacb7e
Version Packages (#498) 2024-05-04 12:15:21 +09:00
divyam234 300ef2f8bf
fix(auth-js): react package work with ssr (#494) 2024-05-04 11:42:10 +09:00
github-actions[bot] 4194ac691a
Version Packages (#487) 2024-04-30 17:27:29 +09:00
Yusuke Wada 18959557f4
fix(auth-js): use `env` in `hono/adapter` and add tests (#486)
* fix(auth-js): use `env` in `hono/adapter` and add tests

* add changeset

* polyfill crypto
2024-04-30 17:25:05 +09:00
github-actions[bot] 173fed200a
Version Packages (#485) 2024-04-29 13:54:29 +09:00
DIYgod b8fb9a06c1
fix(auth-js): AUTH_URL not working in getAuthUser (#481)
* fix(auth-js): AUTH_URL not working in getAuthUser

* chore(auth-js): add changeset
2024-04-29 13:49:15 +09:00
github-actions[bot] 9e60a47df4
Version Packages (#479) 2024-04-26 11:09:48 +09:00
DIYgod 5004ca9c5b
fix(auth-js): env AUTH_URL not working (#478)
* fix(auth-js): env AUTH_URL not working

* test(auth-js): add reqWithEnvUrl test case

* chore: add changeset
2024-04-26 10:57:56 +09:00
github-actions[bot] 599e5f5058
Version Packages (#382) 2024-02-10 08:47:06 +09:00
Carlos Ricardo Ziegler ea19f6bdeb
fix: change peer dependency to support v4.0.0 (#380)
* chore: Update hono peer dependency to support v4.0.0

* chore: Update hono peer dependency to support v4.0.0 in some packages

* update `yarn.lock`

* add changeset

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-10 08:44:21 +09:00
Yusuke Wada e8b494b207
chore: add lint rule and format (#367)
* chore: add lint rule and format

* fix ci

* add typescript

* yarn install

* add `@cloudflare/workers-types`
2024-01-29 22:53:43 +09:00
github-actions[bot] bc23e035e6
Version Packages (#360) 2024-01-27 22:17:51 +09:00
divyam234 4ccda19d31
fix(auth-js): Update @auth/core version and set default basePath (#359)
* Update @auth/core version and set default basePath

* update changeset
2024-01-27 22:15:06 +09:00
Andrew b84c6c8eb3
feat: ArkType validator middleware (#325)
* feat: Create arktype-validator

* feat: Add changeset

* chore(arktype-validator): Fix formatting

* chore(index.test.ts): Replace `jsonT` with `json`

* feat(ci): Create arktype validator CI

* feat(package.json): Add arktype validator build script

* fix(ci): Fix lock file
2024-01-04 13:05:17 +09:00
github-actions[bot] 7844bfd4a1
Version Packages (#331) 2023-12-29 21:41:04 +09:00
divyam234 766738e0ea
fix(auth.js): added react as peer (#330)
* added react as peer

* added Changeset

* update yarn.lock

* Update beige-sloths-raise.md
2023-12-29 21:36:26 +09:00
github-actions[bot] a32b21bcd2
Version Packages (#322) 2023-12-29 04:44:37 +09:00
Yusuke Wada 6f2c42919e chore: fix version number of Auth.js middleware 2023-12-29 04:42:00 +09:00
divyam234 f9859e8fa7
added auth.js middleware (#326)
* added next-auth middleware

* fix react types

* code cleanup and improve tests

* renamed to authjs

* added example in readme

* Update README.md

* options to set dynamic base paths , urls and credentials in fetch

* update readme

* update readme

* Update README.md

* fix typos and set correct origin for local development
2023-12-29 04:30:25 +09:00