generaltranslation 2.0.39 → 2.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ exports.isValidLanguageCode = isValidLanguageCode;
129
129
  const standardizeLanguageCode = (code) => (0, codes_1._standardizeLanguageCode)(code);
130
130
  exports.standardizeLanguageCode = standardizeLanguageCode;
131
131
  function getLanguageObject(codes) {
132
- return Array.isArray(codes) ? (0, codes_1._getLanguageObject)(codes) : (0, codes_1._getLanguageObject)([codes]);
132
+ return Array.isArray(codes) ? (0, codes_1._getLanguageObject)(codes) : (0, codes_1._getLanguageObject)(codes);
133
133
  }
134
134
  function getLanguageCode(languages) {
135
135
  return (0, codes_1._getLanguageCode)(languages);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "description": "A language toolkit for AI developers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",