@scrabble-solver/configs 2.7.2 → 2.8.1

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.
@@ -12,10 +12,10 @@ var getConfig = function (configId) {
12
12
  return id === configId;
13
13
  });
14
14
  if (!config) {
15
- throw new Error("Invalid \"configId\" parameter: not one of " + configs.map(function (_a) {
15
+ throw new Error("Invalid \"configId\" parameter: not one of ".concat(configs.map(function (_a) {
16
16
  var id = _a.id;
17
17
  return id;
18
- }).join('/'));
18
+ }).join('/')));
19
19
  }
20
20
  return config;
21
21
  };
@@ -5,6 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  var getConfig_1 = __importDefault(require("./getConfig"));
7
7
  var getLocaleConfig = function (configId, locale) {
8
- return getConfig_1.default(configId)[locale];
8
+ return (0, getConfig_1.default)(configId)[locale];
9
9
  };
10
10
  exports.default = getLocaleConfig;
@@ -1,4 +1,4 @@
1
- import { Config, Locale } from '@scrabble-solver/types';
1
+ import { Config } from '@scrabble-solver/types';
2
2
  declare const literaki: {
3
3
  id: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import { Config, Locale } from '@scrabble-solver/types';
1
+ import { Config } from '@scrabble-solver/types';
2
2
  declare const scrabble: {
3
3
  id: string;
4
4
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/configs",
3
- "version": "2.7.2",
3
+ "version": "2.8.1",
4
4
  "description": "Scrabble Solver 2 - Configs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,8 +24,8 @@
24
24
  "clean:force": "npm run clean && rimraf package-lock.json"
25
25
  },
26
26
  "dependencies": {
27
- "@scrabble-solver/constants": "^2.7.2",
28
- "@scrabble-solver/types": "^2.7.2"
27
+ "@scrabble-solver/constants": "^2.8.1",
28
+ "@scrabble-solver/types": "^2.8.1"
29
29
  },
30
- "gitHead": "f1a2823c32eedaeff30cf8315e20427574fc97b7"
30
+ "gitHead": "994d5ef4a195cda08f7a907b8b1343bbc145801e"
31
31
  }