@did-space/core 0.3.29 → 0.3.30

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.
@@ -553,7 +553,7 @@ class ObjectSpace {
553
553
  where,
554
554
  });
555
555
  // @FIXME: 没有正确关联
556
- const objectRecords = yield this.objectRepository.sequelize.query(`SELECT SUM(Object.size) as totalSize FROM Object JOIN Tree ON Object.id = Tree.objectId WHERE Tree.key LIKE '${key}%' AND Tree.spaceDid = '${this.spaceDid}'`, { type: skypesky_sequelize_1.QueryTypes.SELECT });
556
+ const objectRecords = yield this.objectRepository.sequelize.query(`SELECT SUM(Object.size) as totalSize FROM Object JOIN Tree ON Object.id = Tree.objectId WHERE Tree.spaceDid = '${this.spaceDid}' AND Tree.key LIKE '${key}%'`, { type: skypesky_sequelize_1.QueryTypes.SELECT });
557
557
  // @ts-expect-error
558
558
  const size = objectRecords[0].totalSize;
559
559
  debug('getStatusAsOwner.after', JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-space/core",
3
- "version": "0.3.29",
3
+ "version": "0.3.30",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -60,5 +60,5 @@
60
60
  "ts-jest": "^28.0.6",
61
61
  "typescript": "^4.9.5"
62
62
  },
63
- "gitHead": "b31f9ffe207d17f6b779643430e454cc4fa6dc52"
63
+ "gitHead": "a7f5703ae7eef98946398e86272092745cf91509"
64
64
  }