Skip to content

Commit c7c0407

Browse files
committed
docs: update requestId doc
1 parent 131e38f commit c7c0407

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "krist",
3-
"version": "3.5.0",
3+
"version": "3.5.1",
44
"description": "The new Krist node written in TypeScript.",
55
"type": "module",
66
"scripts": {

src/webserver/routes/transactions.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,11 @@ export default (): Router => {
249249
* @apiGroup TransactionGroup
250250
* @apiVersion 2.0.0
251251
*
252-
* @apiBody {String} privatekey The privatekey of your
253-
* address.
252+
* @apiBody {String} privatekey The privatekey of your address.
254253
* @apiBody {String} to The recipient of the transaction.
255-
* @apiBody {Number} amount The amount to send to the
256-
* recipient.
257-
* @apiBody {String} [metadata] Optional metadata to include
258-
* in the transaction.
259-
* @apiBody {String} [requestId] Optional request ID to use
260-
* for this transaction. If not provided, a random UUID will
261-
* be generated. Must be a valid UUIDv4 if provided.
254+
* @apiBody {Number} amount The amount to send to the recipient.
255+
* @apiBody {String} [metadata] Optional metadata to include in the transaction.
256+
* @apiBody {String} [requestId] Optional request ID to use for this transaction. Must be a valid UUIDv4 if provided.
262257
*
263258
* @apiUse Transaction
264259
*

src/websockets/routes/transactions.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,11 @@ import { WebSocketEventHandler } from "../types.js";
3232
*
3333
* @apiBody {Number} id
3434
* @apiBody {String="make_transaction"} type
35-
* @apiBody {String} [privatekey] The privatekey of your
36-
* address.
35+
* @apiBody {String} [privatekey] The privatekey of your address.
3736
* @apiBody {String} to The recipient of the transaction.
38-
* @apiBody {Number} amount The amount to send to the
39-
* recipient.
40-
* @apiBody {String} [metadata] Optional metadata to
41-
* include in the transaction.
42-
* @apiBody {String} [requestId] Optional request ID to use
43-
* for this transaction. If not provided, a random UUID will
44-
* be generated. Must be a valid UUIDv4 if provided.
37+
* @apiBody {Number} amount The amount to send to the recipient.
38+
* @apiBody {String} [metadata] Optional metadata to include in the transaction.
39+
* @apiBody {String} [requestId] Optional request ID to use for this transaction. Must be a valid UUIDv4 if provided.
4540
*
4641
* @apiUse Transaction
4742
*

0 commit comments

Comments
 (0)