Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion installers/windows/Branta.Wix/Package.wxs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="Branta"
Manufacturer="Branta LLC"
Version="0.10.0"
Version="0.10.1"
UpgradeCode="4df52912-9d80-4a14-b98b-33a114a4f5ac">
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "branta",
"productName": "Branta",
"version": "0.10.0",
"version": "0.10.1",
"main": "build/app/main.js",
"author": "Branta LLC",
"description": "Verify your bitcoin payments.",
Expand Down
2 changes: 1 addition & 1 deletion src/app/features/clipboard/base-clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getIcon } from '../../shared/models/wallet.model';
export class BaseClipboardComponent {
getIcon = getIcon;

isAddressClipboardItem(item: ClipboardItem): item is AddressClipboardItem {
isWalletAddressClipboardItem(item: ClipboardItem): item is AddressClipboardItem {
return 'address' in item && 'wallet' in item && 'derivationPath' in item;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<div class="container">
@if (!clipboardItem || isAddressClipboardItem(clipboardItem)) {
@if (!clipboardItem || isWalletAddressClipboardItem(clipboardItem)) {
<div class="header">Clipboard</div>
} @else {
<div class="header">Clipboard: {{ clipboardItem.name }}</div>
}
<div class="content">
@if (clipboardItem) {
@if (isAddressClipboardItem(clipboardItem)) {
@if (isWalletAddressClipboardItem(clipboardItem)) {
<div class="item">
<div class="title">Address:</div>
<app-expandable-text class="value" [text]="clipboardItem.value" [isAddress]="true" />
Expand Down Expand Up @@ -73,7 +73,7 @@
<div class="default">No Bitcoin/Nostr content detected.</div>
}
</div>
@if (clipboardItem && !isPaymentClipboardItem(clipboardItem)) {
@if (clipboardItem && (clipboardItem.type == 'Address' || clipboardItem.type == 'Bolt11')) {
<div class="verify-container">
<button mat-button color="primary" (click)="onVerify()">Verify with Branta Guardrail</button>
<mat-icon class="icon material-symbols-outlined" color="primary" [matTooltip]="verifyTooltip">info</mat-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<div class="text">
<app-expandable-text [text]="item.value" [isAddress]="true" />
</div>
@if (isAddressClipboardItem(item) && item.wallet) {
@if (isWalletAddressClipboardItem(item) && item.wallet) {
<div class="details">
<div class="type">Wallet:</div>
<img [src]="'assets/wallet/icon/' + getIcon(item.wallet).icon" height="20" />
<div class="name">{{ item.wallet.name }}</div>
</div>
} @else if (isAddressClipboardItem(item) && !item.wallet) {
} @else if (isWalletAddressClipboardItem(item) && !item.wallet) {
<div class="secondary">No wallet found.</div>
} @else if (isPaymentClipboardItem(item)) {
<div class="details">
Expand Down
Loading