@intend-it/core 2.0.3 → 2.0.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/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -168803,7 +168803,7 @@ class TypeScriptGenerator {
|
|
|
168803
168803
|
`;
|
|
168804
168804
|
code += `if (import.meta.main) {
|
|
168805
168805
|
`;
|
|
168806
|
-
code += ` ${intent.name}().catch((err: any) => console.error(err));
|
|
168806
|
+
code += ` Promise.resolve(${intent.name}()).catch((err: any) => console.error(err));
|
|
168807
168807
|
`;
|
|
168808
168808
|
code += `}
|
|
168809
168809
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intend-it/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Core compiler and AI integration for the Intend programming language",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@intend-it/parser": "^1.1.
|
|
38
|
+
"@intend-it/parser": "^1.1.4",
|
|
39
39
|
"@google/generative-ai": "^0.21.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"typescript": "^5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@intend-it/parser": ">=1.1.
|
|
46
|
+
"@intend-it/parser": ">=1.1.4"
|
|
47
47
|
}
|
|
48
48
|
}
|