@zapier/zapier-sdk 0.119.0 → 0.119.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,11 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.119.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 81e09a5: The example workflow source for `validateWorkflow` now uses the object form of `defineDurable`.
8
+
3
9
  ## 0.119.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -2987,7 +2987,7 @@ Validate durable workflow source without publishing it. Returns source diagnosti
2987
2987
  const { data: workflowValidation } = await zapier.validateWorkflow({
2988
2988
  sourceFiles: {
2989
2989
  "/workflow.ts":
2990
- 'import { defineDurable } from "@zapier/zapier-durable"; export default defineDurable("hello-world", async (ctx, input) => { return ctx.step("greet", async () => "Hello, world!"); });',
2990
+ 'import { defineDurable } from "@zapier/zapier-durable"; export default defineDurable({ name: "hello-world", run: async (ctx) => { return ctx.step("greet", async () => "Hello, world!"); } });',
2991
2991
  },
2992
2992
  });
2993
2993
  ```