hoffmation-base 3.2.1-alpha.4 → 3.2.1-alpha.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.
@@ -2,6 +2,7 @@ export declare class RingStorage<T> {
2
2
  private maxSize;
3
3
  private storage;
4
4
  private pointer;
5
+ get maximumSize(): number;
5
6
  constructor(maxSize?: number);
6
7
  add(object: T): void;
7
8
  readAmount(amount: number): T[];
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RingStorage = void 0;
4
4
  class RingStorage {
5
+ get maximumSize() {
6
+ return this.maxSize;
7
+ }
5
8
  constructor(maxSize = 10) {
6
9
  this.maxSize = maxSize;
7
10
  this.storage = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hoffmation-base",
3
3
  "description": "Base Libraries and functions for own Hoffmation projects",
4
- "version": "3.2.1-alpha.4",
4
+ "version": "3.2.1-alpha.6",
5
5
  "files": [
6
6
  "lib/**/*"
7
7
  ],