@xmtp/proto
Advanced tools
Comparing version 3.11.0 to 3.12.0
{ | ||
"name": "@xmtp/proto", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "Protobuf client and generated classes for GRPC API", | ||
@@ -5,0 +5,0 @@ "main": "./ts/dist/cjs/node.js", |
@@ -52,4 +52,7 @@ "use strict"; | ||
} | ||
static BatchQuery(req, initReq) { | ||
return fm.fetchReq(`/message/v1/batch-query`, Object.assign(Object.assign({}, initReq), { method: "POST", body: JSON.stringify(req, fm.replacer) })); | ||
} | ||
} | ||
exports.MessageApi = MessageApi; | ||
//# sourceMappingURL=message_api.pb.js.map |
@@ -26,3 +26,6 @@ /* eslint-disable */ | ||
} | ||
static BatchQuery(req, initReq) { | ||
return fm.fetchReq(`/message/v1/batch-query`, Object.assign(Object.assign({}, initReq), { method: "POST", body: JSON.stringify(req, fm.replacer) })); | ||
} | ||
} | ||
//# sourceMappingURL=message_api.pb.js.map |
@@ -51,2 +51,8 @@ import * as fm from "../../fetch.pb"; | ||
}; | ||
export declare type BatchQueryRequest = { | ||
requests?: QueryRequest[]; | ||
}; | ||
export declare type BatchQueryResponse = { | ||
responses?: QueryResponse[]; | ||
}; | ||
export declare class MessageApi { | ||
@@ -57,3 +63,4 @@ static Publish(req: PublishRequest, initReq?: fm.InitReq): Promise<PublishResponse>; | ||
static Query(req: QueryRequest, initReq?: fm.InitReq): Promise<QueryResponse>; | ||
static BatchQuery(req: BatchQueryRequest, initReq?: fm.InitReq): Promise<BatchQueryResponse>; | ||
} | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
970005
15466