commit 5842ae78b49e87153782fa4968fef992dcc5e4b8
parent 01f816c16e14cd5f064b70915c1053c3bf928b6c
Author: Özgür Kesim <oec@codeblau.de>
Date: Wed, 28 Oct 2026 10:30:20 +0100
wallet-webui: set wallet-core build info in the bundle
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/packages/wallet-webui/build.mjs b/packages/wallet-webui/build.mjs
@@ -22,9 +22,11 @@ if ((pwaSqliteTest || extensionSqliteTest) && withoutSqlite) {
}
const sqliteEnabled = !withoutSqlite;
const packageDirectory = fileURLToPath(new URL("./", import.meta.url));
-const { version: packageVersion } = getBuildInfo(packageDirectory);
+const { version: packageVersion, gitHash } = getBuildInfo(packageDirectory);
const defineBuildConstants = (extra = {}) => ({
__WALLET_WEBUI_VERSION__: JSON.stringify(packageVersion),
+ "walletCoreBuildInfo.implementationSemver": JSON.stringify(packageVersion),
+ "walletCoreBuildInfo.implementationGitHash": JSON.stringify(gitHash),
...extra,
});
const dist = new URL("./dist/", import.meta.url);