@kohost/api-client 3.0.0-beta.51 → 3.0.0-beta.52

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.
@@ -87,17 +87,17 @@ class Reservation extends Kohost {
87
87
  }
88
88
  }
89
89
 
90
- Object.defineReservation(Reservation.prototype, "schema", {
90
+ Object.defineProperty(Reservation.prototype, "schema", {
91
91
  value: schema,
92
92
  });
93
93
 
94
- Object.defineReservation(Reservation.prototype, "validator", {
94
+ Object.defineProperty(Reservation.prototype, "validator", {
95
95
  get: function () {
96
96
  return validator;
97
97
  },
98
98
  });
99
99
 
100
- Object.defineReservation(Reservation, "validProperties", {
100
+ Object.defineProperty(Reservation, "validProperties", {
101
101
  value: Object.keys(schema.properties),
102
102
  });
103
103
 
@@ -8225,15 +8225,15 @@ var require_Reservation = __commonJS({
8225
8225
  });
8226
8226
  }
8227
8227
  };
8228
- Object.defineReservation(Reservation.prototype, "schema", {
8228
+ Object.defineProperty(Reservation.prototype, "schema", {
8229
8229
  value: schema
8230
8230
  });
8231
- Object.defineReservation(Reservation.prototype, "validator", {
8231
+ Object.defineProperty(Reservation.prototype, "validator", {
8232
8232
  get: function() {
8233
8233
  return validator;
8234
8234
  }
8235
8235
  });
8236
- Object.defineReservation(Reservation, "validProperties", {
8236
+ Object.defineProperty(Reservation, "validProperties", {
8237
8237
  value: Object.keys(schema.properties)
8238
8238
  });
8239
8239
  module.exports = Reservation;