@monkeyplus/payscope 1.0.7 → 1.0.8

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.
@@ -3057,8 +3057,7 @@ function createGraphql(db) {
3057
3057
  name: true,
3058
3058
  endpoint: true
3059
3059
  } } } }
3060
- },
3061
- extras: { totalRefundsCount: (table) => db.$count(refunds, eq(refunds.transactionId, table.id)) }
3060
+ }
3062
3061
  });
3063
3062
  },
3064
3063
  findByPk: async (id) => {
@@ -3071,7 +3070,8 @@ function createGraphql(db) {
3071
3070
  name: true,
3072
3071
  endpoint: true
3073
3072
  } } } }
3074
- }
3073
+ },
3074
+ extras: { totalRefundsCount: (table) => db.$count(refunds, eq(refunds.transactionId, table.id)) }
3075
3075
  });
3076
3076
  },
3077
3077
  updateByPk: async (id, data) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monkeyplus/payscope",
3
3
  "type": "module",
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "packageManager": "pnpm@10.8.1",
6
6
  "author": "",
7
7
  "keywords": [],