Skip to content

Commit 43dcca9

Browse files
committed
version bump 0.299
1 parent 771eb8f commit 43dcca9

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

assets_js_bitrequest_core.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4492,21 +4492,21 @@ function check_intents(encoded_scheme) {
44924492
}, 1500);
44934493
return
44944494
}
4495-
if (protocol == "lndconnect" || protocol == "clnrest") {
4496-
const implementation = (protocol === "lndconnect") ? "lnd" :
4495+
if (protocol === "lndconnect" || protocol === "clnrest") {
4496+
const imp = (protocol === "lndconnect") ? "lnd" :
44974497
(protocol === "clnrest") ? "core-lightning" : protocol,
44984498
connection_data = renderlnconnect(decoded_url);
44994499
if (connection_data) {
45004500
const rest_url = connection_data.resturl,
4501-
macaroon_data = connection_data.macaroon || scheme_obj.rune;
4501+
macaroon = connection_data.macaroon || scheme_obj.rune;
45024502
// wait for settings to be rendered
4503-
if (rest_url && macaroon_data) {
4503+
if (rest_url && macaroon) {
45044504
setTimeout(function() {
45054505
render_lightning_interface();
45064506
ln_connect({
45074507
"lnconnect": btoa(rest_url),
4508-
"macaroon": macaroon_data,
4509-
"imp": implementation
4508+
macaroon,
4509+
imp
45104510
});
45114511
}, 1500);
45124512
return

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2 class="heading tl_page3">Settings</h2>
8585
<ul id="appsettings" class="settinglist applist listyle2">
8686
</ul>
8787
<div id="app_info">
88-
<p><span id="ua">PWA v0.298</span><br />
88+
<p><span id="ua">PWA v0.299</span><br />
8989
<a href="https://github.com/bitrequest/bitrequest.github.io/" target="_blank" class="exit">Source code</a><br />
9090
<a href="https://github.com/bitrequest/bitrequest.github.io/wiki" target="_blank" class="exit">About</a><br />
9191
<a href="https://www.bitrequest.io/privacy" target="_blank" class="exit">Privacy / Disclaimer</a><br />

proxy/v1/ln/api/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ function create_invoice($imp, $pid, $host, $key, $amount, $memo, $type, $pingtes
585585
}
586586

587587
if ($imp === "spark") {
588-
$result = spark_create_invoice($key, (int)$amount, $memo, $desc_hash, true);
588+
$result = spark_create_invoice($key, (int)$amount, $memo, $desc_hash, 300);
589589
if (isset($result["error"])) {
590590
return r_err("spark: " . $result["error"], null);
591591
}

serviceworker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CACHE = "bitrequest-page-v0.298",
1+
const CACHE = "bitrequest-page-v0.299",
22
offlineFallbackPage = "index.html";
33

44
// Install: cache core assets with new version

0 commit comments

Comments
 (0)