mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
bump version to v0.0.14, update dist
This commit is contained in:
parent
b2c89fb76a
commit
62f3781bee
4
dist/protobuf/grpc_pb.d.ts
vendored
4
dist/protobuf/grpc_pb.d.ts
vendored
@ -1639,9 +1639,6 @@ export class OfferInfo extends jspb.Message {
|
||||
getSellerSecurityDeposit(): string;
|
||||
setSellerSecurityDeposit(value: string): OfferInfo;
|
||||
|
||||
getOfferFeeTxId(): string;
|
||||
setOfferFeeTxId(value: string): OfferInfo;
|
||||
|
||||
getMakerFee(): string;
|
||||
setMakerFee(value: string): OfferInfo;
|
||||
|
||||
@ -1695,7 +1692,6 @@ export namespace OfferInfo {
|
||||
date: number,
|
||||
state: string,
|
||||
sellerSecurityDeposit: string,
|
||||
offerFeeTxId: string,
|
||||
makerFee: string,
|
||||
isActivated: boolean,
|
||||
isMyOffer: boolean,
|
||||
|
124
dist/protobuf/grpc_pb.js
vendored
124
dist/protobuf/grpc_pb.js
vendored
@ -15332,15 +15332,14 @@ proto.io.haveno.protobuffer.OfferInfo.toObject = function(includeInstance, msg)
|
||||
date: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
||||
state: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
||||
sellerSecurityDeposit: jspb.Message.getFieldWithDefault(msg, 19, "0"),
|
||||
offerFeeTxId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
||||
makerFee: jspb.Message.getFieldWithDefault(msg, 22, "0"),
|
||||
isActivated: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
|
||||
isMyOffer: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
||||
ownerNodeAddress: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
||||
pubKeyRing: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
||||
versionNr: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
||||
protocolVersion: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
||||
arbitratorSigner: jspb.Message.getFieldWithDefault(msg, 29, "")
|
||||
makerFee: jspb.Message.getFieldWithDefault(msg, 20, "0"),
|
||||
isActivated: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
||||
isMyOffer: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
||||
ownerNodeAddress: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
||||
pubKeyRing: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
||||
versionNr: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
||||
protocolVersion: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
||||
arbitratorSigner: jspb.Message.getFieldWithDefault(msg, 27, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@ -15454,38 +15453,34 @@ proto.io.haveno.protobuffer.OfferInfo.deserializeBinaryFromReader = function(msg
|
||||
msg.setSellerSecurityDeposit(value);
|
||||
break;
|
||||
case 20:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setOfferFeeTxId(value);
|
||||
break;
|
||||
case 22:
|
||||
var value = /** @type {string} */ (reader.readUint64String());
|
||||
msg.setMakerFee(value);
|
||||
break;
|
||||
case 23:
|
||||
case 21:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsActivated(value);
|
||||
break;
|
||||
case 24:
|
||||
case 22:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setIsMyOffer(value);
|
||||
break;
|
||||
case 25:
|
||||
case 23:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setOwnerNodeAddress(value);
|
||||
break;
|
||||
case 26:
|
||||
case 24:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPubKeyRing(value);
|
||||
break;
|
||||
case 27:
|
||||
case 25:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setVersionNr(value);
|
||||
break;
|
||||
case 28:
|
||||
case 26:
|
||||
var value = /** @type {number} */ (reader.readInt32());
|
||||
msg.setProtocolVersion(value);
|
||||
break;
|
||||
case 29:
|
||||
case 27:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setArbitratorSigner(value);
|
||||
break;
|
||||
@ -15651,66 +15646,59 @@ proto.io.haveno.protobuffer.OfferInfo.serializeBinaryToWriter = function(message
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getOfferFeeTxId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
20,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMakerFee();
|
||||
if (parseInt(f, 10) !== 0) {
|
||||
writer.writeUint64String(
|
||||
22,
|
||||
20,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getIsActivated();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
23,
|
||||
21,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getIsMyOffer();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
24,
|
||||
22,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getOwnerNodeAddress();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
25,
|
||||
23,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPubKeyRing();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
26,
|
||||
24,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getVersionNr();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
27,
|
||||
25,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getProtocolVersion();
|
||||
if (f !== 0) {
|
||||
writer.writeInt32(
|
||||
28,
|
||||
26,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getArbitratorSigner();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
29,
|
||||
27,
|
||||
f
|
||||
);
|
||||
}
|
||||
@ -16060,29 +16048,11 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.setSellerSecurityDeposit = funct
|
||||
|
||||
|
||||
/**
|
||||
* optional string offer_fee_tx_id = 20;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getOfferFeeTxId = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setOfferFeeTxId = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 20, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional uint64 maker_fee = 22;
|
||||
* optional uint64 maker_fee = 20;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getMakerFee = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, "0"));
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, "0"));
|
||||
};
|
||||
|
||||
|
||||
@ -16091,16 +16061,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getMakerFee = function() {
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setMakerFee = function(value) {
|
||||
return jspb.Message.setProto3StringIntField(this, 22, value);
|
||||
return jspb.Message.setProto3StringIntField(this, 20, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool is_activated = 23;
|
||||
* optional bool is_activated = 21;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getIsActivated = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 23, false));
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
||||
};
|
||||
|
||||
|
||||
@ -16109,16 +16079,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getIsActivated = function() {
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setIsActivated = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 23, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 21, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool is_my_offer = 24;
|
||||
* optional bool is_my_offer = 22;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getIsMyOffer = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 24, false));
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
||||
};
|
||||
|
||||
|
||||
@ -16127,16 +16097,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getIsMyOffer = function() {
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setIsMyOffer = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 24, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 22, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string owner_node_address = 25;
|
||||
* optional string owner_node_address = 23;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getOwnerNodeAddress = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
||||
};
|
||||
|
||||
|
||||
@ -16145,16 +16115,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getOwnerNodeAddress = function()
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setOwnerNodeAddress = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 25, value);
|
||||
return jspb.Message.setProto3StringField(this, 23, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string pub_key_ring = 26;
|
||||
* optional string pub_key_ring = 24;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getPubKeyRing = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
||||
};
|
||||
|
||||
|
||||
@ -16163,16 +16133,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getPubKeyRing = function() {
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setPubKeyRing = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 26, value);
|
||||
return jspb.Message.setProto3StringField(this, 24, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string version_nr = 27;
|
||||
* optional string version_nr = 25;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getVersionNr = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
||||
};
|
||||
|
||||
|
||||
@ -16181,16 +16151,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getVersionNr = function() {
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setVersionNr = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 27, value);
|
||||
return jspb.Message.setProto3StringField(this, 25, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional int32 protocol_version = 28;
|
||||
* optional int32 protocol_version = 26;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getProtocolVersion = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 28, 0));
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
|
||||
};
|
||||
|
||||
|
||||
@ -16199,16 +16169,16 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getProtocolVersion = function()
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setProtocolVersion = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 28, value);
|
||||
return jspb.Message.setProto3IntField(this, 26, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string arbitrator_signer = 29;
|
||||
* optional string arbitrator_signer = 27;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.getArbitratorSigner = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
||||
};
|
||||
|
||||
|
||||
@ -16217,7 +16187,7 @@ proto.io.haveno.protobuffer.OfferInfo.prototype.getArbitratorSigner = function()
|
||||
* @return {!proto.io.haveno.protobuffer.OfferInfo} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.OfferInfo.prototype.setArbitratorSigner = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 29, value);
|
||||
return jspb.Message.setProto3StringField(this, 27, value);
|
||||
};
|
||||
|
||||
|
||||
|
18
dist/protobuf/pb_pb.d.ts
vendored
18
dist/protobuf/pb_pb.d.ts
vendored
@ -2740,9 +2740,6 @@ export class OfferPayload extends jspb.Message {
|
||||
getMakerPaymentAccountId(): string;
|
||||
setMakerPaymentAccountId(value: string): OfferPayload;
|
||||
|
||||
getOfferFeeTxId(): string;
|
||||
setOfferFeeTxId(value: string): OfferPayload;
|
||||
|
||||
getCountryCode(): string;
|
||||
setCountryCode(value: string): OfferPayload;
|
||||
|
||||
@ -2843,7 +2840,6 @@ export namespace OfferPayload {
|
||||
counterCurrencyCode: string,
|
||||
paymentMethodId: string,
|
||||
makerPaymentAccountId: string,
|
||||
offerFeeTxId: string,
|
||||
countryCode: string,
|
||||
acceptedCountryCodesList: Array<string>,
|
||||
bankId: string,
|
||||
@ -2989,19 +2985,11 @@ export class Dispute extends jspb.Message {
|
||||
getContractHash_asB64(): string;
|
||||
setContractHash(value: Uint8Array | string): Dispute;
|
||||
|
||||
getDepositTxSerialized(): Uint8Array | string;
|
||||
getDepositTxSerialized_asU8(): Uint8Array;
|
||||
getDepositTxSerialized_asB64(): string;
|
||||
setDepositTxSerialized(value: Uint8Array | string): Dispute;
|
||||
|
||||
getPayoutTxSerialized(): Uint8Array | string;
|
||||
getPayoutTxSerialized_asU8(): Uint8Array;
|
||||
getPayoutTxSerialized_asB64(): string;
|
||||
setPayoutTxSerialized(value: Uint8Array | string): Dispute;
|
||||
|
||||
getDepositTxId(): string;
|
||||
setDepositTxId(value: string): Dispute;
|
||||
|
||||
getPayoutTxId(): string;
|
||||
setPayoutTxId(value: string): Dispute;
|
||||
|
||||
@ -3094,9 +3082,7 @@ export namespace Dispute {
|
||||
tradeDate: number,
|
||||
contract?: Contract.AsObject,
|
||||
contractHash: Uint8Array | string,
|
||||
depositTxSerialized: Uint8Array | string,
|
||||
payoutTxSerialized: Uint8Array | string,
|
||||
depositTxId: string,
|
||||
payoutTxId: string,
|
||||
contractAsJson: string,
|
||||
makerContractSignature: Uint8Array | string,
|
||||
@ -6333,9 +6319,6 @@ export class ProcessModel extends jspb.Message {
|
||||
hasPubKeyRing(): boolean;
|
||||
clearPubKeyRing(): ProcessModel;
|
||||
|
||||
getTakeOfferFeeTxId(): string;
|
||||
setTakeOfferFeeTxId(value: string): ProcessModel;
|
||||
|
||||
getPayoutTxSignature(): Uint8Array | string;
|
||||
getPayoutTxSignature_asU8(): Uint8Array;
|
||||
getPayoutTxSignature_asB64(): string;
|
||||
@ -6417,7 +6400,6 @@ export namespace ProcessModel {
|
||||
offerId: string,
|
||||
accountId: string,
|
||||
pubKeyRing?: PubKeyRing.AsObject,
|
||||
takeOfferFeeTxId: string,
|
||||
payoutTxSignature: Uint8Array | string,
|
||||
useSavingsWallet: boolean,
|
||||
fundsNeededForTrade: number,
|
||||
|
810
dist/protobuf/pb_pb.js
vendored
810
dist/protobuf/pb_pb.js
vendored
File diff suppressed because it is too large
Load Diff
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.14",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.14",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@types/node": "^18.14.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "haveno-ts",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.14",
|
||||
"description": "Haveno TypeScript interface",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
Loading…
Reference in New Issue
Block a user