@chevre/domain 21.29.0-alpha.16 → 21.29.0-alpha.17

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.
@@ -34,7 +34,7 @@ async function main() {
34
34
  object: 1
35
35
  }
36
36
  );
37
- console.log('orders found');
37
+ console.log('transactions found');
38
38
 
39
39
  let i = 0;
40
40
  let updateCount = 0;
@@ -109,7 +109,7 @@ class MongoRepository {
109
109
  let doc;
110
110
  if (typeof params.id === 'string') {
111
111
  // 上書き禁止属性を除外
112
- const _a = params.$set, { id, project, typeOf, offers } = _a, setFields = __rest(_a, ["id", "project", "typeOf", "offers"]);
112
+ const _a = params.$set, { id, project, typeOf } = _a, setFields = __rest(_a, ["id", "project", "typeOf"]);
113
113
  doc = yield this.productModelModel.findOneAndUpdate({ _id: { $eq: params.id } }, {
114
114
  $set: setFields
115
115
  // $unset: params.$unset
package/package.json CHANGED
@@ -110,5 +110,5 @@
110
110
  "postversion": "git push origin --tags",
111
111
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
112
112
  },
113
- "version": "21.29.0-alpha.16"
113
+ "version": "21.29.0-alpha.17"
114
114
  }