@zapier/zapier-sdk 0.83.3 → 0.84.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,17 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.84.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 197a125: Internal refactor of how item-returning methods produce their `{ data }` response envelope. No change to the SDK surface.
8
+
9
+ ## 0.84.0
10
+
11
+ ### Minor Changes
12
+
13
+ - e1896a3: Code Substrate methods now use the `/code-substrate-runner` and `/code-substrate-workflows` API path prefixes across the SDK, the CLI, and the MCP server, and `sdk.context.api` and the CLI `curl` command accept paths built on them. The previous `/sdkdurableapi` and `/durableworkflowzaps` prefixes remain supported.
14
+
3
15
  ## 0.83.3
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -1300,7 +1300,7 @@ Get the workflow run associated with a deployed workflow's trigger. Useful immed
1300
1300
  | ------------------------- | --------- | -------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------- |
1301
1301
  | `data` | `object` | ✅ | — | |
1302
1302
  | ​ ↳ `id` | `string` | ✅ | — | Workflow run ID (UUID) |
1303
- | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked sdkdurableapi run ID. Null until the durable run is created. |
1303
+ | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
1304
1304
  | ​ ↳ `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to |
1305
1305
  | ​ ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1306
1306
  | ​ ↳ `input` | `unknown` | ✅ | — | Input passed to the run |
@@ -1390,7 +1390,7 @@ Get the current state of a workflow run (a triggered execution of a deployed wor
1390
1390
  | `data` | `object` | ✅ | — | |
1391
1391
  | ​ ↳ `id` | `string` | ✅ | — | Workflow run ID (UUID) |
1392
1392
  | ​ ↳ `trigger_id` | `string` | ✅ | — | ID of the trigger that fired this run, if any |
1393
- | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked sdkdurableapi run ID. Null until the durable run is created. |
1393
+ | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
1394
1394
  | ​ ↳ `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to |
1395
1395
  | ​ ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1396
1396
  | ​ ↳ `input` | `unknown` | ✅ | — | Input passed to the run |
@@ -1511,7 +1511,7 @@ List workflow runs (triggered executions) for a specific deployed workflow, newe
1511
1511
  | `data[]` | `object[]` | ✅ | — | |
1512
1512
  | ​ ↳ `id` | `string` | ✅ | — | Workflow run ID (UUID) |
1513
1513
  | ​ ↳ `trigger_id` | `string` | ✅ | — | ID of the trigger that fired this run, if any. Null for runs created without a trigger. |
1514
- | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked sdkdurableapi run ID. Null until the durable run is created. |
1514
+ | ​ ↳ `durable_run_id` | `string` | ✅ | — | Linked code-substrate-runner run ID. Null until the durable run is created. |
1515
1515
  | ​ ↳ `workflow_version_id` | `string` | ✅ | — | Workflow version the run is bound to. Null in rare edge cases. |
1516
1516
  | ​ ↳ `status` | `string` | ✅ | `initialized`, `started`, `finished`, `failed`, `cancelled` | Workflow run lifecycle status. `finished` / `failed` / `cancelled` are terminal. |
1517
1517
  | ​ ↳ `input` | `unknown` | ✅ | — | Input passed to the run |
@@ -1706,7 +1706,7 @@ const { data: workflowVersion } = await zapier.publishWorkflowVersion({
1706
1706
 
1707
1707
  #### `runDurable` 🧪 _experimental_
1708
1708
 
1709
- Run a workflow source file as a run-once durable run on sdkdurableapi (no deployed workflow required). Returns the run ID immediately; poll via getDurableRun for terminal status.
1709
+ Run a workflow source file as a run-once durable run on code-substrate-runner (no deployed workflow required). Returns the run ID immediately; poll via getDurableRun for terminal status.
1710
1710
 
1711
1711
  **Parameters:**
1712
1712