ziex 0.1.0-dev.1227 → 0.1.0-dev.1252

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/README.md CHANGED
@@ -171,6 +171,7 @@ You can view our current progress and planned features here:
171
171
  ## Versions
172
172
  | Zig | Ziex | Branch | Status |
173
173
  |-------------|---------------------|-------------------|----------------|
174
+ | `0.17.0` | | `zig-0.17` | Unstable (dev) |
174
175
  | `0.16.0` | `0.1.0-dev.1068`-* | `main` | Stable (dev) |
175
176
  | `0.15.2` | `0.1.0-dev-1050` | `zig-0.15` | Stable (dev) |
176
177
 
@@ -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.1227",
3
+ "version": "0.1.0-dev.1252",
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.1227"
40
+ "@ziex/cli": "0.1.0-dev.1252"
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);