@geastack/geatsc-plugin-gea 0.1.8 → 0.1.9
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/host-shims.js +7 -0
- package/package.json +3 -2
package/dist/host-shims.js
CHANGED
|
@@ -3187,6 +3187,13 @@ export function createGeaHostShims() {
|
|
|
3187
3187
|
returnType: "std::string",
|
|
3188
3188
|
},
|
|
3189
3189
|
],
|
|
3190
|
+
json: [
|
|
3191
|
+
{
|
|
3192
|
+
receiverTypes: ["gea::host::FetchResponse"],
|
|
3193
|
+
emit: "([&]() { const std::string text = ({receiver}).text(); gea::json::Reader reader(text); gea::Value value = reader.readDynamicValue(); reader.finish(); return value; }())",
|
|
3194
|
+
returnType: "gea::Value",
|
|
3195
|
+
},
|
|
3196
|
+
],
|
|
3190
3197
|
...CSS_STYLE_DECLARATION_NATIVE_MEMBER_METHODS,
|
|
3191
3198
|
},
|
|
3192
3199
|
embeddedHostConstants: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geastack/geatsc-plugin-gea",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Gea IR backend plugin for geatsc.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"typescript": "^5.9.3"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"typescript": ">=5.9.3"
|
|
55
|
+
"typescript": ">=5.9.3",
|
|
56
|
+
"@geastack/compiler": ">=1.0.19"
|
|
56
57
|
}
|
|
57
58
|
}
|