@lingo.dev/_compiler 0.3.3 → 0.3.5

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.
package/build/index.cjs CHANGED
@@ -4,7 +4,7 @@ var _unplugin = require('unplugin');
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@lingo.dev/_compiler",
7
- version: "0.3.3",
7
+ version: "0.3.5",
8
8
  description: "Lingo.dev Compiler",
9
9
  private: false,
10
10
  publishConfig: {
@@ -1581,7 +1581,7 @@ var LCPAPI = class {
1581
1581
 
1582
1582
  ⭐️ Also:
1583
1583
  1. If you don't yet have a ${details.name} API key, get one for free at ${details.getKeyLink}
1584
- 2. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://docs.lingo.dev/
1584
+ 2. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://lingo.dev/compiler
1585
1585
  3. If the model you want to use isn't supported yet, raise an issue in our open-source repo: https://lingo.dev/go/gh
1586
1586
 
1587
1587
 
@@ -1652,12 +1652,8 @@ var LCPAPI = class {
1652
1652
 
1653
1653
  // src/lib/lcp/server.ts
1654
1654
  var LCPServer = (_class = class {
1655
- static __initStatic() {this.dictionariesCache = null}
1656
- static __initStatic2() {this.inFlightPromise = null}
1655
+ static __initStatic() {this.inFlightPromise = null}
1657
1656
  static async loadDictionaries(params) {
1658
- if (this.dictionariesCache) {
1659
- return this.dictionariesCache;
1660
- }
1661
1657
  if (this.inFlightPromise) {
1662
1658
  return this.inFlightPromise;
1663
1659
  }
@@ -1678,7 +1674,6 @@ var LCPServer = (_class = class {
1678
1674
  dictionaries[index]
1679
1675
  ])
1680
1676
  );
1681
- this.dictionariesCache = result;
1682
1677
  return result;
1683
1678
  } finally {
1684
1679
  this.inFlightPromise = null;
@@ -1877,7 +1872,7 @@ var LCPServer = (_class = class {
1877
1872
  0
1878
1873
  );
1879
1874
  }
1880
- }, _class.__initStatic(), _class.__initStatic2(), _class);
1875
+ }, _class.__initStatic(), _class);
1881
1876
 
1882
1877
  // src/utils/invokations.ts
1883
1878
 
@@ -2676,7 +2671,7 @@ var unplugin = _unplugin.createUnplugin.call(void 0,
2676
2671
  ⚠️ Lingo.dev Localization Compiler requires LLM model setup for the following locales: ${invalidLocales.join(", ")}.
2677
2672
 
2678
2673
  ⭐️ Next steps:
2679
- 1. Refer to documentation for help: https://docs.lingo.dev/
2674
+ 1. Refer to documentation for help: https://lingo.dev/compiler
2680
2675
  2. If you want to use a different LLM, raise an issue in our open-source repo: https://lingo.dev/go/gh
2681
2676
  3. If you have questions, feature requests, or would like to contribute, join our Discord: https://lingo.dev/go/discord
2682
2677
 
@@ -2830,7 +2825,7 @@ function validateLLMKeyDetails(configuredProviders) {
2830
2825
  console.log(_dedent2.default`
2831
2826
  \n
2832
2827
  ⭐️ Also:
2833
- 1. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://docs.lingo.dev/
2828
+ 1. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://lingo.dev/compiler
2834
2829
  2. If the model/provider you want to use isn't supported yet, raise an issue in our open-source repo: https://lingo.dev/go/gh
2835
2830
  3. If you have questions, feature requests, or would like to contribute, join our Discord: https://lingo.dev/go/discord
2836
2831
 
package/build/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { createUnplugin } from "unplugin";
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@lingo.dev/_compiler",
7
- version: "0.3.3",
7
+ version: "0.3.5",
8
8
  description: "Lingo.dev Compiler",
9
9
  private: false,
10
10
  publishConfig: {
@@ -1581,7 +1581,7 @@ var LCPAPI = class {
1581
1581
 
1582
1582
  ⭐️ Also:
1583
1583
  1. If you don't yet have a ${details.name} API key, get one for free at ${details.getKeyLink}
1584
- 2. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://docs.lingo.dev/
1584
+ 2. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://lingo.dev/compiler
1585
1585
  3. If the model you want to use isn't supported yet, raise an issue in our open-source repo: https://lingo.dev/go/gh
1586
1586
 
1587
1587
 
@@ -1652,12 +1652,8 @@ var LCPAPI = class {
1652
1652
 
1653
1653
  // src/lib/lcp/server.ts
1654
1654
  var LCPServer = class {
1655
- static dictionariesCache = null;
1656
1655
  static inFlightPromise = null;
1657
1656
  static async loadDictionaries(params) {
1658
- if (this.dictionariesCache) {
1659
- return this.dictionariesCache;
1660
- }
1661
1657
  if (this.inFlightPromise) {
1662
1658
  return this.inFlightPromise;
1663
1659
  }
@@ -1678,7 +1674,6 @@ var LCPServer = class {
1678
1674
  dictionaries[index]
1679
1675
  ])
1680
1676
  );
1681
- this.dictionariesCache = result;
1682
1677
  return result;
1683
1678
  } finally {
1684
1679
  this.inFlightPromise = null;
@@ -2676,7 +2671,7 @@ var unplugin = createUnplugin(
2676
2671
  ⚠️ Lingo.dev Localization Compiler requires LLM model setup for the following locales: ${invalidLocales.join(", ")}.
2677
2672
 
2678
2673
  ⭐️ Next steps:
2679
- 1. Refer to documentation for help: https://docs.lingo.dev/
2674
+ 1. Refer to documentation for help: https://lingo.dev/compiler
2680
2675
  2. If you want to use a different LLM, raise an issue in our open-source repo: https://lingo.dev/go/gh
2681
2676
  3. If you have questions, feature requests, or would like to contribute, join our Discord: https://lingo.dev/go/discord
2682
2677
 
@@ -2830,7 +2825,7 @@ function validateLLMKeyDetails(configuredProviders) {
2830
2825
  console.log(dedent3`
2831
2826
  \n
2832
2827
  ⭐️ Also:
2833
- 1. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://docs.lingo.dev/
2828
+ 1. If you want to use a different LLM, update your configuration. Refer to documentation for help: https://lingo.dev/compiler
2834
2829
  2. If the model/provider you want to use isn't supported yet, raise an issue in our open-source repo: https://lingo.dev/go/gh
2835
2830
  3. If you have questions, feature requests, or would like to contribute, join our Discord: https://lingo.dev/go/discord
2836
2831
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_compiler",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Lingo.dev Compiler",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -48,7 +48,7 @@
48
48
  "unplugin": "^2.1.2",
49
49
  "vitest": "^2.1.4",
50
50
  "zod": "^3.24.1",
51
- "@lingo.dev/_sdk": "0.9.1"
51
+ "@lingo.dev/_sdk": "0.9.2"
52
52
  },
53
53
  "scripts": {
54
54
  "dev": "tsup --watch",