payservedb 5.7.7 → 5.7.9

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/index.js CHANGED
@@ -179,7 +179,7 @@ const models = {
179
179
  BillerAddress: require("./src/models/billerAddress"),
180
180
  AssetAssignment: require("./src/models/assetsAssignment"),
181
181
  Wallet: require("./src/models/wallet"),
182
- WalletTransaction: require("./src/models/walletTransaction"),
182
+ WalletTransaction: require("./src/models/wallet_transactions"),
183
183
  };
184
184
 
185
185
  // Function to get models dynamically from a specific database connection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "5.7.7",
3
+ "version": "5.7.9",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -22,6 +22,10 @@ const walletSchema = new mongoose.Schema(
22
22
  ref: "Facility",
23
23
  required: true,
24
24
  },
25
+ isActive: {
26
+ type: Boolean,
27
+ default: true,
28
+ },
25
29
  },
26
30
  {
27
31
  timestamps: true,