@gamepark/rules-api 6.0.5-alpha.0 → 6.0.6-alpha.0

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.
@@ -41,7 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
41
41
  };
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
43
  exports.hideItemId = exports.HiddenMaterialRules = void 0;
44
- var mapvalues_1 = __importDefault(require("lodash/mapvalues"));
44
+ var mapValues_1 = __importDefault(require("lodash/mapValues"));
45
45
  var MaterialRules_1 = require("./MaterialRules");
46
46
  var moves_1 = require("./moves");
47
47
  var items_1 = require("./items");
@@ -79,7 +79,7 @@ var HiddenMaterialRules = /** @class */ (function (_super) {
79
79
  };
80
80
  HiddenMaterialRules.prototype.getView = function (player) {
81
81
  var _this = this;
82
- return __assign(__assign({}, this.game), { items: (0, mapvalues_1.default)(this.game.items, function (items, stringType) {
82
+ return __assign(__assign({}, this.game), { items: (0, mapValues_1.default)(this.game.items, function (items, stringType) {
83
83
  var itemsType = parseInt(stringType);
84
84
  var hidingStrategies = _this.hidingStrategies[itemsType];
85
85
  if (!hidingStrategies || !items)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamepark/rules-api",
3
- "version": "6.0.5-alpha.0",
3
+ "version": "6.0.6-alpha.0",
4
4
  "description": "API to implement the rules of a board game",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,5 +29,5 @@
29
29
  "@types/lodash": "^4.14.195",
30
30
  "i18next": ">=21.3.0"
31
31
  },
32
- "gitHead": "89ecbf9433f9832b1ade8404140bea3440364b84"
32
+ "gitHead": "7b2199814bc25236119c98a615d8535e22da59d9"
33
33
  }