@go-avro/avro-js 0.0.2-beta.22 → 0.0.2-beta.23

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.
@@ -313,7 +313,7 @@ export class AvroQueryClient {
313
313
  due_date: data.due_date,
314
314
  };
315
315
  try {
316
- return this._xhr('POST', `/company/${companyGuid}/bill`, body);
316
+ return this._xhr('POST', `/company/${companyGuid}/bill`, JSON.stringify(body));
317
317
  }
318
318
  catch (error) {
319
319
  throw new StandardError(500, `Failed to create bill: ${error}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.2-beta.22",
3
+ "version": "0.0.2-beta.23",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",