@crvouga/mockingbird-service-aws-speech 3.7.0 → 3.9.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/CHANGELOG.md +13 -1
- package/dist/chunk-7Y7QRQDJ.js +6504 -0
- package/dist/{chunk-KGBYMBBR.js.map → chunk-7Y7QRQDJ.js.map} +1 -1
- package/dist/{chunk-ML4QWID2.js → chunk-HYEXJ6PK.js} +2 -2
- package/dist/cli.js +15 -6
- package/dist/cli.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-KGBYMBBR.js +0 -6504
- /package/dist/{chunk-ML4QWID2.js.map → chunk-HYEXJ6PK.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRuntime
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7Y7QRQDJ.js";
|
|
4
4
|
|
|
5
5
|
// src/h2c.ts
|
|
6
6
|
import {
|
|
@@ -305,4 +305,4 @@ export {
|
|
|
305
305
|
createServer,
|
|
306
306
|
serveTarget
|
|
307
307
|
};
|
|
308
|
-
//# sourceMappingURL=chunk-
|
|
308
|
+
//# sourceMappingURL=chunk-HYEXJ6PK.js.map
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
listenH2c,
|
|
4
4
|
serveTarget
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HYEXJ6PK.js";
|
|
6
6
|
import {
|
|
7
7
|
createClock,
|
|
8
8
|
normalizeBootControls,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
parseFaultHeader,
|
|
14
14
|
resolveAdminPrefix,
|
|
15
15
|
restoreClock
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7Y7QRQDJ.js";
|
|
17
17
|
|
|
18
18
|
// ../../adapters/node/dist/cli.js
|
|
19
19
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
@@ -3061,7 +3061,7 @@ async function preflightFleet(config, options) {
|
|
|
3061
3061
|
break;
|
|
3062
3062
|
}
|
|
3063
3063
|
}
|
|
3064
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.
|
|
3064
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.9.0" });
|
|
3065
3065
|
} catch (error) {
|
|
3066
3066
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3067
3067
|
}
|
|
@@ -3287,7 +3287,11 @@ var serve = async (api, options = {}) => {
|
|
|
3287
3287
|
// ../../adapters/node/dist/listen.js
|
|
3288
3288
|
var listen = async (api, options = {}) => {
|
|
3289
3289
|
const host = options.host ?? "127.0.0.1";
|
|
3290
|
-
const server = await serve(api, {
|
|
3290
|
+
const server = await serve(api, {
|
|
3291
|
+
port: options.port ?? 0,
|
|
3292
|
+
host,
|
|
3293
|
+
...options.maxBodyBytes !== void 0 ? { maxBodyBytes: options.maxBodyBytes } : {}
|
|
3294
|
+
});
|
|
3291
3295
|
const address = server.address();
|
|
3292
3296
|
const port = typeof address === "object" && address !== null ? address.port : options.port ?? 0;
|
|
3293
3297
|
const shown = host.includes(":") ? `[${host}]` : host;
|
|
@@ -3486,7 +3490,8 @@ var httpChild = async (target, entry, options, admission, generation, privateAcc
|
|
|
3486
3490
|
try {
|
|
3487
3491
|
server = await listen(api, {
|
|
3488
3492
|
port: entry.port ?? target.defaultPort,
|
|
3489
|
-
host: entry.host ?? "127.0.0.1"
|
|
3493
|
+
host: entry.host ?? "127.0.0.1",
|
|
3494
|
+
...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
|
|
3490
3495
|
});
|
|
3491
3496
|
target.listening?.(server);
|
|
3492
3497
|
} catch (error) {
|
|
@@ -4877,7 +4882,11 @@ var start = async (target, values, config) => {
|
|
|
4877
4882
|
});
|
|
4878
4883
|
if (config.idBase !== void 0)
|
|
4879
4884
|
runtime.setIdBase?.(config.idBase);
|
|
4880
|
-
const listening = await listen(runtime, {
|
|
4885
|
+
const listening = await listen(runtime, {
|
|
4886
|
+
port: config.port,
|
|
4887
|
+
host: config.host,
|
|
4888
|
+
...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
|
|
4889
|
+
});
|
|
4881
4890
|
target.listening?.(listening);
|
|
4882
4891
|
console.log(`${target.name} emulator listening on ${listening.url}`);
|
|
4883
4892
|
console.log(`${target.name} health: GET ${listening.url}${adminPrefix}/health`);
|