@chevre/domain 21.2.0-alpha.29 → 21.2.0-alpha.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.
@@ -112,7 +112,7 @@ function processVoidPayTransaction(params) {
112
112
  transaction = (yield repos.transaction.findById({
113
113
  typeOf: params.purpose.typeOf,
114
114
  id: params.purpose.id,
115
- inclusion: ['id', 'typeOf', 'status']
115
+ inclusion: ['_id', 'typeOf', 'status']
116
116
  }));
117
117
  }
118
118
  // 承認アクションを取得
@@ -31,13 +31,6 @@ function verifyToken4reservation(params) {
31
31
  orderNumber: payload.orderNumber,
32
32
  reservationId: params.reservationId
33
33
  });
34
- // 注文検索
35
- // const order: Pick<factory.order.IOrder, 'orderStatus' | 'acceptedOffers'> =
36
- // await repos.order.findByOrderNumber({
37
- // orderNumber: payload.orderNumber,
38
- // inclusion: ['orderStatus', 'acceptedOffers'],
39
- // exclusion: []
40
- // });
41
34
  // ステータス検証
42
35
  switch (order.orderStatus) {
43
36
  case factory.orderStatus.OrderDelivered:
@@ -75,7 +68,7 @@ function useReservation(params) {
75
68
  // 取得属性最適化(2023-01-30~)
76
69
  const reservation = yield repos.reservation.findById({
77
70
  id: reservationId,
78
- inclusion: ['id', 'issuedThrough', 'project', 'reservationFor', 'reservationNumber', 'reservedTicket', 'typeOf']
71
+ inclusion: ['_id', 'issuedThrough', 'project', 'reservationFor', 'reservationNumber', 'reservedTicket', 'typeOf']
79
72
  });
80
73
  // instrument?.tokenを検証
81
74
  const token = (_a = params === null || params === void 0 ? void 0 : params.instrument) === null || _a === void 0 ? void 0 : _a.token;
package/package.json CHANGED
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.2.0-alpha.29"
120
+ "version": "21.2.0-alpha.30"
121
121
  }