aboutsummaryrefslogtreecommitdiffstats
path: root/names/translate.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-16 16:33:53 -0700
committerAdam Soltys <[email protected]>2026-10-16 16:33:53 -0700
commit13da0eda3b972eafb3962960165f73181497b7e5 (patch)
treee12eb5732ed05dc32794a82ab5ed1309c6ecb0a3 /names/translate.js
parent35c974e4255006ae0a99f6f900a373613af35fd0 (diff)
downloadcoinosv3-server-13da0eda3b972eafb3962960165f73181497b7e5.tar.gz
coinosv3-server-13da0eda3b972eafb3962960165f73181497b7e5.zip
coinosv3 → 73bffd9: the services run the wallet's current Ark code; names/vendor/ goes.
The pin had stayed at 082fc2e (Sep 14) while the app's Ark manager moved on — renewals priced at a 300-sat base fee and re-priced on "insufficient refresh fee", expiry-aware coin selection, standing (scheduled) renewals merged by unlock hash, policy-aware freeing of in-flight coins — so the registrar's forwarder float was a month behind the wallets it forwards to. The manager's constructor, the methods the services call (balance, sync, refresh, send, address, createLnInvoice, driveLn, startBoard, pendingActions, htlcClaim, htlcCosignRefund, _key) and the storage contract (load → state or null, save ← state) are unchanged between the two commits, and nothing new is imported from a package the server lacks. names/translate.js imports translate-split.js from the submodule now, as feed/cache.js already did lang-guess.js: the vendored copies were byte-equal to what the pin now carries. The README's note about them goes with them. Resolve-checked every service entry (bun build --target=bun); the moved tests (registry-ownership, public-feed-cache) and the bun-test files (deepl-translate, names/store) pass. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01J1Kon8bxJoHRpJdSzshCkp
Diffstat (limited to 'names/translate.js')
-rw-r--r--names/translate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/names/translate.js b/names/translate.js
index bcc47d9..dd44535 100644
--- a/names/translate.js
+++ b/names/translate.js
@@ -3,7 +3,7 @@
// passes through here; the cache keys on the text itself, so a popular post
// is translated once whoever asks.
import { createHash } from 'node:crypto';
-import { translatable, translatePieces } from './vendor/translate-split.js';
+import { translatable, translatePieces } from '../coinosv3/src/translate-split.js';
const LT = process.env.LT_URL || 'http://libretranslate:5000';
const MAX_CHARS = 5000;