@go-avro/avro-js 0.0.4-beta.37 → 0.0.4-beta.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,7 +170,6 @@ AvroQueryClient.prototype.generatePDFFromBackend = function ({ billId }) {
170
170
  return response;
171
171
  });
172
172
  };
173
- AvroQueryClient.prototype.sendBillingEmail = async function ({ subject, billId, recipients, }) {
174
- const rsp = await this.post(`/bill/${billId}/email`, JSON.stringify({ recipients, subject }), undefined, { "Content-Type": "application/json" });
175
- return { msg: rsp.msg };
173
+ AvroQueryClient.prototype.sendBillingEmail = function ({ subject, billId, recipients, }) {
174
+ return this.post(`/bill/${billId}/email`, JSON.stringify({ recipients, subject }), undefined, { "Content-Type": "application/json" });
176
175
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.4-beta.37",
3
+ "version": "0.0.4-beta.38",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",