@arbiwallet/contracts 1.0.44 → 1.0.46
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 +8 -1
- package/gen/payout.ts +1 -0
- package/package.json +1 -1
- package/proto/ledger.proto +3 -0
- package/proto/payout.proto +2 -1
package/gen/ledger.ts
CHANGED
|
@@ -228,7 +228,14 @@ export interface UpdateWithdrawalStatusRequest {
|
|
|
228
228
|
| string
|
|
229
229
|
| undefined;
|
|
230
230
|
/** Сырой JSON от custody/webhook для аудита. */
|
|
231
|
-
rawPayloadJson?:
|
|
231
|
+
rawPayloadJson?:
|
|
232
|
+
| string
|
|
233
|
+
| undefined;
|
|
234
|
+
/**
|
|
235
|
+
* Тот же request_id, что при RegisterWithdrawal (UUID заявки). Нужен, если в Ledger
|
|
236
|
+
* external_withdrawal_id = request_id от withdrawal_service, а custody шлёт BitGo transfer id.
|
|
237
|
+
*/
|
|
238
|
+
withdrawRequestId?: string | undefined;
|
|
232
239
|
}
|
|
233
240
|
|
|
234
241
|
export interface UpdateWithdrawalStatusResponse {
|
package/gen/payout.ts
CHANGED
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.46",
|
|
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
|
@@ -204,6 +204,9 @@ message UpdateWithdrawalStatusRequest {
|
|
|
204
204
|
string new_status = 3; // Целевой статус (строка enum Prisma/ledger).
|
|
205
205
|
optional string tx_hash = 4;
|
|
206
206
|
optional string raw_payload_json = 5; // Сырой JSON от custody/webhook для аудита.
|
|
207
|
+
// Тот же request_id, что при RegisterWithdrawal (UUID заявки). Нужен, если в Ledger
|
|
208
|
+
// external_withdrawal_id = request_id от withdrawal_service, а custody шлёт BitGo transfer id.
|
|
209
|
+
optional string withdraw_request_id = 6;
|
|
207
210
|
}
|
|
208
211
|
|
|
209
212
|
message UpdateWithdrawalStatusResponse {
|
package/proto/payout.proto
CHANGED