@yoamigo.com/cli 0.1.14 → 0.1.15

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 +4 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -301,7 +301,7 @@ var deployCommand = new Command4("deploy").description("Upload template to YoAmi
301
301
  "Content-Type": "application/json",
302
302
  "X-API-Key": credentials.apiKey
303
303
  },
304
- body: JSON.stringify({ json: templateBody })
304
+ body: JSON.stringify(templateBody)
305
305
  });
306
306
  } catch (fetchError) {
307
307
  if (verbose) {
@@ -355,11 +355,9 @@ Response body: ${errorText}`));
355
355
  "X-API-Key": credentials.apiKey
356
356
  },
357
357
  body: JSON.stringify({
358
- json: {
359
- templateId,
360
- path: relativePath,
361
- content
362
- }
358
+ templateId,
359
+ path: relativePath,
360
+ content
363
361
  })
364
362
  });
365
363
  if (!uploadResponse.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoamigo.com/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "CLI for creating and managing YoAmigo templates",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",