Skip to content

Commit

Permalink
Fix typo on request_id
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed Dec 10, 2024
1 parent 6c86b0f commit 6370829
Show file tree
Hide file tree
Showing 31 changed files with 10 additions and 474 deletions.
16 changes: 0 additions & 16 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,22 +194,6 @@ <h1 id="document-not-found-404"><a class="header" href="#document-not-found-404"

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,22 +207,6 @@ <h2 id="mostro_coreaction"><a class="header" href="#mostro_coreaction">mostro_co

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions admin_add_solver.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,22 +228,6 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions admin_cancel_order.html
Original file line number Diff line number Diff line change
Expand Up @@ -272,22 +272,6 @@ <h2 id="mostro-updates-addressable-events"><a class="header" href="#mostro-updat

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions admin_settle_order.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,22 +299,6 @@ <h2 id="payment-of-the-buyers-invoice"><a class="header" href="#payment-of-the-b

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions cancel.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,22 +331,6 @@ <h2 id="cancel-cooperatively"><a class="header" href="#cancel-cooperatively">Can

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions dispute.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,22 +316,6 @@ <h2 id="mostro-send-a-addressable-event-to-show-the-dispute"><a class="header" h

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions fiatsent.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,22 +284,6 @@ <h2 id="mostro-response"><a class="header" href="#mostro-response">Mostro respon

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
20 changes: 2 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h2 id="communication-between-users-and-mostro"><a class="header" href="#communi
<ul>
<li><code>version</code>: Version of the protocol, currently <code>1</code></li>
<li><code>id</code>: (optional) Wrapper Id</li>
<li><code>require_id</code>: (optional) Mostro daemon should send back this same id in the response</li>
<li><code>request_id</code>: (optional) Mostro daemon should send back this same id in the response</li>
<li><code>trade_index</code>: (optional) This field is used by users who wants to maintain reputation, it should be the index of the trade in the user's trade history</li>
<li><a href="https://docs.rs/mostro-core/latest/mostro_core/message/enum.Action.html">action</a>: Action to be performed by Mostro daemon</li>
<li><a href="https://docs.rs/mostro-core/latest/mostro_core/message/enum.Content.html">payload</a> (optional): Payload of the message, this field is optional and depends on the action</li>
Expand All @@ -194,7 +194,7 @@ <h2 id="communication-between-users-and-mostro"><a class="header" href="#communi
"order": {
"version": 1,
"id": "ede61c96-4c13-4519-bf3a-dcf7f1e9d842",
"require_id": "12345",
"request_id": "12345",
"trade_index": 1,
"action": "fiat-sent",
"payload": null
Expand Down Expand Up @@ -225,22 +225,6 @@ <h2 id="communication-between-users-and-mostro"><a class="header" href="#communi

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions key_management.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,22 +359,6 @@ <h3 id="full-privacy-mode"><a class="header" href="#full-privacy-mode">Full priv

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions list_disputes.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,22 +225,6 @@ <h1 id="listing-disputes"><a class="header" href="#listing-disputes">Listing Dis

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions list_orders.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,22 +234,6 @@ <h1 id="listing-orders"><a class="header" href="#listing-orders">Listing Orders<

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions message_suggestions_for_actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,22 +337,6 @@ <h1 id="message-suggestions-for-some-actions"><a class="header" href="#message-s

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions new_buy_order.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,22 +301,6 @@ <h2 id="creating-the-order-with-a-lightning-invoice"><a class="header" href="#cr

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions new_buy_order_ln_address.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,22 +292,6 @@ <h2 id="confirmation-message"><a class="header" href="#confirmation-message">Con

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
16 changes: 0 additions & 16 deletions new_sell_order.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,22 +296,6 @@ <h2 id="confirmation-message"><a class="header" href="#confirmation-message">Con

</div>

<!-- Livereload script (if served using the cli tool) -->
<script>
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
const socket = new WebSocket(wsAddress);
socket.onmessage = function (event) {
if (event.data === "reload") {
socket.close();
location.reload();
}
};

window.onbeforeunload = function() {
socket.close();
}
</script>



Expand Down
Loading

0 comments on commit 6370829

Please sign in to comment.