@spaceandtimelabs/makeinfinite-ui 0.10.1 → 0.11.1
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.d.ts
CHANGED
|
@@ -147416,7 +147416,7 @@ const Gyt = async (i) => {
|
|
|
147416
147416
|
}, []), tu(() => {
|
|
147417
147417
|
h.projectName && h.projectURL && Whe(
|
|
147418
147418
|
h.projectName,
|
|
147419
|
-
h.
|
|
147419
|
+
h.projectURL,
|
|
147420
147420
|
E.CORS_PROXY
|
|
147421
147421
|
).then(() => {
|
|
147422
147422
|
vye(h.projectName).then(
|
|
@@ -147466,7 +147466,7 @@ const Gyt = async (i) => {
|
|
|
147466
147466
|
const [i, o] = Un([]), [u, d] = Un([]), { projectMetadata: D, config: p } = Ux(), h = async () => {
|
|
147467
147467
|
await Whe(
|
|
147468
147468
|
D.projectName,
|
|
147469
|
-
D.
|
|
147469
|
+
D.projectURL,
|
|
147470
147470
|
p.CORS_PROXY
|
|
147471
147471
|
), await Uut(D.projectName);
|
|
147472
147472
|
const E = await vye(
|
|
@@ -2385,7 +2385,7 @@ Using plugins:`),Re.forEach(function(me){Vht(me,ae,fe)}),I||console.log("\nUsing
|
|
|
2385
2385
|
flex-grow: 1;
|
|
2386
2386
|
overflow: auto;
|
|
2387
2387
|
}
|
|
2388
|
-
`,vje=()=>{const[i,o]=cr.useState([]),[u,d]=cr.useState([]),[D,p]=cr.useState([]),{projectMetadata:h,config:E,syncToken:v,APIHandler:A}=sp();return cr.useEffect(()=>{yje(A).then(m=>{o(m)})},[]),cr.useEffect(()=>{h.projectName&&h.projectURL&&AG(h.projectName,h.
|
|
2388
|
+
`,vje=()=>{const[i,o]=cr.useState([]),[u,d]=cr.useState([]),[D,p]=cr.useState([]),{projectMetadata:h,config:E,syncToken:v,APIHandler:A}=sp();return cr.useEffect(()=>{yje(A).then(m=>{o(m)})},[]),cr.useEffect(()=>{h.projectName&&h.projectURL&&AG(h.projectName,h.projectURL,E.CORS_PROXY).then(()=>{VX(h.projectName).then(m=>{d(m.components),p(m.layout)})})},[h,v]),$e.jsx($e.Fragment,{children:$e.jsx(Fje,{children:$e.jsxs("div",{className:"mi-container",children:[$e.jsx("div",{className:"mi-workspace",style:{backgroundColor:"red"},children:$e.jsx(gje,{componentLibrary:i,components:u,layout:D})}),$e.jsx("div",{className:"mi-toolspace",style:{backgroundColor:"lightgray"},children:$e.jsx(hje,{componentLibrary:i})})]})})})},Eje=fu.div`
|
|
2389
2389
|
.mi-container {
|
|
2390
2390
|
display: flex;
|
|
2391
2391
|
flex-direction: row;
|
|
@@ -2404,4 +2404,4 @@ Using plugins:`),Re.forEach(function(me){Vht(me,ae,fe)}),I||console.log("\nUsing
|
|
|
2404
2404
|
flex-grow: 1;
|
|
2405
2405
|
overflow: auto;
|
|
2406
2406
|
}
|
|
2407
|
-
`,Cje=()=>{const[i,o]=cr.useState([]),[u,d]=cr.useState([]),{projectMetadata:D,config:p}=sp(),h=async()=>{await AG(D.projectName,D.
|
|
2407
|
+
`,Cje=()=>{const[i,o]=cr.useState([]),[u,d]=cr.useState([]),{projectMetadata:D,config:p}=sp(),h=async()=>{await AG(D.projectName,D.projectURL,p.CORS_PROXY),await vbe(D.projectName);const E=await VX(D.projectName);o(E.components),d(E.layout)};return cr.useEffect(()=>{!D.projectName&&!D.projectURL||h()},[D.projectName,D.projectURL]),$e.jsx($e.Fragment,{children:$e.jsx(Eje,{children:$e.jsx("div",{className:"mi-container",children:$e.jsx("div",{className:"mi-workspace",style:{backgroundColor:"red"},children:$e.jsx(sje,{components:i,layout:u})})})})})},bje=()=>{typeof window<"u"&&(window.Buffer=g6.Buffer,window.fs=new fFe("fs"),window.pfs=window.fs.promises,window.miDir="/mi")};qs.MakeInfinite=vje,qs.MiniApp=Cje,qs.ProjectProvider=X9e,qs.getTags=RG,qs.initializeMakeInfinite=bje,Object.defineProperty(qs,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@spaceandtimelabs/makeinfinite-ui",
|
|
3
3
|
"author": "aw-sxt",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.11.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@mui/icons-material": "^6.1.3",
|
|
35
35
|
"@mui/material": "^6.1.3",
|
|
36
36
|
"buffer": "^6.0.3",
|
|
37
|
+
"ethers": "5.0.0",
|
|
37
38
|
"isomorphic-git": "^1.27.1",
|
|
38
39
|
"lodash": "^4.17.21",
|
|
39
40
|
"react-ace": "^9.5.0",
|
|
@@ -69,5 +70,9 @@
|
|
|
69
70
|
"typescript-eslint": "^8.7.0",
|
|
70
71
|
"vite": "^5.4.8",
|
|
71
72
|
"vite-plugin-dts": "^4.2.4"
|
|
73
|
+
},
|
|
74
|
+
"resolutions": {
|
|
75
|
+
"elliptic": "^6.5.7",
|
|
76
|
+
"ws": "^7.5.10"
|
|
72
77
|
}
|
|
73
78
|
}
|