Compare commits
3 Commits
v3.0.0-alp
...
v3.0.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2dcf0d545 | ||
|
|
212d58f917 | ||
|
|
d1eec80afb |
@@ -664,11 +664,11 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
|||||||
amount: costUSD.toFixed(2),
|
amount: costUSD.toFixed(2),
|
||||||
label: 'Total',
|
label: 'Total',
|
||||||
pending: true,
|
pending: true,
|
||||||
productUrl: `${redirectHostname}/tracker/${this.tx.txid}`,
|
productUrl: `${redirectHostname}/tx/${this.tx.txid}`,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.cashAppPay = await this.payments.cashAppPay(paymentRequest, {
|
this.cashAppPay = await this.payments.cashAppPay(paymentRequest, {
|
||||||
redirectURL: `${redirectHostname}/tracker/${this.tx.txid}`,
|
redirectURL: `${redirectHostname}/tx/${this.tx.txid}`,
|
||||||
referenceId: `accelerator-${this.tx.txid.substring(0, 15)}-${Math.round(new Date().getTime() / 1000)}`
|
referenceId: `accelerator-${this.tx.txid.substring(0, 15)}-${Math.round(new Date().getTime() / 1000)}`
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -227,10 +227,6 @@ export class StateService {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.referrer === 'https://cash.app/' && window.innerWidth < 850 && window.location.pathname.startsWith('/tx/')) {
|
|
||||||
this.router.navigate(['/tracker/' + window.location.pathname.slice(4)]);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.liveMempoolBlockTransactions$ = this.mempoolBlockUpdate$.pipe(scan((transactions: { [txid: string]: TransactionStripped }, change: MempoolBlockUpdate): { [txid: string]: TransactionStripped } => {
|
this.liveMempoolBlockTransactions$ = this.mempoolBlockUpdate$.pipe(scan((transactions: { [txid: string]: TransactionStripped }, change: MempoolBlockUpdate): { [txid: string]: TransactionStripped } => {
|
||||||
if (isMempoolState(change)) {
|
if (isMempoolState(change)) {
|
||||||
const txMap = {};
|
const txMap = {};
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"build-release": "npm run build -- --release --strip",
|
"build-release": "npm run build -- --release --strip",
|
||||||
"check-cargo-version": "VER=$(cat rust-toolchain) ; if ! cargo version | grep \"cargo $VER\" >/dev/null ; then echo -e \"\\033[1;35m[[[[WARNING]]]]: cargo version mismatch with ./rust-toolchain version ($VER)!!!\\033[0m\" >&2; fi",
|
"check-cargo-version": "VER=$(cat rust-toolchain) ; if ! cargo version | grep \"cargo $VER\" >/dev/null ; then echo -e \"\\033[1;35m[[[[WARNING]]]]: cargo version mismatch with ./rust-toolchain version ($VER)!!!\\033[0m\" >&2; fi",
|
||||||
"clean": "rm -rf ./target/ ./node_modules/ *.node package-lock.json",
|
"clean": "rm -rf ./target/ ./node_modules/ *.node package-lock.json",
|
||||||
"to-backend": "FD=${FD:-../../backend/rust-gbt/} ; rm -rf $FD && mkdir $FD && cp index.js index.d.ts package.json *.node $FD",
|
"to-backend": "rm -rf ../../backend/rust-gbt && mkdir ../../backend/rust-gbt && cp index.js index.d.ts package.json *.node ../../backend/rust-gbt",
|
||||||
"prepublishOnly": "napi prepublish -t npm",
|
"prepublishOnly": "napi prepublish -t npm",
|
||||||
"test": "cargo test"
|
"test": "cargo test"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user