@flowcore/sdk 1.19.0 → 1.19.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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.19.1](https://github.com/flowcore-io/flowcore-sdk/compare/v1.19.0...v1.19.1) (2025-03-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **security:** :art: update PATSchema to use optional description and add createdAt field ([389907f](https://github.com/flowcore-io/flowcore-sdk/commit/389907fec1e060a3cb99cc3231a6fe86696ff035))
9
+
3
10
  ## [1.19.0](https://github.com/flowcore-io/flowcore-sdk/compare/v1.18.0...v1.19.0) (2025-03-17)
4
11
 
5
12
 
@@ -5,8 +5,9 @@ import { type Static, type TObject, type TOptional, type TString } from "@sincla
5
5
  export declare const PATSchema: TObject<{
6
6
  id: TString;
7
7
  name: TString;
8
- description: TString;
8
+ description: TOptional<TString>;
9
9
  token: TOptional<TString>;
10
+ createdAt: TString;
10
11
  }>;
11
12
  /**
12
13
  * The type for a PAT
@@ -1 +1 @@
1
- {"version":3,"file":"pat.d.ts","sourceRoot":"","sources":["../../src/contracts/pat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC;IAC9B,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;CAC1B,CAKC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAA"}
1
+ {"version":3,"file":"pat.d.ts","sourceRoot":"","sources":["../../src/contracts/pat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC;IAC9B,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC/B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;CACnB,CAMC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAA"}
@@ -5,6 +5,7 @@ import { Type } from "@sinclair/typebox";
5
5
  export const PATSchema = Type.Object({
6
6
  id: Type.String(),
7
7
  name: Type.String(),
8
- description: Type.String(),
8
+ description: Type.Optional(Type.String()),
9
9
  token: Type.Optional(Type.String()),
10
+ createdAt: Type.String(),
10
11
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowcore/sdk",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "Flowcore SDK",
5
5
  "homepage": "https://github.com/flowcore-io/flowcore-sdk#readme",
6
6
  "repository": {
@@ -5,8 +5,9 @@ import { type Static, type TObject, type TOptional, type TString } from "@sincla
5
5
  export declare const PATSchema: TObject<{
6
6
  id: TString;
7
7
  name: TString;
8
- description: TString;
8
+ description: TOptional<TString>;
9
9
  token: TOptional<TString>;
10
+ createdAt: TString;
10
11
  }>;
11
12
  /**
12
13
  * The type for a PAT
@@ -1 +1 @@
1
- {"version":3,"file":"pat.d.ts","sourceRoot":"","sources":["../../src/contracts/pat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC;IAC9B,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;CAC1B,CAKC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAA"}
1
+ {"version":3,"file":"pat.d.ts","sourceRoot":"","sources":["../../src/contracts/pat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC;IAC9B,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC/B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;CACnB,CAMC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAA"}
@@ -8,6 +8,7 @@ const typebox_1 = require("@sinclair/typebox");
8
8
  exports.PATSchema = typebox_1.Type.Object({
9
9
  id: typebox_1.Type.String(),
10
10
  name: typebox_1.Type.String(),
11
- description: typebox_1.Type.String(),
11
+ description: typebox_1.Type.Optional(typebox_1.Type.String()),
12
12
  token: typebox_1.Type.Optional(typebox_1.Type.String()),
13
+ createdAt: typebox_1.Type.String(),
13
14
  });