@doufunao123/asset-gateway 0.16.0 → 0.16.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1670,8 +1670,7 @@ function createVoiceCommand() {
1670
1670
  };
1671
1671
  if (options.targetModel) body.target_model = options.targetModel;
1672
1672
  const data = await ctx.client.post("/api/voice/design", body);
1673
- const designData = data?.data;
1674
- const b64Audio = designData?.preview_audio_data;
1673
+ const b64Audio = data?.preview_audio_data;
1675
1674
  if (b64Audio) {
1676
1675
  const { mkdirSync: mkdirSync5, writeFileSync: writeFileSync5 } = await import("fs");
1677
1676
  const { join: join5 } = await import("path");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doufunao123/asset-gateway",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Universal asset generation gateway CLI",
5
5
  "type": "module",
6
6
  "bin": {