@spfn/auth 0.3.0-beta.14 → 0.3.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,7 @@ Underneath: asymmetric client-signed JWTs (ES256/RS256), OTP verification, OAuth
21
21
  through a pluggable provider registry (Google, GitHub, Kakao and Naver built in), session
22
22
  cookies for Next.js, and runtime RBAC. Routes mount under `/_auth/*` and are reached
23
23
  through a typed `authApi` client. Requires `@spfn/core`; Next.js is an optional peer
24
- (`^16.2.11`).
24
+ (`^16.3.3`).
25
25
 
26
26
  ## Install
27
27
 
package/dist/server.js CHANGED
@@ -9655,9 +9655,8 @@ function isMissingQueueError(error) {
9655
9655
  return error instanceof Error && new RegExp(`queue ${linkMailJob.name} does not exist`, "i").test(error.message);
9656
9656
  }
9657
9657
  async function enqueueLinkMail(payload) {
9658
- const send = linkMailJob.send;
9659
9658
  try {
9660
- await send(payload);
9659
+ await linkMailJob.send(payload);
9661
9660
  return null;
9662
9661
  } catch (error) {
9663
9662
  return error ?? new Error("[auth.link-mail] enqueue failed");
@@ -16033,7 +16032,7 @@ var userRouter = defineRouter3({
16033
16032
  // src/server/routes/oauth/index.ts
16034
16033
  init_esm();
16035
16034
 
16036
- // ../../node_modules/.pnpm/hono@4.13.0/node_modules/hono/dist/utils/url.js
16035
+ // ../../node_modules/.pnpm/hono@4.13.7/node_modules/hono/dist/utils/url.js
16037
16036
  var tryDecode = (str, decoder) => {
16038
16037
  try {
16039
16038
  return decoder(str);
@@ -16050,7 +16049,7 @@ var tryDecode = (str, decoder) => {
16050
16049
  var tryDecodeURIComponent = (str) => str.indexOf("%") !== -1 ? tryDecode(str, decodeURIComponent_) : str;
16051
16050
  var decodeURIComponent_ = decodeURIComponent;
16052
16051
 
16053
- // ../../node_modules/.pnpm/hono@4.13.0/node_modules/hono/dist/utils/cookie.js
16052
+ // ../../node_modules/.pnpm/hono@4.13.7/node_modules/hono/dist/utils/cookie.js
16054
16053
  var validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
16055
16054
  var relaxedCookieNameRegEx = /^[!#-:<>-[\]-~]+$/;
16056
16055
  var validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
@@ -16172,7 +16171,7 @@ var serialize = (name, value, opt) => {
16172
16171
  return _serialize(name, value, opt);
16173
16172
  };
16174
16173
 
16175
- // ../../node_modules/.pnpm/hono@4.13.0/node_modules/hono/dist/helper/cookie/index.js
16174
+ // ../../node_modules/.pnpm/hono@4.13.7/node_modules/hono/dist/helper/cookie/index.js
16176
16175
  var getCookie = (c, key, prefix) => {
16177
16176
  const cookie = c.req.raw.headers.get("Cookie");
16178
16177
  if (typeof key === "string") {