@chevre/domain 20.3.0-alpha.3 → 20.3.0-alpha.4

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.
@@ -366,6 +366,15 @@ function payMovieTicket(params) {
366
366
  seatInfoSyncIn
367
367
  };
368
368
  const startingAction = Object.assign(Object.assign({}, params), {
369
+ // accessCodeを隠蔽(2023-02-08~)
370
+ object: params.object.map((o) => {
371
+ const movieTicketsWithMaskedAccessCode = (Array.isArray(o.movieTickets))
372
+ ? o.movieTickets.map((movieTicket) => {
373
+ return Object.assign(Object.assign({}, movieTicket), { accessCode: '****' });
374
+ })
375
+ : [];
376
+ return Object.assign(Object.assign({}, o), { movieTickets: movieTicketsWithMaskedAccessCode });
377
+ }),
369
378
  // アクション開始前にseatInfoSyncInを生成してアクションに保管する
370
379
  instrument });
371
380
  // アクション開始
package/package.json CHANGED
@@ -120,5 +120,5 @@
120
120
  "postversion": "git push origin --tags",
121
121
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
122
122
  },
123
- "version": "20.3.0-alpha.3"
123
+ "version": "20.3.0-alpha.4"
124
124
  }