@wopr-network/platform-core 1.50.1 → 1.50.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.
package/dist/auth/better-auth.js
CHANGED
|
@@ -218,6 +218,9 @@ function authOptions(cfg) {
|
|
|
218
218
|
session_token: {
|
|
219
219
|
attributes: cookieDomain ? { domain: cookieDomain } : {},
|
|
220
220
|
},
|
|
221
|
+
session_data: {
|
|
222
|
+
attributes: cookieDomain ? { domain: cookieDomain } : {},
|
|
223
|
+
},
|
|
221
224
|
},
|
|
222
225
|
},
|
|
223
226
|
plugins: cfg.twoFactor !== false ? [twoFactor()] : [],
|
package/package.json
CHANGED
package/src/auth/better-auth.ts
CHANGED
|
@@ -284,6 +284,9 @@ function authOptions(cfg: BetterAuthConfig): BetterAuthOptions {
|
|
|
284
284
|
session_token: {
|
|
285
285
|
attributes: cookieDomain ? { domain: cookieDomain } : {},
|
|
286
286
|
},
|
|
287
|
+
session_data: {
|
|
288
|
+
attributes: cookieDomain ? { domain: cookieDomain } : {},
|
|
289
|
+
},
|
|
287
290
|
},
|
|
288
291
|
},
|
|
289
292
|
plugins: cfg.twoFactor !== false ? [twoFactor()] : [],
|