mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-12-16 00:33:56 -05:00
bump version to v0.0.38, update dist
This commit is contained in:
parent
56bb450469
commit
d9954ab288
8 changed files with 186 additions and 8 deletions
8
dist/protobuf/grpc_pb.d.ts
vendored
8
dist/protobuf/grpc_pb.d.ts
vendored
|
|
@ -2817,6 +2817,9 @@ export class TradeInfo extends jspb.Message {
|
|||
getIsDepositsUnlocked(): boolean;
|
||||
setIsDepositsUnlocked(value: boolean): TradeInfo;
|
||||
|
||||
getIsDepositsFinalized(): boolean;
|
||||
setIsDepositsFinalized(value: boolean): TradeInfo;
|
||||
|
||||
getIsPaymentSent(): boolean;
|
||||
setIsPaymentSent(value: boolean): TradeInfo;
|
||||
|
||||
|
|
@ -2832,6 +2835,9 @@ export class TradeInfo extends jspb.Message {
|
|||
getIsPayoutUnlocked(): boolean;
|
||||
setIsPayoutUnlocked(value: boolean): TradeInfo;
|
||||
|
||||
getIsPayoutFinalized(): boolean;
|
||||
setIsPayoutFinalized(value: boolean): TradeInfo;
|
||||
|
||||
getIsCompleted(): boolean;
|
||||
setIsCompleted(value: boolean): TradeInfo;
|
||||
|
||||
|
|
@ -2901,11 +2907,13 @@ export namespace TradeInfo {
|
|||
isDepositsPublished: boolean,
|
||||
isDepositsConfirmed: boolean,
|
||||
isDepositsUnlocked: boolean,
|
||||
isDepositsFinalized: boolean,
|
||||
isPaymentSent: boolean,
|
||||
isPaymentReceived: boolean,
|
||||
isPayoutPublished: boolean,
|
||||
isPayoutConfirmed: boolean,
|
||||
isPayoutUnlocked: boolean,
|
||||
isPayoutFinalized: boolean,
|
||||
isCompleted: boolean,
|
||||
contractAsJson: string,
|
||||
contract?: ContractInfo.AsObject,
|
||||
|
|
|
|||
60
dist/protobuf/grpc_pb.js
vendored
60
dist/protobuf/grpc_pb.js
vendored
|
|
@ -24033,11 +24033,13 @@ disputeState: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|||
isDepositsPublished: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
||||
isDepositsConfirmed: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
||||
isDepositsUnlocked: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
|
||||
isDepositsFinalized: jspb.Message.getBooleanFieldWithDefault(msg, 43, false),
|
||||
isPaymentSent: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
|
||||
isPaymentReceived: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
|
||||
isPayoutPublished: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
|
||||
isPayoutConfirmed: jspb.Message.getBooleanFieldWithDefault(msg, 31, false),
|
||||
isPayoutUnlocked: jspb.Message.getBooleanFieldWithDefault(msg, 32, false),
|
||||
isPayoutFinalized: jspb.Message.getBooleanFieldWithDefault(msg, 44, false),
|
||||
isCompleted: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
|
||||
contractAsJson: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
||||
contract: (f = msg.getContract()) && proto.io.haveno.protobuffer.ContractInfo.toObject(includeInstance, f),
|
||||
|
|
@ -24193,6 +24195,10 @@ proto.io.haveno.protobuffer.TradeInfo.deserializeBinaryFromReader = function(msg
|
|||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsDepositsUnlocked(value);
|
||||
break;
|
||||
case 43:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsDepositsFinalized(value);
|
||||
break;
|
||||
case 28:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsPaymentSent(value);
|
||||
|
|
@ -24213,6 +24219,10 @@ proto.io.haveno.protobuffer.TradeInfo.deserializeBinaryFromReader = function(msg
|
|||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsPayoutUnlocked(value);
|
||||
break;
|
||||
case 44:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsPayoutFinalized(value);
|
||||
break;
|
||||
case 33:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsCompleted(value);
|
||||
|
|
@ -24473,6 +24483,13 @@ proto.io.haveno.protobuffer.TradeInfo.serializeBinaryToWriter = function(message
|
|||
f
|
||||
);
|
||||
}
|
||||
f = message.getIsDepositsFinalized();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
43,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getIsPaymentSent();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
|
|
@ -24508,6 +24525,13 @@ proto.io.haveno.protobuffer.TradeInfo.serializeBinaryToWriter = function(message
|
|||
f
|
||||
);
|
||||
}
|
||||
f = message.getIsPayoutFinalized();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
44,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getIsCompleted();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
|
|
@ -25087,6 +25111,24 @@ proto.io.haveno.protobuffer.TradeInfo.prototype.setIsDepositsUnlocked = function
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool is_deposits_finalized = 43;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradeInfo.prototype.getIsDepositsFinalized = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 43, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.io.haveno.protobuffer.TradeInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradeInfo.prototype.setIsDepositsFinalized = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 43, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool is_payment_sent = 28;
|
||||
* @return {boolean}
|
||||
|
|
@ -25177,6 +25219,24 @@ proto.io.haveno.protobuffer.TradeInfo.prototype.setIsPayoutUnlocked = function(v
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool is_payout_finalized = 44;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradeInfo.prototype.getIsPayoutFinalized = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 44, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.io.haveno.protobuffer.TradeInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradeInfo.prototype.setIsPayoutFinalized = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 44, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool is_completed = 33;
|
||||
* @return {boolean}
|
||||
|
|
|
|||
2
dist/protobuf/grpc_pb.js.map
vendored
2
dist/protobuf/grpc_pb.js.map
vendored
File diff suppressed because one or more lines are too long
16
dist/protobuf/pb_pb.d.ts
vendored
16
dist/protobuf/pb_pb.d.ts
vendored
|
|
@ -1490,6 +1490,9 @@ export class PaymentReceivedMessage extends jspb.Message {
|
|||
getSellerSignature_asB64(): string;
|
||||
setSellerSignature(value: Uint8Array | string): PaymentReceivedMessage;
|
||||
|
||||
getPayoutTxId(): string;
|
||||
setPayoutTxId(value: string): PaymentReceivedMessage;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PaymentReceivedMessage.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PaymentReceivedMessage): PaymentReceivedMessage.AsObject;
|
||||
|
|
@ -1511,6 +1514,7 @@ export namespace PaymentReceivedMessage {
|
|||
buyerSignedWitness?: SignedWitness.AsObject,
|
||||
paymentSentMessage?: PaymentSentMessage.AsObject,
|
||||
sellerSignature: Uint8Array | string,
|
||||
payoutTxId: string,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -6306,6 +6310,7 @@ export namespace Trade {
|
|||
DEPOSIT_TXS_SEEN_IN_NETWORK = 13,
|
||||
DEPOSIT_TXS_CONFIRMED_IN_BLOCKCHAIN = 14,
|
||||
DEPOSIT_TXS_UNLOCKED_IN_BLOCKCHAIN = 15,
|
||||
DEPOSIT_TXS_FINALIZED_IN_BLOCKCHAIN = 28,
|
||||
BUYER_CONFIRMED_PAYMENT_SENT = 16,
|
||||
BUYER_SENT_PAYMENT_SENT_MSG = 17,
|
||||
BUYER_SEND_FAILED_PAYMENT_SENT_MSG = 18,
|
||||
|
|
@ -6327,6 +6332,7 @@ export namespace Trade {
|
|||
DEPOSITS_PUBLISHED = 3,
|
||||
DEPOSITS_CONFIRMED = 4,
|
||||
DEPOSITS_UNLOCKED = 5,
|
||||
DEPOSITS_FINALIZED = 8,
|
||||
PAYMENT_SENT = 6,
|
||||
PAYMENT_RECEIVED = 7,
|
||||
}
|
||||
|
|
@ -6336,11 +6342,13 @@ export namespace Trade {
|
|||
PAYOUT_PUBLISHED = 1,
|
||||
PAYOUT_CONFIRMED = 2,
|
||||
PAYOUT_UNLOCKED = 3,
|
||||
PAYOUT_FINALIZED = 4,
|
||||
}
|
||||
|
||||
export enum DisputeState {
|
||||
PB_ERROR_DISPUTE_STATE = 0,
|
||||
NO_DISPUTE = 1,
|
||||
DISPUTE_PREPARING = 15,
|
||||
DISPUTE_REQUESTED = 2,
|
||||
DISPUTE_OPENED = 3,
|
||||
ARBITRATOR_SENT_DISPUTE_CLOSED_MSG = 4,
|
||||
|
|
@ -6541,6 +6549,12 @@ export class ProcessModel extends jspb.Message {
|
|||
getImportMultisigHexScheduled(): boolean;
|
||||
setImportMultisigHexScheduled(value: boolean): ProcessModel;
|
||||
|
||||
getPaymentSentPayoutTxStale(): boolean;
|
||||
setPaymentSentPayoutTxStale(value: boolean): ProcessModel;
|
||||
|
||||
getErrorOnPaymentReceivedMsg(): boolean;
|
||||
setErrorOnPaymentReceivedMsg(value: boolean): ProcessModel;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProcessModel.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProcessModel): ProcessModel.AsObject;
|
||||
|
|
@ -6571,6 +6585,8 @@ export namespace ProcessModel {
|
|||
tradeProtocolErrorHeight: number,
|
||||
tradeFeeAddress: string,
|
||||
importMultisigHexScheduled: boolean,
|
||||
paymentSentPayoutTxStale: boolean,
|
||||
errorOnPaymentReceivedMsg: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
100
dist/protobuf/pb_pb.js
vendored
100
dist/protobuf/pb_pb.js
vendored
|
|
@ -15332,7 +15332,8 @@ deferPublishPayout: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|||
buyerAccountAgeWitness: (f = msg.getBuyerAccountAgeWitness()) && proto.io.haveno.protobuffer.AccountAgeWitness.toObject(includeInstance, f),
|
||||
buyerSignedWitness: (f = msg.getBuyerSignedWitness()) && proto.io.haveno.protobuffer.SignedWitness.toObject(includeInstance, f),
|
||||
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.haveno.protobuffer.PaymentSentMessage.toObject(includeInstance, f),
|
||||
sellerSignature: msg.getSellerSignature_asB64()
|
||||
sellerSignature: msg.getSellerSignature_asB64(),
|
||||
payoutTxId: jspb.Message.getFieldWithDefault(msg, 12, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
|
@ -15417,6 +15418,10 @@ proto.io.haveno.protobuffer.PaymentReceivedMessage.deserializeBinaryFromReader =
|
|||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setSellerSignature(value);
|
||||
break;
|
||||
case 12:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPayoutTxId(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
|
@ -15527,6 +15532,13 @@ proto.io.haveno.protobuffer.PaymentReceivedMessage.serializeBinaryToWriter = fun
|
|||
f
|
||||
);
|
||||
}
|
||||
f = message.getPayoutTxId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
12,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -15828,6 +15840,24 @@ proto.io.haveno.protobuffer.PaymentReceivedMessage.prototype.setSellerSignature
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string payout_tx_id = 12;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.PaymentReceivedMessage.prototype.getPayoutTxId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.haveno.protobuffer.PaymentReceivedMessage} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.PaymentReceivedMessage.prototype.setPayoutTxId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 12, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -50763,6 +50793,7 @@ proto.io.haveno.protobuffer.Trade.State = {
|
|||
DEPOSIT_TXS_SEEN_IN_NETWORK: 13,
|
||||
DEPOSIT_TXS_CONFIRMED_IN_BLOCKCHAIN: 14,
|
||||
DEPOSIT_TXS_UNLOCKED_IN_BLOCKCHAIN: 15,
|
||||
DEPOSIT_TXS_FINALIZED_IN_BLOCKCHAIN: 28,
|
||||
BUYER_CONFIRMED_PAYMENT_SENT: 16,
|
||||
BUYER_SENT_PAYMENT_SENT_MSG: 17,
|
||||
BUYER_SEND_FAILED_PAYMENT_SENT_MSG: 18,
|
||||
|
|
@ -50787,6 +50818,7 @@ proto.io.haveno.protobuffer.Trade.Phase = {
|
|||
DEPOSITS_PUBLISHED: 3,
|
||||
DEPOSITS_CONFIRMED: 4,
|
||||
DEPOSITS_UNLOCKED: 5,
|
||||
DEPOSITS_FINALIZED: 8,
|
||||
PAYMENT_SENT: 6,
|
||||
PAYMENT_RECEIVED: 7
|
||||
};
|
||||
|
|
@ -50798,7 +50830,8 @@ proto.io.haveno.protobuffer.Trade.PayoutState = {
|
|||
PAYOUT_UNPUBLISHED: 0,
|
||||
PAYOUT_PUBLISHED: 1,
|
||||
PAYOUT_CONFIRMED: 2,
|
||||
PAYOUT_UNLOCKED: 3
|
||||
PAYOUT_UNLOCKED: 3,
|
||||
PAYOUT_FINALIZED: 4
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -50807,6 +50840,7 @@ proto.io.haveno.protobuffer.Trade.PayoutState = {
|
|||
proto.io.haveno.protobuffer.Trade.DisputeState = {
|
||||
PB_ERROR_DISPUTE_STATE: 0,
|
||||
NO_DISPUTE: 1,
|
||||
DISPUTE_PREPARING: 15,
|
||||
DISPUTE_REQUESTED: 2,
|
||||
DISPUTE_OPENED: 3,
|
||||
ARBITRATOR_SENT_DISPUTE_CLOSED_MSG: 4,
|
||||
|
|
@ -52318,7 +52352,9 @@ buyerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|||
sellerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
||||
tradeProtocolErrorHeight: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
||||
tradeFeeAddress: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
||||
importMultisigHexScheduled: jspb.Message.getBooleanFieldWithDefault(msg, 20, false)
|
||||
importMultisigHexScheduled: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
||||
paymentSentPayoutTxStale: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
||||
errorOnPaymentReceivedMsg: jspb.Message.getBooleanFieldWithDefault(msg, 22, false)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
|
@ -52440,6 +52476,14 @@ proto.io.haveno.protobuffer.ProcessModel.deserializeBinaryFromReader = function(
|
|||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setImportMultisigHexScheduled(value);
|
||||
break;
|
||||
case 21:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setPaymentSentPayoutTxStale(value);
|
||||
break;
|
||||
case 22:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setErrorOnPaymentReceivedMsg(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
|
@ -52614,6 +52658,20 @@ proto.io.haveno.protobuffer.ProcessModel.serializeBinaryToWriter = function(mess
|
|||
f
|
||||
);
|
||||
}
|
||||
f = message.getPaymentSentPayoutTxStale();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
21,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getErrorOnPaymentReceivedMsg();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
22,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -53144,6 +53202,42 @@ proto.io.haveno.protobuffer.ProcessModel.prototype.setImportMultisigHexScheduled
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool payment_sent_payout_tx_stale = 21;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.getPaymentSentPayoutTxStale = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.setPaymentSentPayoutTxStale = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 21, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool error_on_payment_received_msg = 22;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.getErrorOnPaymentReceivedMsg = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.setErrorOnPaymentReceivedMsg = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 22, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
|
|
|
|||
2
dist/protobuf/pb_pb.js.map
vendored
2
dist/protobuf/pb_pb.js.map
vendored
File diff suppressed because one or more lines are too long
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.37",
|
||||
"version": "0.0.38",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.37",
|
||||
"version": "0.0.38",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@types/node": "^18.14.2",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.37",
|
||||
"version": "0.0.38",
|
||||
"description": "Haveno TypeScript client",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue