diff --git a/.github/workflows/create-release-pr.yaml b/.github/workflows/create-release-pr.yaml index b52c7b37b..6f9a512a6 100644 --- a/.github/workflows/create-release-pr.yaml +++ b/.github/workflows/create-release-pr.yaml @@ -61,7 +61,7 @@ jobs: repo, head: triggeringRefHead, base, - title: latestCommit.commit.message.replace(/\sGitOrigin-RevId.*/, ""), + title: latestCommit.commit.message.replace(/\sGitOrigin-RevId.*/, "").replace(/^(.+)\s\(#[0-9]+\).*/, "$1").substring(0, 30), body: "If this change should result in new package versions please add a changeset before merging. You can do so by clicking the link provided by changeset bot below." }); pr = result.data; @@ -150,7 +150,7 @@ jobs: repo, head: triggeringRefHead, base, - title: latestCommit.commit.message.replace(/\sGitOrigin-RevId.*/, "").substring(0, 30), + title: latestCommit.commit.message.replace(/\sGitOrigin-RevId.*/, "").replace(/^(.+)\s\(#[0-9]+\).*/, "$1").substring(0, 30), body: "If this change should result in new package versions please add a changeset before merging. You can do so by clicking the maintainers link provided by changeset-bot below.\n\nPlease note that changeset-bot appears to produce inconsistent / incorrect results with the latest version of changesets when run locally. Be sure to check that it is correctly mentioning the changed packages in the referenced link, or produce the changeset locally `yarn changeset` and push it to the branch." }); pr = result.data; diff --git a/apps/examples/uma-vasp/src/ReceivingVasp.ts b/apps/examples/uma-vasp/src/ReceivingVasp.ts index 5c993dc50..c6cbc623b 100644 --- a/apps/examples/uma-vasp/src/ReceivingVasp.ts +++ b/apps/examples/uma-vasp/src/ReceivingVasp.ts @@ -249,7 +249,7 @@ export default class ReceivingVasp { } private getUtxoCallback(req: Request, txId: String): string { - const path = "/api/uma/utxoCallback?txId=${txId}"; + const path = `/api/uma/utxoCallback?txId=${txId}`; return `${req.protocol}://${req.hostname}${path}`; } } diff --git a/apps/examples/uma-vasp/src/SendingVasp.ts b/apps/examples/uma-vasp/src/SendingVasp.ts index 0b24404dd..67039225c 100644 --- a/apps/examples/uma-vasp/src/SendingVasp.ts +++ b/apps/examples/uma-vasp/src/SendingVasp.ts @@ -499,10 +499,8 @@ export default class SendingVasp { } private getUtxoCallback(req: Request, txId: string): string { - const protocol = req.protocol; - const host = req.hostname; const path = `/api/uma/utxoCallback?txId=${txId}`; - return `${protocol}://${host}${path}`; + return `${req.protocol}://${req.hostname}${path}`; } private async waitForPaymentCompletion( diff --git a/apps/examples/uma-vasp/src/index.ts b/apps/examples/uma-vasp/src/index.ts index 7eab870db..a3dc7c3ed 100644 --- a/apps/examples/uma-vasp/src/index.ts +++ b/apps/examples/uma-vasp/src/index.ts @@ -36,6 +36,12 @@ app.get("/.well-known/lnurlpubkey", (req, res) => { }); }); +app.post("/api/uma/utxoCallback", (req, res) => { + console.log(`Received UTXO callback for ${req.query.txid}`); + console.log(` ${req.body}`); + res.send("ok"); +}); + // Default 404 handler. app.use(function (req, res, next) { res.status(404); diff --git a/packages/ui/styles/colors.tsx b/packages/ui/styles/colors.tsx index da6ecc903..0f479ef05 100644 --- a/packages/ui/styles/colors.tsx +++ b/packages/ui/styles/colors.tsx @@ -220,16 +220,17 @@ const lightTheme = extend(lightBaseTheme, { text: colors.gray60, }), nav: extendBase(lightBaseTheme, { - text: colors.gray60, + text: colors.gray10, + secondary: colors.secondary, }), content: extendBase(lightBaseTheme, { bg: colors.white, smBg: colors.white, }), controls: extendBase(lightBaseTheme, { - bg: neutral.gray40, - smBg: neutral.gray40, - text: neutral.white, + bg: neutral.gray95, + smBg: neutral.gray95, + text: neutral.gray60, secondary: colors.secondary, }), });