@tailor-platform/sdk 1.9.3 → 1.10.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 +20 -0
- package/dist/application-COnpGp0d.mjs +4 -0
- package/dist/{application-CVdIXWKF.mjs → application-R26DC-sK.mjs} +6 -2
- package/dist/{application-CVdIXWKF.mjs.map → application-R26DC-sK.mjs.map} +1 -1
- package/dist/cli/index.mjs +2 -2
- package/dist/cli/lib.d.mts +16993 -6
- package/dist/cli/lib.mjs +153 -4
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/{index-x4xcWJm1.d.mts → index-DcOTucF6.d.mts} +10 -7
- package/dist/{index-B07hXFjo.d.mts → index-DnoS_Mi4.d.mts} +3 -2
- package/dist/{update-B9UIU-42.mjs → update-C877GWkA.mjs} +331 -164
- package/dist/update-C877GWkA.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/application-r8pIjc4L.mjs +0 -4
- package/dist/update-B9UIU-42.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#554](https://github.com/tailor-platform/sdk/pull/554) [`4e9f975`](https://github.com/tailor-platform/sdk/commit/4e9f975944981d2fce6f5a9b6c0785a2567cf44c) Thanks [@toiroakr](https://github.com/toiroakr)! - feat(seed): use testExecScript API with Kysely batch insert for seeding
|
|
8
|
+
|
|
9
|
+
- Replace gql-ingest with Kysely batch insert for TailorDB seeding (100 rows/batch)
|
|
10
|
+
- Use direct fetch() for \_User seeding instead of gql-ingest
|
|
11
|
+
- Add topological sort for type insertion order
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#565](https://github.com/tailor-platform/sdk/pull/565) [`533227b`](https://github.com/tailor-platform/sdk/commit/533227b71a079f8d1b1b471980fa369dca2829fb) Thanks [@k1LoW](https://github.com/k1LoW)! - feat: support allowedEmailDomains field for IdP userAuthPolicy
|
|
16
|
+
|
|
17
|
+
- [#562](https://github.com/tailor-platform/sdk/pull/562) [`ce1eed0`](https://github.com/tailor-platform/sdk/commit/ce1eed0348f93d86e0bf7210be60223bae223955) Thanks [@toiroakr](https://github.com/toiroakr)! - fix(cli): use separate case statements for retry error codes
|
|
18
|
+
|
|
19
|
+
The `isRetirable` function was using bitwise OR in a switch case, which only matches the bitwise OR result rather than either code individually. This fix ensures retries work correctly for both `ResourceExhausted` and `Unavailable` error codes.
|
|
20
|
+
|
|
21
|
+
- [#547](https://github.com/tailor-platform/sdk/pull/547) [`5891c27`](https://github.com/tailor-platform/sdk/commit/5891c2774db182d1be1ea648b96b84dce1be5e34) Thanks [@riku99](https://github.com/riku99)! - Add tests for loadAccessToken
|
|
22
|
+
|
|
3
23
|
## 1.9.3
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -98190,10 +98190,14 @@ const IdPUserAuthPolicySchema = z.object({
|
|
|
98190
98190
|
passwordRequireNonAlphanumeric: z.boolean().optional(),
|
|
98191
98191
|
passwordRequireNumeric: z.boolean().optional(),
|
|
98192
98192
|
passwordMinLength: z.number().int().refine((val) => val >= 6 && val <= 30, { message: "passwordMinLength must be between 6 and 30" }).optional(),
|
|
98193
|
-
passwordMaxLength: z.number().int().refine((val) => val >= 6 && val <= 4096, { message: "passwordMaxLength must be between 6 and 4096" }).optional()
|
|
98193
|
+
passwordMaxLength: z.number().int().refine((val) => val >= 6 && val <= 4096, { message: "passwordMaxLength must be between 6 and 4096" }).optional(),
|
|
98194
|
+
allowedEmailDomains: z.array(z.string()).optional()
|
|
98194
98195
|
}).refine((data$1) => data$1.passwordMinLength === void 0 || data$1.passwordMaxLength === void 0 || data$1.passwordMinLength <= data$1.passwordMaxLength, {
|
|
98195
98196
|
message: "passwordMinLength must be less than or equal to passwordMaxLength",
|
|
98196
98197
|
path: ["passwordMinLength"]
|
|
98198
|
+
}).refine((data$1) => !data$1.allowedEmailDomains || data$1.allowedEmailDomains.length === 0 || !data$1.useNonEmailIdentifier, {
|
|
98199
|
+
message: "allowedEmailDomains cannot be set when useNonEmailIdentifier is true",
|
|
98200
|
+
path: ["allowedEmailDomains"]
|
|
98197
98201
|
});
|
|
98198
98202
|
const IdPSchema = z.object({
|
|
98199
98203
|
name: z.string(),
|
|
@@ -98380,4 +98384,4 @@ function defineApplication(config) {
|
|
|
98380
98384
|
|
|
98381
98385
|
//#endregion
|
|
98382
98386
|
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 };
|
|
98383
|
-
//# sourceMappingURL=application-
|
|
98387
|
+
//# sourceMappingURL=application-R26DC-sK.mjs.map
|