@exulu/backend 1.65.0 → 1.66.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.
@@ -1562,7 +1562,10 @@ var createUppyRoutes = async (app, config) => {
1562
1562
  Bucket: config.fileUploads.s3Bucket,
1563
1563
  Key: fullKey,
1564
1564
  ContentType: type,
1565
- Metadata: metadata
1565
+ // S3 metadata values must be US-ASCII. Sanitize here (same as uploadFile)
1566
+ // so non-ASCII characters in the filename — e.g. the en-dash "–" in
1567
+ // "… CEST – Recording.mp4" — don't trigger a SignatureDoesNotMatch.
1568
+ Metadata: sanitizeMetadata(metadata)
1566
1569
  };
1567
1570
  const command = new CreateMultipartUploadCommand(params);
1568
1571
  return client2.send(command, (err, data) => {
@@ -18774,7 +18777,7 @@ var ExuluTool = class _ExuluTool {
18774
18777
  });
18775
18778
  providerapikey = resolved.apiKey;
18776
18779
  }
18777
- const { convertExuluToolsToAiSdkTools: convertExuluToolsToAiSdkTools2 } = await import("./convert-exulu-tools-to-ai-sdk-tools-J7PNBC5K.js");
18780
+ const { convertExuluToolsToAiSdkTools: convertExuluToolsToAiSdkTools2 } = await import("./convert-exulu-tools-to-ai-sdk-tools-ZFIN7A5V.js");
18778
18781
  const tools = await convertExuluToolsToAiSdkTools2(
18779
18782
  [this],
18780
18783
  [],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  convertExuluToolsToAiSdkTools
3
- } from "./chunk-DQR5LQOE.js";
3
+ } from "./chunk-KQDNL5WU.js";
4
4
  import "./chunk-YCE44CMU.js";
5
5
  export {
6
6
  convertExuluToolsToAiSdkTools
package/dist/index.cjs CHANGED
@@ -2777,7 +2777,10 @@ var init_uppy = __esm({
2777
2777
  Bucket: config.fileUploads.s3Bucket,
2778
2778
  Key: fullKey,
2779
2779
  ContentType: type,
2780
- Metadata: metadata
2780
+ // S3 metadata values must be US-ASCII. Sanitize here (same as uploadFile)
2781
+ // so non-ASCII characters in the filename — e.g. the en-dash "–" in
2782
+ // "… CEST – Recording.mp4" — don't trigger a SignatureDoesNotMatch.
2783
+ Metadata: sanitizeMetadata(metadata)
2781
2784
  };
2782
2785
  const command = new import_client_s3.CreateMultipartUploadCommand(params);
2783
2786
  return client2.send(command, (err, data) => {
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ import {
53
53
  uploadFile,
54
54
  validateHermesAtBoot,
55
55
  withRetry
56
- } from "./chunk-DQR5LQOE.js";
56
+ } from "./chunk-KQDNL5WU.js";
57
57
  import "./chunk-YCE44CMU.js";
58
58
 
59
59
  // src/index.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exulu/backend",
3
3
  "author": "Qventu Bv.",
4
- "version": "1.65.0",
4
+ "version": "1.66.0",
5
5
  "main": "./dist/index.js",
6
6
  "private": false,
7
7
  "publishConfig": {