xvai-loi 0.1.1 → 0.1.3

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.
Files changed (4) hide show
  1. package/co.txt +1 -1
  2. package/nap.js +2 -1
  3. package/package.json +1 -1
  4. package/xvai-loi.js +54 -6
package/co.txt CHANGED
@@ -1 +1 @@
1
- xvaiLoi091011
1
+ xvaiLoi091058
package/nap.js CHANGED
@@ -2,7 +2,8 @@
2
2
  export const PHIEN_BAN = 'nap-1';
3
3
  export async function khoiDong(c) {
4
4
  const G = globalThis;
5
- if (c && c.React) { G.__xvaiReact = c.React; G.__xvaiReactDOM = c.ReactDOM; G.__xvaiFlow = c.Flow; }
5
+ // 09/10 VD-205: chỉ nhận Flow THẬT (không nhận Proxy của lõi khác khi nạp qua cầu của lõi) — Proxy ghi vào __xvaiFlow sẽ tự đọc chính nó → đệ quy vô hạn.
6
+ if (c && c.React) { G.__xvaiReact = c.React; G.__xvaiReactDOM = c.ReactDOM; if (c.Flow && !c.Flow.__xvaiProxy) G.__xvaiFlow = c.Flow; }
6
7
  const m = await import('./xvai-loi.js');
7
8
  return m.khoiDong(c);
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xvai-loi",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Loi dung video (Edit Video Tu Dong) nap vao tool Google Flow qua o cam engine/oCam.ts",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",