@xaidenlabs/uso 1.1.72 → 1.1.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaidenlabs/uso",
3
- "version": "1.1.72",
3
+ "version": "1.1.73",
4
4
  "description": "Universal Solana Development Toolchain. Native or Stealth WSL Mode. Build, test, and deploy without the friction.",
5
5
  "bin": {
6
6
  "uso": "bin/index.js"
@@ -84,13 +84,11 @@ const ensureWalletInteractive = async () => {
84
84
  try {
85
85
  if (stealth.enabled) {
86
86
  // Create wallet inside WSL
87
- const mkdirCmd = "mkdir -p $HOME/.config/solana";
88
- runWsl(mkdirCmd, { distro: stealth.distro });
89
-
90
- // Run solana-keygen inside WSL with interactive mode
91
87
  const { spawnSync } = require("child_process");
88
+
89
+ // Use a login shell (-l) to load full environment, then create wallet
92
90
  const wslCmd = `mkdir -p "$HOME/.config/solana" && solana-keygen new --outfile "$HOME/.config/solana/id.json"`;
93
- const result = spawnSync("wsl", ["-d", stealth.distro, "-e", "bash", "-c", wslCmd], { stdio: "inherit" });
91
+ const result = spawnSync("wsl", ["-d", stealth.distro, "-e", "bash", "-l", "-c", wslCmd], { stdio: "inherit" });
94
92
 
95
93
  // Verify wallet was created in WSL
96
94
  const verifyCmd = runWsl(