@gabrielrufino/cube 1.0.46 → 1.0.47

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.
@@ -1,4 +1,4 @@
1
1
  interface IHashTableLinearProbingOptions {
2
- maxSize: number;
2
+ maxSize?: number;
3
3
  }
4
4
  export default IHashTableLinearProbingOptions;
@@ -18,7 +18,7 @@ var HashTableLinearProbingElement_1 = __importDefault(require("./HashTableLinear
18
18
  var HashTableLinearProbing = /** @class */ (function () {
19
19
  function HashTableLinearProbing(inputs, _a) {
20
20
  if (inputs === void 0) { inputs = {}; }
21
- var _b = _a === void 0 ? { maxSize: 100 } : _a, _c = _b.maxSize, maxSize = _c === void 0 ? 100 : _c;
21
+ var _b = _a === void 0 ? {} : _a, _c = _b.maxSize, maxSize = _c === void 0 ? 100 : _c;
22
22
  this._maxSize = 0;
23
23
  this._data = [];
24
24
  this._maxSize = maxSize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gabrielrufino/cube",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "Data Structures and Algorithms made in Typescript",
5
5
  "main": "build/index.js",
6
6
  "scripts": {