@tailor-platform/sdk 1.6.1 → 1.6.3

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,24 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#505](https://github.com/tailor-platform/sdk/pull/505) [`c3329a9`](https://github.com/tailor-platform/sdk/commit/c3329a991ab7fc2f60dc4558ba33ea60ed18394e) Thanks [@k1LoW](https://github.com/k1LoW)! - Add actor field to executor event trigger args
8
+
9
+ - Added `TailorActor` type to represent actors in event triggers
10
+ - Added `actor` field to `EventArgs` interface (nullable)
11
+ - Field names are aligned with `TailorUser` for consistency (`attributes`, `attributeList`)
12
+ - Added transformation in executor bundler to convert server field names to SDK field names
13
+
14
+ - [#489](https://github.com/tailor-platform/sdk/pull/489) [`2f17481`](https://github.com/tailor-platform/sdk/commit/2f17481f26577249c8dd0ac93d1b04b0f91cb377) Thanks [@riku99](https://github.com/riku99)! - Moved executor service config types to parser and updated CLI imports
15
+
16
+ ## 1.6.2
17
+
18
+ ### Patch Changes
19
+
20
+ - [#498](https://github.com/tailor-platform/sdk/pull/498) [`254fb04`](https://github.com/tailor-platform/sdk/commit/254fb048302668cd15298138baa9bff77a90bec5) Thanks [@dqn](https://github.com/dqn)! - Migrate CLI framework from citty to politty
21
+
3
22
  ## 1.6.1
4
23
 
5
24
  ### Patch Changes
package/README.md CHANGED
@@ -37,7 +37,7 @@ pnpm add @tailor-platform/sdk
37
37
  Create a new project using the CLI:
38
38
 
39
39
  ```bash
40
- npm create @tailor-platform/sdk my-app --template hello-world
40
+ npm create @tailor-platform/sdk -- --template hello-world my-app
41
41
  cd my-app
42
42
  npm run deploy -- --workspace-id <your-workspace-id>
43
43
  ```
@@ -0,0 +1,5 @@
1
+ import "./chunk-CIV_ash9.mjs";
2
+ import "./auth-0Zh4xp4z.mjs";
3
+ import { t as defineApplication } from "./application-4cO5Zvfo.mjs";
4
+
5
+ export { defineApplication };
@@ -1,10 +1,10 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-CIV_ash9.mjs";
2
2
  import Module, { createRequire } from "node:module";
3
+ import { z } from "zod";
3
4
  import * as fs$15 from "node:fs";
4
5
  import fs from "node:fs";
5
6
  import util, { formatWithOptions } from "node:util";
6
7
  import * as path$20 from "pathe";
7
- import { z } from "zod";
8
8
  import chalk from "chalk";
9
9
  import { createConsola } from "consola";
10
10
  import { formatDistanceToNowStrict } from "date-fns";
@@ -98261,4 +98261,4 @@ function defineApplication(config) {
98261
98261
 
98262
98262
  //#endregion
98263
98263
  export { OAuth2ClientSchema as a, tailorUserMap as c, styles as d, symbols as f, ExecutorSchema as i, loadFilesWithIgnores as l, WorkflowJobSchema as n, ResolverSchema as o, WorkflowSchema as r, stringifyFunction as s, defineApplication as t, logger as u };
98264
- //# sourceMappingURL=application-ByT5pepr.mjs.map
98264
+ //# sourceMappingURL=application-4cO5Zvfo.mjs.map