@rio.js/enterprise 1.4.1 → 1.4.2
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.
|
@@ -480,6 +480,11 @@ function createAuthSystem(options) {
|
|
|
480
480
|
...options.plugins ?? []
|
|
481
481
|
],
|
|
482
482
|
account: { accountLinking: { enabled: true } },
|
|
483
|
+
session: { cookieCache: {
|
|
484
|
+
enabled: true,
|
|
485
|
+
maxAge: 300,
|
|
486
|
+
refreshCache: { updateAge: 60 }
|
|
487
|
+
} },
|
|
483
488
|
trustedOrigins: ["http://localhost:3000"],
|
|
484
489
|
emailAndPassword: {
|
|
485
490
|
enabled: true,
|
package/dist/better-auth.mjs
CHANGED
|
@@ -12,6 +12,6 @@ import "./parser-bL7W2mQ0-JPVS1FmJ.mjs";
|
|
|
12
12
|
import "./client--1_AEBPu-Dl2Y0Yen.mjs";
|
|
13
13
|
import "./db-schema.final-U_UYOH47.mjs";
|
|
14
14
|
import "./adapter-factory-BTRALCLD-Bv_0fQx-.mjs";
|
|
15
|
-
import { n as createAuthSystem, t as auth } from "./better-auth-
|
|
15
|
+
import { n as createAuthSystem, t as auth } from "./better-auth-CIRYXm77.mjs";
|
|
16
16
|
|
|
17
17
|
export { auth, createAuthSystem };
|
package/dist/index.mjs
CHANGED
|
@@ -12,6 +12,6 @@ import "./parser-bL7W2mQ0-JPVS1FmJ.mjs";
|
|
|
12
12
|
import "./client--1_AEBPu-Dl2Y0Yen.mjs";
|
|
13
13
|
import { i as getTelemetryAuthConfig, n as betterAuth, r as createTelemetry } from "./db-schema.final-U_UYOH47.mjs";
|
|
14
14
|
import "./adapter-factory-BTRALCLD-Bv_0fQx-.mjs";
|
|
15
|
-
import { n as createAuthSystem } from "./better-auth-
|
|
15
|
+
import { n as createAuthSystem } from "./better-auth-CIRYXm77.mjs";
|
|
16
16
|
|
|
17
17
|
export { APIError$1 as APIError, BASE_ERROR_CODES, BetterAuthError, ENV, HIDE_METADATA, TTY_COLORS, accountSchema, betterAuth, capitalizeFirstLetter, clientCredentialsToken, constantTimeEqual, coreSchema, createAuthSystem, createAuthorizationCodeRequest, createAuthorizationURL, createClientCredentialsTokenRequest, createLogger, createRefreshAccessTokenRequest, createTelemetry, defineErrorCodes, db as enterpriseDB, env, generateCodeChallenge, generateId, generateRandomString, generateState, getBooleanEnvVar, getColorDepth, getCurrentAdapter, getCurrentGraphContext, getCurrentTransactionAdapter, getEnvVar, getOAuth2Tokens, getTelemetryAuthConfig, hashPassword, initializeGraph, invariant, isDevelopment, isProduction, isTest, levels, logger, nodeENV, parseSetCookieHeader, parseState, rateLimitSchema, refreshAccessToken, sessionSchema, shouldPublishLog, signJWT, symmetricDecodeJWT, symmetricDecrypt, symmetricEncodeJWT, symmetricEncrypt, userSchema, validateAuthorizationCode, validateToken, verificationSchema, verifyJWT, verifyPassword };
|
package/dist/init.mjs
CHANGED
|
@@ -11,7 +11,6 @@ import "./misc-CbURQDlR-Dpe-5X_i.mjs";
|
|
|
11
11
|
import "./parser-bL7W2mQ0-JPVS1FmJ.mjs";
|
|
12
12
|
import "./client--1_AEBPu-Dl2Y0Yen.mjs";
|
|
13
13
|
import "./db-schema.final-U_UYOH47.mjs";
|
|
14
|
-
import { eq } from "drizzle-orm";
|
|
15
14
|
import { readFile } from "fs/promises";
|
|
16
15
|
|
|
17
16
|
//#region src/init.ts
|
package/dist/server.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import "./parser-bL7W2mQ0-JPVS1FmJ.mjs";
|
|
|
12
12
|
import "./client--1_AEBPu-Dl2Y0Yen.mjs";
|
|
13
13
|
import "./db-schema.final-U_UYOH47.mjs";
|
|
14
14
|
import "./adapter-factory-BTRALCLD-Bv_0fQx-.mjs";
|
|
15
|
-
import { t as auth } from "./better-auth-
|
|
15
|
+
import { t as auth } from "./better-auth-CIRYXm77.mjs";
|
|
16
16
|
import "dotenv/config";
|
|
17
17
|
import { cors } from "@elysiajs/cors";
|
|
18
18
|
import { jwt } from "@elysiajs/jwt";
|