@tailor-platform/sdk 1.9.3 → 1.10.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 +26 -0
- package/dist/{application-CVdIXWKF.mjs → application-BKBo5tGD.mjs} +9 -2
- package/dist/application-BKBo5tGD.mjs.map +1 -0
- package/dist/application-a12-7TT3.mjs +4 -0
- package/dist/cli/index.mjs +2 -2
- package/dist/cli/lib.d.mts +16993 -7
- 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-B07hXFjo.d.mts → index-BQw6I-mY.d.mts} +11 -10
- package/dist/{index-x4xcWJm1.d.mts → index-CoqePlnt.d.mts} +4 -1
- package/dist/{update-B9UIU-42.mjs → update-Exhc9AkY.mjs} +331 -164
- package/dist/update-Exhc9AkY.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/application-CVdIXWKF.mjs.map +0 -1
- package/dist/application-r8pIjc4L.mjs +0 -4
- package/dist/update-B9UIU-42.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#567](https://github.com/tailor-platform/sdk/pull/567) [`480309f`](https://github.com/tailor-platform/sdk/commit/480309f4d085bf05fbc00e7f215778a22ffd424a) Thanks [@k1LoW](https://github.com/k1LoW)! - Add schema validation to reject `requireDpop: true` for browser client type in OAuth2 client configuration. Browser clients don't support DPoP, and this validation provides early feedback at the SDK level before deployment.
|
|
8
|
+
|
|
9
|
+
## 1.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
15
|
+
- Replace gql-ingest with Kysely batch insert for TailorDB seeding (100 rows/batch)
|
|
16
|
+
- Use direct fetch() for \_User seeding instead of gql-ingest
|
|
17
|
+
- Add topological sort for type insertion order
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#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
|
|
22
|
+
|
|
23
|
+
- [#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
|
|
24
|
+
|
|
25
|
+
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.
|
|
26
|
+
|
|
27
|
+
- [#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
|
|
28
|
+
|
|
3
29
|
## 1.9.3
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -97848,6 +97848,9 @@ const OAuth2ClientSchema = z.object({
|
|
|
97848
97848
|
nanos: 0
|
|
97849
97849
|
} : void 0),
|
|
97850
97850
|
requireDpop: z.boolean().optional()
|
|
97851
|
+
}).refine((data$1) => !(data$1.clientType === "browser" && data$1.requireDpop === true), {
|
|
97852
|
+
message: "requireDpop cannot be set to true for browser clients as they don't support DPoP",
|
|
97853
|
+
path: ["requireDpop"]
|
|
97851
97854
|
});
|
|
97852
97855
|
const SCIMAuthorizationSchema = z.object({
|
|
97853
97856
|
type: z.union([z.literal("oauth2"), z.literal("bearer")]),
|
|
@@ -98190,10 +98193,14 @@ const IdPUserAuthPolicySchema = z.object({
|
|
|
98190
98193
|
passwordRequireNonAlphanumeric: z.boolean().optional(),
|
|
98191
98194
|
passwordRequireNumeric: z.boolean().optional(),
|
|
98192
98195
|
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()
|
|
98196
|
+
passwordMaxLength: z.number().int().refine((val) => val >= 6 && val <= 4096, { message: "passwordMaxLength must be between 6 and 4096" }).optional(),
|
|
98197
|
+
allowedEmailDomains: z.array(z.string()).optional()
|
|
98194
98198
|
}).refine((data$1) => data$1.passwordMinLength === void 0 || data$1.passwordMaxLength === void 0 || data$1.passwordMinLength <= data$1.passwordMaxLength, {
|
|
98195
98199
|
message: "passwordMinLength must be less than or equal to passwordMaxLength",
|
|
98196
98200
|
path: ["passwordMinLength"]
|
|
98201
|
+
}).refine((data$1) => !data$1.allowedEmailDomains || data$1.allowedEmailDomains.length === 0 || !data$1.useNonEmailIdentifier, {
|
|
98202
|
+
message: "allowedEmailDomains cannot be set when useNonEmailIdentifier is true",
|
|
98203
|
+
path: ["allowedEmailDomains"]
|
|
98197
98204
|
});
|
|
98198
98205
|
const IdPSchema = z.object({
|
|
98199
98206
|
name: z.string(),
|
|
@@ -98380,4 +98387,4 @@ function defineApplication(config) {
|
|
|
98380
98387
|
|
|
98381
98388
|
//#endregion
|
|
98382
98389
|
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-
|
|
98390
|
+
//# sourceMappingURL=application-BKBo5tGD.mjs.map
|