@zapier/zapier-sdk-cli 0.26.0 → 0.26.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @zapier/zapier-sdk-cli
2
2
 
3
+ ## 0.26.1
4
+
5
+ ### Patch Changes
6
+
7
+ - aacaf22: Improved `fetch` to automatically set the correct `Content-Type` header based on the request body type. `FormData`, `Blob`, and other binary bodies are now handled correctly instead of being misidentified as JSON.
8
+ - Updated dependencies [aacaf22]
9
+ - @zapier/zapier-sdk@0.25.1
10
+ - @zapier/zapier-sdk-mcp@0.8.2
11
+
3
12
  ## 0.26.0
4
13
 
5
14
  ### Minor Changes
package/README.md CHANGED
@@ -430,15 +430,15 @@ Make authenticated HTTP requests to any API through Zapier's Relay service. Pass
430
430
 
431
431
  **Options:**
432
432
 
433
- | Option | Type | Required | Default | Possible Values | Description |
434
- | --------------------------- | ------------------------ | -------- | ------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------- |
435
- | `<url>` | `string, custom` | ✅ | — | — | The full URL of the API endpoint to call (proxied through Zapier's Relay service) |
436
- | `--method` | `string` | ❌ | — | `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS` | HTTP method for the request (defaults to GET) |
437
- | `--headers` | `object` | ❌ | — | — | HTTP headers to include in the request |
438
- | `--body` | `string, custom, custom` | ❌ | — | — | Request body — JSON strings are auto-detected and Content-Type is set accordingly |
439
- | `--authentication-id` | `string, number` | ❌ | — | — | Authentication ID to use for this action |
440
- | `--callback-url` | `string` | ❌ | — | — | URL to send async response to (makes request async) |
441
- | `--authentication-template` | `string` | ❌ | — | — | Optional JSON string authentication template to bypass Notary lookup |
433
+ | Option | Type | Required | Default | Possible Values | Description |
434
+ | --------------------------- | -------------------------------- | -------- | ------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
435
+ | `<url>` | `string, custom` | ✅ | — | — | The full URL of the API endpoint to call (proxied through Zapier's Relay service) |
436
+ | `--method` | `string` | ❌ | — | `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS` | HTTP method for the request (defaults to GET) |
437
+ | `--headers` | `object` | ❌ | — | — | HTTP headers to include in the request |
438
+ | `--body` | `string, custom, custom, record` | ❌ | — | — | Request body — plain objects and JSON strings are auto-detected and Content-Type is set accordingly |
439
+ | `--authentication-id` | `string, number` | ❌ | — | — | Authentication ID to use for this action |
440
+ | `--callback-url` | `string` | ❌ | — | — | URL to send async response to (makes request async) |
441
+ | `--authentication-template` | `string` | ❌ | — | — | Optional JSON string authentication template to bypass Notary lookup |
442
442
 
443
443
  **Usage:**
444
444
 
package/dist/cli.cjs CHANGED
@@ -1774,7 +1774,7 @@ var LoginSchema = zod.z.object({
1774
1774
 
1775
1775
  // package.json
1776
1776
  var package_default = {
1777
- version: "0.26.0"};
1777
+ version: "0.26.1"};
1778
1778
 
1779
1779
  // src/telemetry/builders.ts
1780
1780
  function createCliBaseEvent(context = {}) {
@@ -3055,7 +3055,7 @@ function createZapierCliSdk(options = {}) {
3055
3055
  // package.json with { type: 'json' }
3056
3056
  var package_default2 = {
3057
3057
  name: "@zapier/zapier-sdk-cli",
3058
- version: "0.26.0"};
3058
+ version: "0.26.1"};
3059
3059
  function detectPackageManager(cwd = process.cwd()) {
3060
3060
  const ua = process.env.npm_config_user_agent;
3061
3061
  if (ua) {
package/dist/cli.mjs CHANGED
@@ -1738,7 +1738,7 @@ var LoginSchema = z.object({
1738
1738
 
1739
1739
  // package.json
1740
1740
  var package_default = {
1741
- version: "0.26.0"};
1741
+ version: "0.26.1"};
1742
1742
 
1743
1743
  // src/telemetry/builders.ts
1744
1744
  function createCliBaseEvent(context = {}) {
@@ -3019,7 +3019,7 @@ function createZapierCliSdk(options = {}) {
3019
3019
  // package.json with { type: 'json' }
3020
3020
  var package_default2 = {
3021
3021
  name: "@zapier/zapier-sdk-cli",
3022
- version: "0.26.0"};
3022
+ version: "0.26.1"};
3023
3023
  function detectPackageManager(cwd = process.cwd()) {
3024
3024
  const ua = process.env.npm_config_user_agent;
3025
3025
  if (ua) {
package/dist/index.cjs CHANGED
@@ -302,7 +302,7 @@ var LoginSchema = zod.z.object({
302
302
 
303
303
  // package.json
304
304
  var package_default = {
305
- version: "0.26.0"};
305
+ version: "0.26.1"};
306
306
 
307
307
  // src/telemetry/builders.ts
308
308
  function createCliBaseEvent(context = {}) {
package/dist/index.mjs CHANGED
@@ -271,7 +271,7 @@ var LoginSchema = z.object({
271
271
 
272
272
  // package.json
273
273
  var package_default = {
274
- version: "0.26.0"};
274
+ version: "0.26.1"};
275
275
 
276
276
  // src/telemetry/builders.ts
277
277
  function createCliBaseEvent(context = {}) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-cli",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Command line interface for Zapier SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",