@deadair/sdk 0.71.0 → 0.72.0

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.
package/dist/index.js CHANGED
@@ -4411,6 +4411,23 @@ var RenderClient = class {
4411
4411
  });
4412
4412
  return await parseJson(result);
4413
4413
  }
4414
+ /**
4415
+ * @name Sample pronunciation
4416
+ * @description Speaks the written word as this entry says it, in one voice
4417
+ */
4418
+ async samplePronunciation(body) {
4419
+ const result = await this.fetch(`/pronunciations/sample`, {
4420
+ method: "POST",
4421
+ headers: {
4422
+ "Content-Type": "application/json"
4423
+ },
4424
+ body: JSON.stringify(body, bigIntReplacer)
4425
+ });
4426
+ return {
4427
+ contentType: readContentType(result),
4428
+ data: await result.blob()
4429
+ };
4430
+ }
4414
4431
  /**
4415
4432
  * @name Update pronunciation
4416
4433
  * @description Rewrites one entry's words, whoever proposed it