@sinch/functions-runtime 0.4.8 → 0.4.10
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/dist/bin/sinch-runtime.js +2 -0
- package/dist/bin/sinch-runtime.js.map +1 -1
- package/dist/index.d.ts +21 -2
- package/dist/index.js +10 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ import fs5 from "fs";
|
|
|
9
9
|
// ../runtime-shared/dist/ai/connect-agent.js
|
|
10
10
|
var AgentProvider;
|
|
11
11
|
(function(AgentProvider2) {
|
|
12
|
+
AgentProvider2["Sinch"] = "sinch";
|
|
12
13
|
AgentProvider2["ElevenLabs"] = "elevenlabs";
|
|
13
14
|
})(AgentProvider || (AgentProvider = {}));
|
|
14
15
|
|
|
@@ -508,6 +509,7 @@ var noOpStorage = {
|
|
|
508
509
|
function buildBaseContext(req, config = {}) {
|
|
509
510
|
return {
|
|
510
511
|
requestId: req?.headers?.["x-request-id"] || generateRequestId(),
|
|
512
|
+
host: req?.headers?.["host"],
|
|
511
513
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
512
514
|
env: process.env,
|
|
513
515
|
config: {
|