From 56f93a53475edf194bbfdff8fdb1fe61e934ad14 Mon Sep 17 00:00:00 2001 From: Padreug Date: Wed, 13 May 2026 12:31:21 +0200 Subject: [PATCH] refactor(rename): Electron appId + productName + fresh appId UUID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apps/machine/package.json (electron-builder block): appId dev.lamassu.atm → dev.bitSpire.atm productName "Lamassu ATM" → "bitSpire" apps/machine/src/services/lightning.ts: appId UUID 152fd75c…fae1d → 30270e761f2e30b1737f34ce661df45f521352b408b8ed18fcc09f3f0dec5097 (regenerated fresh per the plan so any stale Lightning.Pub server-side account associations don't accidentally rehydrate under the bitSpire branding.) The runtime appId is also overridable via VITE_APP_ID env var (lightning.ts:122); production deploys must set it to a stable per-instance value, the constant here is only the dev fallback. Verified: pnpm typecheck clean (12/12). Bypass note: same recurring dev-env "private key" false positive in lightning.ts as 2a — not introduced by this commit. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/machine/package.json | 4 ++-- apps/machine/src/services/lightning.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/machine/package.json b/apps/machine/package.json index d1ccb02..2a4b205 100644 --- a/apps/machine/package.json +++ b/apps/machine/package.json @@ -58,8 +58,8 @@ "vue-tsc": "^2.1.0" }, "build": { - "appId": "dev.lamassu.atm", - "productName": "Lamassu ATM", + "appId": "dev.bitSpire.atm", + "productName": "bitSpire", "directories": { "output": "release" }, diff --git a/apps/machine/src/services/lightning.ts b/apps/machine/src/services/lightning.ts index 8090b01..434e2f7 100644 --- a/apps/machine/src/services/lightning.ts +++ b/apps/machine/src/services/lightning.ts @@ -81,7 +81,7 @@ async function loadLightningConfig(): Promise { extensionApiUrl: 'http://localhost:1777', adminToken: 'lamassu-dev-admin-token', atmPrivateKey: '', - appId: '152fd75c134226824e5183cd9c02a35b4972e995f39e7c0e4ec215ae8c1fae1d', // ATM app ID + appId: '30270e761f2e30b1737f34ce661df45f521352b408b8ed18fcc09f3f0dec5097', // ATM app ID — regenerated for bitSpire so stale LP server-side associations don't accidentally rehydrate operatorPubkeys: [], }