mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
bump version to 0.0.5
update dist and typedocs
This commit is contained in:
parent
e9995566cd
commit
60a9c98285
8
dist/HavenoClient.d.ts
vendored
8
dist/HavenoClient.d.ts
vendored
@ -266,12 +266,18 @@ export default class HavenoClient {
|
||||
* @return {string} the mnemonic seed phrase of the Monero wallet
|
||||
*/
|
||||
getXmrSeed(): Promise<string>;
|
||||
/**
|
||||
* Get the primary address of the Monero wallet.
|
||||
*
|
||||
* @return {string} the primary address of the Monero wallet
|
||||
*/
|
||||
getXmrPrimaryAddress(): Promise<string>;
|
||||
/**
|
||||
* Get a new subaddress in the Monero wallet to receive deposits.
|
||||
*
|
||||
* @return {string} the deposit address (a subaddress in the Haveno wallet)
|
||||
*/
|
||||
getNewDepositAddress(): Promise<string>;
|
||||
getXmrNewSubaddress(): Promise<string>;
|
||||
/**
|
||||
* Get all transactions in the Monero wallet.
|
||||
*
|
||||
|
19
dist/HavenoClient.js
vendored
19
dist/HavenoClient.js
vendored
@ -665,14 +665,29 @@ class HavenoClient {
|
||||
});
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Get the primary address of the Monero wallet.
|
||||
*
|
||||
* @return {string} the primary address of the Monero wallet
|
||||
*/
|
||||
async getXmrPrimaryAddress() {
|
||||
return new Promise((resolve, reject) => {
|
||||
this._walletsClient.getXmrPrimaryAddress(new grpc_pb_1.GetXmrPrimaryAddressRequest(), { password: this._password }, function (err, response) {
|
||||
if (err)
|
||||
reject(err);
|
||||
else
|
||||
resolve(response.getPrimaryAddress());
|
||||
});
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Get a new subaddress in the Monero wallet to receive deposits.
|
||||
*
|
||||
* @return {string} the deposit address (a subaddress in the Haveno wallet)
|
||||
*/
|
||||
async getNewDepositAddress() {
|
||||
async getXmrNewSubaddress() {
|
||||
return new Promise((resolve, reject) => {
|
||||
this._walletsClient.getNewDepositAddress(new grpc_pb_1.GetNewDepositAddressRequest(), { password: this._password }, function (err, response) {
|
||||
this._walletsClient.getXmrNewSubaddress(new grpc_pb_1.GetXmrNewSubaddressRequest(), { password: this._password }, function (err, response) {
|
||||
if (err)
|
||||
reject(err);
|
||||
else
|
||||
|
2
dist/HavenoClient.js.map
vendored
2
dist/HavenoClient.js.map
vendored
File diff suppressed because one or more lines are too long
9
dist/protobuf/GrpcServiceClientPb.d.ts
vendored
9
dist/protobuf/GrpcServiceClientPb.d.ts
vendored
@ -416,9 +416,12 @@ export declare class WalletsClient {
|
||||
methodInfoGetXmrSeed: grpcWeb.MethodDescriptor<grpc_pb.GetXmrSeedRequest, grpc_pb.GetXmrSeedReply>;
|
||||
getXmrSeed(request: grpc_pb.GetXmrSeedRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetXmrSeedReply>;
|
||||
getXmrSeed(request: grpc_pb.GetXmrSeedRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetXmrSeedReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetXmrSeedReply>;
|
||||
methodInfoGetNewDepositAddress: grpcWeb.MethodDescriptor<grpc_pb.GetNewDepositAddressRequest, grpc_pb.GetNewDepositAddressReply>;
|
||||
getNewDepositAddress(request: grpc_pb.GetNewDepositAddressRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetNewDepositAddressReply>;
|
||||
getNewDepositAddress(request: grpc_pb.GetNewDepositAddressRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetNewDepositAddressReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetNewDepositAddressReply>;
|
||||
methodInfoGetXmrPrimaryAddress: grpcWeb.MethodDescriptor<grpc_pb.GetXmrPrimaryAddressRequest, grpc_pb.GetXmrPrimaryAddressReply>;
|
||||
getXmrPrimaryAddress(request: grpc_pb.GetXmrPrimaryAddressRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetXmrPrimaryAddressReply>;
|
||||
getXmrPrimaryAddress(request: grpc_pb.GetXmrPrimaryAddressRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetXmrPrimaryAddressReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetXmrPrimaryAddressReply>;
|
||||
methodInfoGetXmrNewSubaddress: grpcWeb.MethodDescriptor<grpc_pb.GetXmrNewSubaddressRequest, grpc_pb.GetXmrNewSubaddressReply>;
|
||||
getXmrNewSubaddress(request: grpc_pb.GetXmrNewSubaddressRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetXmrNewSubaddressReply>;
|
||||
getXmrNewSubaddress(request: grpc_pb.GetXmrNewSubaddressRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetXmrNewSubaddressReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetXmrNewSubaddressReply>;
|
||||
methodInfoGetXmrTxs: grpcWeb.MethodDescriptor<grpc_pb.GetXmrTxsRequest, grpc_pb.GetXmrTxsReply>;
|
||||
getXmrTxs(request: grpc_pb.GetXmrTxsRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetXmrTxsReply>;
|
||||
getXmrTxs(request: grpc_pb.GetXmrTxsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetXmrTxsReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetXmrTxsReply>;
|
||||
|
21
dist/protobuf/GrpcServiceClientPb.js
vendored
21
dist/protobuf/GrpcServiceClientPb.js
vendored
@ -901,9 +901,12 @@ class WalletsClient {
|
||||
this.methodInfoGetXmrSeed = new grpcWeb.MethodDescriptor('/io.bisq.protobuffer.Wallets/GetXmrSeed', grpcWeb.MethodType.UNARY, grpc_pb.GetXmrSeedRequest, grpc_pb.GetXmrSeedReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetXmrSeedReply.deserializeBinary);
|
||||
this.methodInfoGetNewDepositAddress = new grpcWeb.MethodDescriptor('/io.bisq.protobuffer.Wallets/GetNewDepositAddress', grpcWeb.MethodType.UNARY, grpc_pb.GetNewDepositAddressRequest, grpc_pb.GetNewDepositAddressReply, (request) => {
|
||||
this.methodInfoGetXmrPrimaryAddress = new grpcWeb.MethodDescriptor('/io.bisq.protobuffer.Wallets/GetXmrPrimaryAddress', grpcWeb.MethodType.UNARY, grpc_pb.GetXmrPrimaryAddressRequest, grpc_pb.GetXmrPrimaryAddressReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetNewDepositAddressReply.deserializeBinary);
|
||||
}, grpc_pb.GetXmrPrimaryAddressReply.deserializeBinary);
|
||||
this.methodInfoGetXmrNewSubaddress = new grpcWeb.MethodDescriptor('/io.bisq.protobuffer.Wallets/GetXmrNewSubaddress', grpcWeb.MethodType.UNARY, grpc_pb.GetXmrNewSubaddressRequest, grpc_pb.GetXmrNewSubaddressReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetXmrNewSubaddressReply.deserializeBinary);
|
||||
this.methodInfoGetXmrTxs = new grpcWeb.MethodDescriptor('/io.bisq.protobuffer.Wallets/GetXmrTxs', grpcWeb.MethodType.UNARY, grpc_pb.GetXmrTxsRequest, grpc_pb.GetXmrTxsReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetXmrTxsReply.deserializeBinary);
|
||||
@ -972,13 +975,21 @@ class WalletsClient {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.bisq.protobuffer.Wallets/GetXmrSeed', request, metadata || {}, this.methodInfoGetXmrSeed);
|
||||
}
|
||||
getNewDepositAddress(request, metadata, callback) {
|
||||
getXmrPrimaryAddress(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.bisq.protobuffer.Wallets/GetNewDepositAddress', request, metadata || {}, this.methodInfoGetNewDepositAddress, callback);
|
||||
'/io.bisq.protobuffer.Wallets/GetXmrPrimaryAddress', request, metadata || {}, this.methodInfoGetXmrPrimaryAddress, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.bisq.protobuffer.Wallets/GetNewDepositAddress', request, metadata || {}, this.methodInfoGetNewDepositAddress);
|
||||
'/io.bisq.protobuffer.Wallets/GetXmrPrimaryAddress', request, metadata || {}, this.methodInfoGetXmrPrimaryAddress);
|
||||
}
|
||||
getXmrNewSubaddress(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.bisq.protobuffer.Wallets/GetXmrNewSubaddress', request, metadata || {}, this.methodInfoGetXmrNewSubaddress, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.bisq.protobuffer.Wallets/GetXmrNewSubaddress', request, metadata || {}, this.methodInfoGetXmrNewSubaddress);
|
||||
}
|
||||
getXmrTxs(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
|
2
dist/protobuf/GrpcServiceClientPb.js.map
vendored
2
dist/protobuf/GrpcServiceClientPb.js.map
vendored
File diff suppressed because one or more lines are too long
64
dist/protobuf/grpc_pb.d.ts
vendored
64
dist/protobuf/grpc_pb.d.ts
vendored
@ -2806,33 +2806,65 @@ export namespace GetXmrSeedReply {
|
||||
}
|
||||
}
|
||||
|
||||
export class GetNewDepositAddressRequest extends jspb.Message {
|
||||
export class GetXmrPrimaryAddressRequest extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetNewDepositAddressRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetNewDepositAddressRequest): GetNewDepositAddressRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: GetNewDepositAddressRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetNewDepositAddressRequest;
|
||||
static deserializeBinaryFromReader(message: GetNewDepositAddressRequest, reader: jspb.BinaryReader): GetNewDepositAddressRequest;
|
||||
toObject(includeInstance?: boolean): GetXmrPrimaryAddressRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetXmrPrimaryAddressRequest): GetXmrPrimaryAddressRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: GetXmrPrimaryAddressRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetXmrPrimaryAddressRequest;
|
||||
static deserializeBinaryFromReader(message: GetXmrPrimaryAddressRequest, reader: jspb.BinaryReader): GetXmrPrimaryAddressRequest;
|
||||
}
|
||||
|
||||
export namespace GetNewDepositAddressRequest {
|
||||
export namespace GetXmrPrimaryAddressRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class GetNewDepositAddressReply extends jspb.Message {
|
||||
getSubaddress(): string;
|
||||
setSubaddress(value: string): GetNewDepositAddressReply;
|
||||
export class GetXmrPrimaryAddressReply extends jspb.Message {
|
||||
getPrimaryAddress(): string;
|
||||
setPrimaryAddress(value: string): GetXmrPrimaryAddressReply;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetNewDepositAddressReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetNewDepositAddressReply): GetNewDepositAddressReply.AsObject;
|
||||
static serializeBinaryToWriter(message: GetNewDepositAddressReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetNewDepositAddressReply;
|
||||
static deserializeBinaryFromReader(message: GetNewDepositAddressReply, reader: jspb.BinaryReader): GetNewDepositAddressReply;
|
||||
toObject(includeInstance?: boolean): GetXmrPrimaryAddressReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetXmrPrimaryAddressReply): GetXmrPrimaryAddressReply.AsObject;
|
||||
static serializeBinaryToWriter(message: GetXmrPrimaryAddressReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetXmrPrimaryAddressReply;
|
||||
static deserializeBinaryFromReader(message: GetXmrPrimaryAddressReply, reader: jspb.BinaryReader): GetXmrPrimaryAddressReply;
|
||||
}
|
||||
|
||||
export namespace GetNewDepositAddressReply {
|
||||
export namespace GetXmrPrimaryAddressReply {
|
||||
export type AsObject = {
|
||||
primaryAddress: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetXmrNewSubaddressRequest extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetXmrNewSubaddressRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetXmrNewSubaddressRequest): GetXmrNewSubaddressRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: GetXmrNewSubaddressRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetXmrNewSubaddressRequest;
|
||||
static deserializeBinaryFromReader(message: GetXmrNewSubaddressRequest, reader: jspb.BinaryReader): GetXmrNewSubaddressRequest;
|
||||
}
|
||||
|
||||
export namespace GetXmrNewSubaddressRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class GetXmrNewSubaddressReply extends jspb.Message {
|
||||
getSubaddress(): string;
|
||||
setSubaddress(value: string): GetXmrNewSubaddressReply;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetXmrNewSubaddressReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetXmrNewSubaddressReply): GetXmrNewSubaddressReply.AsObject;
|
||||
static serializeBinaryToWriter(message: GetXmrNewSubaddressReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetXmrNewSubaddressReply;
|
||||
static deserializeBinaryFromReader(message: GetXmrNewSubaddressReply, reader: jspb.BinaryReader): GetXmrNewSubaddressReply;
|
||||
}
|
||||
|
||||
export namespace GetXmrNewSubaddressReply {
|
||||
export type AsObject = {
|
||||
subaddress: string,
|
||||
}
|
||||
|
357
dist/protobuf/grpc_pb.js
vendored
357
dist/protobuf/grpc_pb.js
vendored
@ -82,8 +82,6 @@ goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOfferReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOfferRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOffersReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOffersRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetNewDepositAddressReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetNewDepositAddressRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetOfferReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetOfferRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetOffersReply', null, global);
|
||||
@ -106,6 +104,10 @@ goog.exportSymbol('proto.io.bisq.protobuffer.GetTxFeeRateReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetTxFeeRateRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetVersionReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetVersionRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrNewSubaddressReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrSeedReply', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrSeedRequest', null, global);
|
||||
goog.exportSymbol('proto.io.bisq.protobuffer.GetXmrTxsReply', null, global);
|
||||
@ -3060,16 +3062,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest = function(opt_data) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.bisq.protobuffer.GetNewDepositAddressRequest, jspb.Message);
|
||||
goog.inherits(proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.displayName = 'proto.io.bisq.protobuffer.GetNewDepositAddressRequest';
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.displayName = 'proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -3081,16 +3083,58 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply = function(opt_data) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.bisq.protobuffer.GetNewDepositAddressReply, jspb.Message);
|
||||
goog.inherits(proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.displayName = 'proto.io.bisq.protobuffer.GetNewDepositAddressReply';
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.displayName = 'proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.displayName = 'proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.bisq.protobuffer.GetXmrNewSubaddressReply, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.displayName = 'proto.io.bisq.protobuffer.GetXmrNewSubaddressReply';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -24538,8 +24582,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.bisq.protobuffer.GetNewDepositAddressRequest.toObject(opt_includeInstance, this);
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -24548,11 +24592,11 @@ proto.io.bisq.protobuffer.GetNewDepositAddressRequest.prototype.toObject = funct
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.bisq.protobuffer.GetNewDepositAddressRequest} msg The msg instance to transform.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.toObject = function(includeInstance, msg) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
@ -24568,23 +24612,23 @@ proto.io.bisq.protobuffer.GetNewDepositAddressRequest.toObject = function(includ
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.bisq.protobuffer.GetNewDepositAddressRequest}
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.deserializeBinary = function(bytes) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.bisq.protobuffer.GetNewDepositAddressRequest;
|
||||
return proto.io.bisq.protobuffer.GetNewDepositAddressRequest.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest;
|
||||
return proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.bisq.protobuffer.GetNewDepositAddressRequest} msg The message object to deserialize into.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.bisq.protobuffer.GetNewDepositAddressRequest}
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -24604,9 +24648,9 @@ proto.io.bisq.protobuffer.GetNewDepositAddressRequest.deserializeBinaryFromReade
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.prototype.serializeBinary = function() {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.serializeBinaryToWriter(this, writer);
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -24614,11 +24658,11 @@ proto.io.bisq.protobuffer.GetNewDepositAddressRequest.prototype.serializeBinary
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.bisq.protobuffer.GetNewDepositAddressRequest} message
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
@ -24639,8 +24683,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.bisq.protobuffer.GetNewDepositAddressReply.toObject(opt_includeInstance, this);
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -24649,11 +24693,242 @@ proto.io.bisq.protobuffer.GetNewDepositAddressReply.prototype.toObject = functio
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.bisq.protobuffer.GetNewDepositAddressReply} msg The msg instance to transform.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.toObject = function(includeInstance, msg) {
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
primaryAddress: jspb.Message.getFieldWithDefault(msg, 1, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply;
|
||||
return proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPrimaryAddress(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getPrimaryAddress();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string primary_address = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.prototype.getPrimaryAddress = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrPrimaryAddressReply.prototype.setPrimaryAddress = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest;
|
||||
return proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
||||
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
||||
* JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrNewSubaddressReply} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
subaddress: jspb.Message.getFieldWithDefault(msg, 1, "")
|
||||
};
|
||||
@ -24669,23 +24944,23 @@ proto.io.bisq.protobuffer.GetNewDepositAddressReply.toObject = function(includeI
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.bisq.protobuffer.GetNewDepositAddressReply}
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrNewSubaddressReply}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.deserializeBinary = function(bytes) {
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.bisq.protobuffer.GetNewDepositAddressReply;
|
||||
return proto.io.bisq.protobuffer.GetNewDepositAddressReply.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.bisq.protobuffer.GetXmrNewSubaddressReply;
|
||||
return proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.bisq.protobuffer.GetNewDepositAddressReply} msg The message object to deserialize into.
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrNewSubaddressReply} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.bisq.protobuffer.GetNewDepositAddressReply}
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrNewSubaddressReply}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -24709,9 +24984,9 @@ proto.io.bisq.protobuffer.GetNewDepositAddressReply.deserializeBinaryFromReader
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.prototype.serializeBinary = function() {
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.serializeBinaryToWriter(this, writer);
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -24719,11 +24994,11 @@ proto.io.bisq.protobuffer.GetNewDepositAddressReply.prototype.serializeBinary =
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.bisq.protobuffer.GetNewDepositAddressReply} message
|
||||
* @param {!proto.io.bisq.protobuffer.GetXmrNewSubaddressReply} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSubaddress();
|
||||
if (f.length > 0) {
|
||||
@ -24739,16 +25014,16 @@ proto.io.bisq.protobuffer.GetNewDepositAddressReply.serializeBinaryToWriter = fu
|
||||
* optional string subaddress = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.prototype.getSubaddress = function() {
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.prototype.getSubaddress = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.bisq.protobuffer.GetNewDepositAddressReply} returns this
|
||||
* @return {!proto.io.bisq.protobuffer.GetXmrNewSubaddressReply} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.GetNewDepositAddressReply.prototype.setSubaddress = function(value) {
|
||||
proto.io.bisq.protobuffer.GetXmrNewSubaddressReply.prototype.setSubaddress = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
36
dist/protobuf/pb_pb.d.ts
vendored
36
dist/protobuf/pb_pb.d.ts
vendored
@ -6149,11 +6149,12 @@ export namespace Offer {
|
||||
export enum State {
|
||||
PB_ERROR = 0,
|
||||
UNKNOWN = 1,
|
||||
OFFER_FEE_PAID = 2,
|
||||
AVAILABLE = 3,
|
||||
NOT_AVAILABLE = 4,
|
||||
REMOVED = 5,
|
||||
MAKER_OFFLINE = 6,
|
||||
SCHEDULED = 2,
|
||||
OFFER_FEE_RESERVED = 3,
|
||||
AVAILABLE = 4,
|
||||
NOT_AVAILABLE = 5,
|
||||
REMOVED = 6,
|
||||
MAKER_OFFLINE = 7,
|
||||
}
|
||||
}
|
||||
|
||||
@ -6224,6 +6225,17 @@ export class OpenOffer extends jspb.Message {
|
||||
getTriggerPrice(): number;
|
||||
setTriggerPrice(value: number): OpenOffer;
|
||||
|
||||
getAutoSplit(): boolean;
|
||||
setAutoSplit(value: boolean): OpenOffer;
|
||||
|
||||
getScheduledTxHashesList(): Array<string>;
|
||||
setScheduledTxHashesList(value: Array<string>): OpenOffer;
|
||||
clearScheduledTxHashesList(): OpenOffer;
|
||||
addScheduledTxHashes(value: string, index?: number): OpenOffer;
|
||||
|
||||
getScheduledAmount(): string;
|
||||
setScheduledAmount(value: string): OpenOffer;
|
||||
|
||||
getReserveTxHash(): string;
|
||||
setReserveTxHash(value: string): OpenOffer;
|
||||
|
||||
@ -6247,6 +6259,9 @@ export namespace OpenOffer {
|
||||
state: OpenOffer.State,
|
||||
backupArbitrator?: NodeAddress.AsObject,
|
||||
triggerPrice: number,
|
||||
autoSplit: boolean,
|
||||
scheduledTxHashesList: Array<string>,
|
||||
scheduledAmount: string,
|
||||
reserveTxHash: string,
|
||||
reserveTxHex: string,
|
||||
reserveTxKey: string,
|
||||
@ -6254,11 +6269,12 @@ export namespace OpenOffer {
|
||||
|
||||
export enum State {
|
||||
PB_ERROR = 0,
|
||||
AVAILABLE = 1,
|
||||
RESERVED = 2,
|
||||
CLOSED = 3,
|
||||
CANCELED = 4,
|
||||
DEACTIVATED = 5,
|
||||
SCHEDULED = 1,
|
||||
AVAILABLE = 2,
|
||||
RESERVED = 3,
|
||||
CLOSED = 4,
|
||||
CANCELED = 5,
|
||||
DEACTIVATED = 6,
|
||||
}
|
||||
}
|
||||
|
||||
|
200
dist/protobuf/pb_pb.js
vendored
200
dist/protobuf/pb_pb.js
vendored
@ -3319,7 +3319,7 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.OpenOffer.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.io.bisq.protobuffer.OpenOffer, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
@ -50563,11 +50563,12 @@ proto.io.bisq.protobuffer.Offer.serializeBinaryToWriter = function(message, writ
|
||||
proto.io.bisq.protobuffer.Offer.State = {
|
||||
PB_ERROR: 0,
|
||||
UNKNOWN: 1,
|
||||
OFFER_FEE_PAID: 2,
|
||||
AVAILABLE: 3,
|
||||
NOT_AVAILABLE: 4,
|
||||
REMOVED: 5,
|
||||
MAKER_OFFLINE: 6
|
||||
SCHEDULED: 2,
|
||||
OFFER_FEE_RESERVED: 3,
|
||||
AVAILABLE: 4,
|
||||
NOT_AVAILABLE: 5,
|
||||
REMOVED: 6,
|
||||
MAKER_OFFLINE: 7
|
||||
};
|
||||
|
||||
/**
|
||||
@ -50988,6 +50989,13 @@ proto.io.bisq.protobuffer.SignedOffer.prototype.setArbitratorSignature = functio
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.repeatedFields_ = [6];
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
@ -51023,9 +51031,12 @@ proto.io.bisq.protobuffer.OpenOffer.toObject = function(includeInstance, msg) {
|
||||
state: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
||||
backupArbitrator: (f = msg.getBackupArbitrator()) && proto.io.bisq.protobuffer.NodeAddress.toObject(includeInstance, f),
|
||||
triggerPrice: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 7, "")
|
||||
autoSplit: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
||||
scheduledTxHashesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
||||
scheduledAmount: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
||||
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 10, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@ -51081,14 +51092,26 @@ proto.io.bisq.protobuffer.OpenOffer.deserializeBinaryFromReader = function(msg,
|
||||
msg.setTriggerPrice(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReserveTxHash(value);
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setAutoSplit(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReserveTxHex(value);
|
||||
msg.addScheduledTxHashes(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setScheduledAmount(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReserveTxHash(value);
|
||||
break;
|
||||
case 9:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReserveTxHex(value);
|
||||
break;
|
||||
case 10:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReserveTxKey(value);
|
||||
break;
|
||||
@ -51151,24 +51174,45 @@ proto.io.bisq.protobuffer.OpenOffer.serializeBinaryToWriter = function(message,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAutoSplit();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getScheduledTxHashesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getScheduledAmount();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getReserveTxHash();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getReserveTxHex();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
6,
|
||||
9,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getReserveTxKey();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
7,
|
||||
10,
|
||||
f
|
||||
);
|
||||
}
|
||||
@ -51180,11 +51224,12 @@ proto.io.bisq.protobuffer.OpenOffer.serializeBinaryToWriter = function(message,
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.State = {
|
||||
PB_ERROR: 0,
|
||||
AVAILABLE: 1,
|
||||
RESERVED: 2,
|
||||
CLOSED: 3,
|
||||
CANCELED: 4,
|
||||
DEACTIVATED: 5
|
||||
SCHEDULED: 1,
|
||||
AVAILABLE: 2,
|
||||
RESERVED: 3,
|
||||
CLOSED: 4,
|
||||
CANCELED: 5,
|
||||
DEACTIVATED: 6
|
||||
};
|
||||
|
||||
/**
|
||||
@ -51298,46 +51343,65 @@ proto.io.bisq.protobuffer.OpenOffer.prototype.setTriggerPrice = function(value)
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_hash = 5;
|
||||
* @return {string}
|
||||
* optional bool auto_split = 5;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxHash = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getAutoSplit = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setAutoSplit = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string scheduled_tx_hashes = 6;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getScheduledTxHashesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setScheduledTxHashesList = function(value) {
|
||||
return jspb.Message.setField(this, 6, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxHash = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.addScheduledTxHashes = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_hex = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxHex = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxHex = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.clearScheduledTxHashesList = function() {
|
||||
return this.setScheduledTxHashesList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_key = 7;
|
||||
* optional string scheduled_amount = 7;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxKey = function() {
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getScheduledAmount = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
||||
};
|
||||
|
||||
@ -51346,11 +51410,65 @@ proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxKey = function() {
|
||||
* @param {string} value
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxKey = function(value) {
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setScheduledAmount = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_hash = 8;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxHash = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxHash = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_hex = 9;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxHex = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxHex = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 9, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_key = 10;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.getReserveTxKey = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.bisq.protobuffer.OpenOffer} returns this
|
||||
*/
|
||||
proto.io.bisq.protobuffer.OpenOffer.prototype.setReserveTxKey = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 10, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Oneof group definitions for this message. Each group defines the field
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user