@arbiwallet/contracts 1.0.24 → 1.0.25
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 +16 -1
- package/package.json +1 -1
- package/proto/ledger.proto +5 -0
package/gen/ledger.ts
CHANGED
|
@@ -270,7 +270,22 @@ export interface GetTransactionFeedRequest {
|
|
|
270
270
|
limit: number;
|
|
271
271
|
/** Курсор для следующей страницы. */
|
|
272
272
|
cursorId?: string | undefined;
|
|
273
|
-
offset?:
|
|
273
|
+
offset?:
|
|
274
|
+
| number
|
|
275
|
+
| undefined;
|
|
276
|
+
/** Фильтр по активу, напр. USDT. */
|
|
277
|
+
asset?:
|
|
278
|
+
| string
|
|
279
|
+
| undefined;
|
|
280
|
+
/** Фильтр по сети, напр. TRON, BSC. */
|
|
281
|
+
network?:
|
|
282
|
+
| string
|
|
283
|
+
| undefined;
|
|
284
|
+
/**
|
|
285
|
+
* Фильтр по «типу» операции для UI: "withdrawal" | "deposit".
|
|
286
|
+
* deposit включает записи reference_type deposit и deposit_hold.
|
|
287
|
+
*/
|
|
288
|
+
referenceKind?: string | undefined;
|
|
274
289
|
}
|
|
275
290
|
|
|
276
291
|
export interface GetTransactionFeedResponse {
|
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.25",
|
|
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
|
@@ -252,6 +252,11 @@ message GetTransactionFeedRequest {
|
|
|
252
252
|
int32 limit = 2;
|
|
253
253
|
optional string cursor_id = 3; // Курсор для следующей страницы.
|
|
254
254
|
optional int32 offset = 4;
|
|
255
|
+
optional string asset = 5; // Фильтр по активу, напр. USDT.
|
|
256
|
+
optional string network = 6; // Фильтр по сети, напр. TRON, BSC.
|
|
257
|
+
// Фильтр по «типу» операции для UI: "withdrawal" | "deposit".
|
|
258
|
+
// deposit включает записи reference_type deposit и deposit_hold.
|
|
259
|
+
optional string reference_kind = 7;
|
|
255
260
|
}
|
|
256
261
|
|
|
257
262
|
message GetTransactionFeedResponse {
|