@delmaredigital/payload-better-auth 0.4.3 → 0.4.4
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 +19 -1824
- package/dist/adapter/index.js +3 -1
- package/package.json +1 -1
package/dist/adapter/index.js
CHANGED
|
@@ -180,7 +180,9 @@
|
|
|
180
180
|
disableIdGeneration: true,
|
|
181
181
|
// MongoDB uses ObjectId strings, not numeric IDs
|
|
182
182
|
supportsNumericIds: effectiveDbType !== 'mongodb',
|
|
183
|
-
|
|
183
|
+
// Payload returns dates as ISO strings via its Local API, not Date objects.
|
|
184
|
+
// Setting false tells the factory to convert string dates ↔ Date objects.
|
|
185
|
+
supportsDates: false,
|
|
184
186
|
supportsBooleans: true,
|
|
185
187
|
supportsJSON: true,
|
|
186
188
|
supportsArrays: false,
|