@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.64 → 2.4.2-dev.65

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Insurance.js +0 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.4.2-dev.64",
3
+ "version": "2.4.2-dev.65",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/Insurance.js CHANGED
@@ -224,14 +224,6 @@ export default class Insurance extends BaseClass {
224
224
  * @throws {Error} `isProcessing` が true で `number` が指定されていない場合にエラーをスローします。
225
225
  */
226
226
  enroll({ enrollmentDateAt, number, isProcessing = false } = {}) {
227
- console.log("=== Insurance.enroll() DEBUG ===");
228
- console.log("Received arguments:");
229
- console.log(" enrollmentDateAt:", enrollmentDateAt);
230
- console.log(" number:", number);
231
- console.log(" isProcessing:", isProcessing);
232
- console.log(" typeof isProcessing:", typeof isProcessing);
233
- console.log(" !!isProcessing:", !!isProcessing);
234
-
235
227
  // validation
236
228
  const transitionCheck = this._canTransitionTo(
237
229
  INSURANCE_STATUS.ENROLLED.value,
@@ -260,11 +252,6 @@ export default class Insurance extends BaseClass {
260
252
  this.isProcessing = !!isProcessing;
261
253
  this.lossDateAt = null; // 念のため null に更新しておく
262
254
  this.lossReason = null; // 念のため null に更新しておく
263
-
264
- console.log("After setting:");
265
- console.log(" this.isProcessing:", this.isProcessing);
266
- console.log(" this.number:", this.number);
267
- console.log("=== END Insurance.enroll() DEBUG ===");
268
255
  }
269
256
 
270
257
  /**