ziex 0.1.0-dev.1177 → 0.1.0-dev.1232
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/cloudflare/index.js +5 -0
- package/package.json +2 -2
- package/wasm/index.js +5 -0
- package/wasm/init.js +5 -0
package/cloudflare/index.js
CHANGED
|
@@ -859,6 +859,11 @@ class ZxBridge extends ZxBridgeCore {
|
|
|
859
859
|
if (node)
|
|
860
860
|
node.nodeValue = readString(ptr, len);
|
|
861
861
|
},
|
|
862
|
+
_srh: (vnodeId, ptr, len) => {
|
|
863
|
+
const el = domNodes.get(vnodeId);
|
|
864
|
+
if (el)
|
|
865
|
+
el.innerHTML = readString(ptr, len);
|
|
866
|
+
},
|
|
862
867
|
_ac: (parentId, childId) => {
|
|
863
868
|
const parent = domNodes.get(parentId);
|
|
864
869
|
const child = domNodes.get(childId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ziex",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.1232",
|
|
4
4
|
"description": "ZX is a framework for building web applications with Zig.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"scripts": {},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ziex/cli": "0.1.0-dev.
|
|
40
|
+
"@ziex/cli": "0.1.0-dev.1232"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"react": {
|
package/wasm/index.js
CHANGED
|
@@ -859,6 +859,11 @@ class ZxBridge extends ZxBridgeCore {
|
|
|
859
859
|
if (node)
|
|
860
860
|
node.nodeValue = readString(ptr, len);
|
|
861
861
|
},
|
|
862
|
+
_srh: (vnodeId, ptr, len) => {
|
|
863
|
+
const el = domNodes.get(vnodeId);
|
|
864
|
+
if (el)
|
|
865
|
+
el.innerHTML = readString(ptr, len);
|
|
866
|
+
},
|
|
862
867
|
_ac: (parentId, childId) => {
|
|
863
868
|
const parent = domNodes.get(parentId);
|
|
864
869
|
const child = domNodes.get(childId);
|
package/wasm/init.js
CHANGED
|
@@ -821,6 +821,11 @@ class ZxBridge extends ZxBridgeCore {
|
|
|
821
821
|
if (node)
|
|
822
822
|
node.nodeValue = readString(ptr, len);
|
|
823
823
|
},
|
|
824
|
+
_srh: (vnodeId, ptr, len) => {
|
|
825
|
+
const el = domNodes.get(vnodeId);
|
|
826
|
+
if (el)
|
|
827
|
+
el.innerHTML = readString(ptr, len);
|
|
828
|
+
},
|
|
824
829
|
_ac: (parentId, childId) => {
|
|
825
830
|
const parent = domNodes.get(parentId);
|
|
826
831
|
const child = domNodes.get(childId);
|