payservedb 8.0.2 → 8.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -123,7 +123,6 @@ const invoiceSchema = new mongoose.Schema(
123
123
  // NEW FIELD 1: Year-Month for easy filtering
124
124
  yearMonth: {
125
125
  type: String,
126
- required: true,
127
126
  match: /^\d{4}-\d{2}$/, // Validates format like "2025-08"
128
127
  index: true
129
128
  },