@lingo.dev/_compiler 0.1.2 → 0.1.4
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 +2 -4
- package/build/index.mjs +2 -4
- package/package.json +1 -1
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.1.
|
|
7
|
+
version: "0.1.4",
|
|
8
8
|
description: "Lingo.dev Compiler",
|
|
9
9
|
private: false,
|
|
10
10
|
publishConfig: {
|
|
@@ -1115,9 +1115,7 @@ function getGroqKeyFromRc() {
|
|
|
1115
1115
|
return result;
|
|
1116
1116
|
}
|
|
1117
1117
|
function getGroqKeyFromEnv() {
|
|
1118
|
-
const ephemeralEnv = {
|
|
1119
|
-
GROQ_API_KEY: process.env.GROQ_API_KEY
|
|
1120
|
-
};
|
|
1118
|
+
const ephemeralEnv = {};
|
|
1121
1119
|
dotenv.config({ processEnv: ephemeralEnv });
|
|
1122
1120
|
return ephemeralEnv.GROQ_API_KEY;
|
|
1123
1121
|
}
|
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.1.
|
|
7
|
+
version: "0.1.4",
|
|
8
8
|
description: "Lingo.dev Compiler",
|
|
9
9
|
private: false,
|
|
10
10
|
publishConfig: {
|
|
@@ -1115,9 +1115,7 @@ function getGroqKeyFromRc() {
|
|
|
1115
1115
|
return result;
|
|
1116
1116
|
}
|
|
1117
1117
|
function getGroqKeyFromEnv() {
|
|
1118
|
-
const ephemeralEnv = {
|
|
1119
|
-
GROQ_API_KEY: process.env.GROQ_API_KEY
|
|
1120
|
-
};
|
|
1118
|
+
const ephemeralEnv = {};
|
|
1121
1119
|
dotenv.config({ processEnv: ephemeralEnv });
|
|
1122
1120
|
return ephemeralEnv.GROQ_API_KEY;
|
|
1123
1121
|
}
|