@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.
@@ -180,7 +180,9 @@
180
180
  disableIdGeneration: true,
181
181
  // MongoDB uses ObjectId strings, not numeric IDs
182
182
  supportsNumericIds: effectiveDbType !== 'mongodb',
183
- supportsDates: true,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delmaredigital/payload-better-auth",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Better Auth adapter and plugins for Payload CMS",
5
5
  "type": "module",
6
6
  "license": "MIT",