@zapier/zapier-sdk-cli 0.27.0 → 0.28.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/CHANGELOG.md +12 -0
- package/README.md +9 -10
- package/dist/cli.cjs +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.28.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bfdd383: Remove authenticationTemplate option from fetch.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [bfdd383]
|
|
12
|
+
- @zapier/zapier-sdk@0.26.0
|
|
13
|
+
- @zapier/zapier-sdk-mcp@0.8.5
|
|
14
|
+
|
|
3
15
|
## 0.27.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -448,20 +448,19 @@ Make authenticated HTTP requests to any API through Zapier's Relay service. Pass
|
|
|
448
448
|
|
|
449
449
|
**Options:**
|
|
450
450
|
|
|
451
|
-
| Option
|
|
452
|
-
|
|
|
453
|
-
| `<url>`
|
|
454
|
-
| `--method`
|
|
455
|
-
| `--headers`
|
|
456
|
-
| `--body`
|
|
457
|
-
| `--authentication-id`
|
|
458
|
-
| `--callback-url`
|
|
459
|
-
| `--authentication-template` | `string` | ❌ | — | — | Optional JSON string authentication template to bypass Notary lookup |
|
|
451
|
+
| Option | Type | Required | Default | Possible Values | Description |
|
|
452
|
+
| --------------------- | -------------------------------- | -------- | ------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
453
|
+
| `<url>` | `string, custom` | ✅ | — | — | The full URL of the API endpoint to call (proxied through Zapier's Relay service) |
|
|
454
|
+
| `--method` | `string` | ❌ | — | `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS` | HTTP method for the request (defaults to GET) |
|
|
455
|
+
| `--headers` | `object` | ❌ | — | — | HTTP headers to include in the request |
|
|
456
|
+
| `--body` | `string, custom, custom, record` | ❌ | — | — | Request body — plain objects and JSON strings are auto-detected and Content-Type is set accordingly |
|
|
457
|
+
| `--authentication-id` | `string, number` | ❌ | — | — | Authentication ID to use for this action |
|
|
458
|
+
| `--callback-url` | `string` | ❌ | — | — | URL to send async response to (makes request async) |
|
|
460
459
|
|
|
461
460
|
**Usage:**
|
|
462
461
|
|
|
463
462
|
```bash
|
|
464
|
-
npx zapier-sdk fetch <url> [--method] [--headers] [--body] [--authentication-id] [--callback-url]
|
|
463
|
+
npx zapier-sdk fetch <url> [--method] [--headers] [--body] [--authentication-id] [--callback-url]
|
|
465
464
|
```
|
|
466
465
|
|
|
467
466
|
### Utilities
|
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.
|
|
1777
|
+
version: "0.28.0"};
|
|
1778
1778
|
|
|
1779
1779
|
// src/telemetry/builders.ts
|
|
1780
1780
|
function createCliBaseEvent(context = {}) {
|
|
@@ -3117,7 +3117,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
3117
3117
|
// package.json with { type: 'json' }
|
|
3118
3118
|
var package_default2 = {
|
|
3119
3119
|
name: "@zapier/zapier-sdk-cli",
|
|
3120
|
-
version: "0.
|
|
3120
|
+
version: "0.28.0"};
|
|
3121
3121
|
function detectPackageManager(cwd = process.cwd()) {
|
|
3122
3122
|
const ua = process.env.npm_config_user_agent;
|
|
3123
3123
|
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.
|
|
1741
|
+
version: "0.28.0"};
|
|
1742
1742
|
|
|
1743
1743
|
// src/telemetry/builders.ts
|
|
1744
1744
|
function createCliBaseEvent(context = {}) {
|
|
@@ -3081,7 +3081,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
3081
3081
|
// package.json with { type: 'json' }
|
|
3082
3082
|
var package_default2 = {
|
|
3083
3083
|
name: "@zapier/zapier-sdk-cli",
|
|
3084
|
-
version: "0.
|
|
3084
|
+
version: "0.28.0"};
|
|
3085
3085
|
function detectPackageManager(cwd = process.cwd()) {
|
|
3086
3086
|
const ua = process.env.npm_config_user_agent;
|
|
3087
3087
|
if (ua) {
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED