tpmkms 7.12.5 → 7.12.6

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.
@@ -478,10 +478,7 @@ const template = {
478
478
  class API {
479
479
  initialize({ objects, config }) {
480
480
  this._objects = objects
481
- this._objects.items = []
482
- this._objects.notAvailable = []
483
- this._objects.notAvailableModification = []
484
- this._objects.item_id_counter = 0
481
+ this.reset()
485
482
  }
486
483
 
487
484
  show() {
@@ -516,6 +513,9 @@ class API {
516
513
 
517
514
  reset() {
518
515
  this._objects.items = []
516
+ this._objects.notAvailable = []
517
+ this._objects.notAvailableModification = []
518
+ this._objects.item_id_counter = 0
519
519
  }
520
520
 
521
521
  get(item_id) {