@vault77/summon 2.0.1 → 2.0.2

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
@@ -4,7 +4,7 @@
4
4
  ![Node](https://img.shields.io/badge/node-%3E%3D18.x-brightgreen)
5
5
  ![Platform](https://img.shields.io/badge/platform-macOS-blue)
6
6
 
7
- **Version:** 2.0.1
7
+ **Version:** 2.0.2
8
8
 
9
9
  > _Relic software unearthed from VAULT77.
10
10
  > For trench operators only. macOS‑native. Handle with care._
package/lib/config.js CHANGED
@@ -239,7 +239,7 @@ export async function loadConfig() {
239
239
  let cfg;
240
240
  try {
241
241
  cfg = await fs.readJson(configPath);
242
- } catch (err) {
242
+ } catch {
243
243
  let backupPath;
244
244
  try {
245
245
  if (await fs.pathExists(configPath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vault77/summon",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A recovered VAULT77 relic for macOS operators. summonTheWarlord is a high-performance CLI tool for ultra-fast, low-fee Solana swaps on macOS. Private keys are secured using the native macOS Keychain, never written to disk or exposed to JavaScript memory longer than required. Built for serious CLI workflows with system notifications, local-first execution, and zero browser dependency.",
5
5
  "keywords": [
6
6
  "solana",
@@ -47,11 +47,10 @@
47
47
  "lint:fix": "eslint . --fix"
48
48
  },
49
49
  "devDependencies": {
50
- "eslint": "^8.57.1",
51
- "eslint-config-standard": "^17.1.0",
50
+ "@eslint/js": "^9.39.2",
51
+ "eslint": "^9.39.2",
52
52
  "eslint-plugin-import": "^2.32.0",
53
- "eslint-plugin-n": "^16.6.2",
54
- "eslint-plugin-promise": "^6.6.0",
53
+ "globals": "^17.1.0",
55
54
  "jest": "^30.2.0"
56
55
  },
57
56
  "dependencies": {
@@ -61,7 +60,6 @@
61
60
  "commander": "^14.0.2",
62
61
  "fs-extra": "^11.3.3",
63
62
  "keytar": "^7.9.0",
64
- "npm": "^11.8.0",
65
63
  "open": "^11.0.0",
66
64
  "solana-swap": "1.3.0"
67
65
  }
package/summon-cli.js CHANGED
@@ -659,13 +659,13 @@ program
659
659
  // Try base58 format
660
660
  const bytes = bs58.decode(rawKey);
661
661
  keypair = Keypair.fromSecretKey(bytes);
662
- } catch (err) {
662
+ } catch {
663
663
  try {
664
664
  // Try JSON array format
665
665
  const arr = JSON.parse(rawKey);
666
666
  if (!Array.isArray(arr)) throw new Error("Not an array");
667
667
  keypair = Keypair.fromSecretKey(Uint8Array.from(arr));
668
- } catch (jsonErr) {
668
+ } catch {
669
669
  throw new Error("Private key is neither base58 nor valid JSON array.");
670
670
  }
671
671
  }