phala 1.1.21-beta.2 → 1.1.21
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -477,7 +477,7 @@ Family: ${a.name} (${a.total} types)`);let s=a.items.map(i=>({ID:i.id,NAME:i.nam
|
|
|
477
477
|
Compute or verify keccak256 checksums of hex inputs.
|
|
478
478
|
Read from stdin when no arguments are given.
|
|
479
479
|
`),1;try{let r=(await mR(t.stdin)).split(/\s+/).filter(Boolean),o;return r.length===0?o=lR(new Uint8Array(0)):o=Wi(r),t.stdout.write(`${o} -
|
|
480
|
-
`),0}catch(n){return t.fail(n instanceof Error?n.message:"Failed to compute keccak256"),1}}var _h=b({path:["keccak256sum"],meta:vh,schema:Ch,handler:uR});var bR=yR(import.meta.url),vR=gR(bR),CR=hR(vR,"../package.json"),Ua=JSON.parse(fR(CR,"utf-8")),wR="+
|
|
480
|
+
`),0}catch(n){return t.fail(n instanceof Error?n.message:"Failed to compute keccak256"),1}}var _h=b({path:["keccak256sum"],meta:vh,schema:Ch,handler:uR});var bR=yR(import.meta.url),vR=gR(bR),CR=hR(vR,"../package.json"),Ua=JSON.parse(fR(CR,"utf-8")),wR="+9285696",_R=`v${Ua.version}${wR}`,SR=Oo(),$=new zo;$.registerCommand(od);$.registerCommand(fg);$.registerGroup(gg);$.registerCommand(bg);$.registerCommand(_g);$.registerCommand(Ig);$.registerCommand(Pg);$.registerCommand(qd);$.registerCommand(Jf);$.registerCommand(Qf);$.registerCommand(ng);$.registerCommand(sg);$.registerCommand(Dg);$.registerCommand(Nd);$.registerCommand(Bd);$.registerCommand(Nf);$.registerCommand(ki);$.registerCommand(Ei);$.registerCommand(Ri);$.registerCommand(xi);$.registerCommand(Ff);$.registerCommand(_p);$.registerCommand(Ef);$.registerCommand(Zg);$.registerCommand(zf);$.registerCommand(bf);$.registerCommand(_h);$.registerCommand(Md);$.registerGroup(Di.group);for(let e of Di.commands)$.registerCommand(e);$.registerGroup(qs.group);for(let e of qs.commands)$.registerCommand(e);$.registerGroup(Gs.group);for(let e of Gs.commands)$.registerCommand(e);$.registerGroup(ci.group);for(let e of ci.commands)$.registerCommand(e);$.registerGroup(aa.group);for(let e of aa.commands)$.registerCommand(e);for(let e of aa.subgroups??[]){$.registerGroup(e.group);for(let t of e.commands)$.registerCommand(t)}$.registerGroup(li.group);for(let e of li.commands)$.registerCommand(e);$.registerGroup(Vi.group);for(let e of Vi.commands)$.registerCommand(e);$.registerGroup(bi.group);for(let e of bi.commands)$.registerCommand(e);$.registerGroup(Ci.group);for(let e of Ci.commands)$.registerCommand(e);$.registerGroup(_i.group);for(let e of _i.commands)$.registerCommand(e);$.registerGroup(Bi.group);for(let e of Bi.commands)$.registerCommand(e);process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function La(e){e.destroyed||e.writableLength===0||await Promise.race([dR(e,"drain"),new Promise(t=>setTimeout(t,5e3))])}async function kR(){await fp({env:process.env,stderr:process.stderr});let e=await mp({registry:$,argv:process.argv.slice(2),executableName:Ua.name??"phala",version:_R,packageName:Ua.name??"phala",packageVersion:Ua.version,runtime:SR,cwd:process.cwd(),env:process.env,stdout:process.stdout,stderr:process.stderr,stdin:process.stdin});await Promise.all([La(process.stdout),La(process.stderr)]),process.exit(e)}kR().catch(async e=>{console.error("An error occurred:",e),await Promise.all([La(process.stdout),La(process.stderr)]),process.exit(1)});
|
|
481
481
|
/*! Bundled license information:
|
|
482
482
|
|
|
483
483
|
@noble/hashes/esm/utils.js:
|