@arbiwallet/contracts 1.0.38 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/ledger.ts +4 -0
- package/package.json +1 -1
- package/proto/ledger.proto +4 -0
package/gen/ledger.ts
CHANGED
|
@@ -361,6 +361,10 @@ export interface InternalTransferRequest {
|
|
|
361
361
|
/** Десятичная строка; списание с available отправителя. */
|
|
362
362
|
amount: string;
|
|
363
363
|
idempotencyKey: string;
|
|
364
|
+
/** Как задан получатель на стороне Gateway: user_id | uid | email | phone | telegram */
|
|
365
|
+
recipientKind: string;
|
|
366
|
+
/** Введённое пользователем значение */
|
|
367
|
+
recipientValue: string;
|
|
364
368
|
}
|
|
365
369
|
|
|
366
370
|
export interface InternalTransferResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbiwallet/contracts",
|
|
3
3
|
"descriptions": "Generate and manage smart contracts for ArbiWallet",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.39",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
package/proto/ledger.proto
CHANGED
|
@@ -330,6 +330,10 @@ message InternalTransferRequest {
|
|
|
330
330
|
string network = 4;
|
|
331
331
|
string amount = 5; // Десятичная строка; списание с available отправителя.
|
|
332
332
|
string idempotency_key = 6;
|
|
333
|
+
// Как задан получатель на стороне Gateway: user_id | uid | email | phone | telegram
|
|
334
|
+
string recipient_kind = 7;
|
|
335
|
+
// Введённое пользователем значение
|
|
336
|
+
string recipient_value = 8;
|
|
333
337
|
}
|
|
334
338
|
|
|
335
339
|
message InternalTransferResponse {
|