@vertesia/workflow 1.1.0-dev.20260427.060440Z → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/workflow",
3
- "version": "1.1.0-dev.20260427.060440Z",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Vertesia workflow DSL",
6
6
  "main": "./lib/esm/index.js",
@@ -43,11 +43,11 @@
43
43
  "tmp": "^0.2.4",
44
44
  "tmp-promise": "^3.0.3",
45
45
  "yaml": "^2.6.0",
46
- "@llumiverse/common": "1.1.0-dev.20260427.054520Z",
47
- "@vertesia/client": "1.1.0-dev.20260427.060440Z",
48
- "@vertesia/common": "1.1.0-dev.20260427.060440Z",
49
- "@vertesia/memory": "1.1.0-dev.20260427.060440Z",
50
- "@vertesia/api-fetch-client": "1.1.0-dev.20260427.060440Z"
46
+ "@llumiverse/common": "1.1.0",
47
+ "@vertesia/client": "1.1.0",
48
+ "@vertesia/common": "1.1.0",
49
+ "@vertesia/memory": "1.1.0",
50
+ "@vertesia/api-fetch-client": "1.1.0"
51
51
  },
52
52
  "ts_dual_module": {
53
53
  "outDir": "lib",
@@ -32,6 +32,14 @@ export async function saveGladiaTranscription(payload: DSLActivityExecutionPaylo
32
32
  error: "Gladia integration not enabled",
33
33
  };
34
34
  }
35
+ if (!gladiaConfig.api_key) {
36
+ return {
37
+ hasText: false,
38
+ objectId: inputType === 'objectIds' ? context.objectId : undefined,
39
+ status: TextExtractionStatus.error,
40
+ error: "Gladia API key not configured",
41
+ };
42
+ }
35
43
 
36
44
  const gladiaClient = new FetchClient(gladiaConfig.url ?? GLADIA_URL);
37
45
  gladiaClient.withHeaders({ "x-gladia-key": gladiaConfig.api_key });
@@ -41,6 +41,14 @@ export async function transcribeMedia(payload: DSLActivityExecutionPayload<Trans
41
41
  error: "Gladia integration not enabled",
42
42
  }
43
43
  }
44
+ if (!gladiaConfig.api_key) {
45
+ return {
46
+ hasText: false,
47
+ objectId: inputType === 'objectIds' ? context.objectId : undefined,
48
+ status: TextExtractionStatus.error,
49
+ error: "Gladia API key not configured",
50
+ }
51
+ }
44
52
 
45
53
  const gladiaClient = new FetchClient(gladiaConfig.url ?? GLADIA_URL);
46
54
  gladiaClient.withHeaders({ "x-gladia-key": gladiaConfig.api_key });