@crvouga/mockingbird-service-fcm 2.7.0 → 2.8.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.
|
@@ -3057,7 +3057,7 @@ async function preflightFleet(config, options) {
|
|
|
3057
3057
|
break;
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "2.
|
|
3060
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "2.8.0" });
|
|
3061
3061
|
} catch (error) {
|
|
3062
3062
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3063
3063
|
}
|
|
@@ -3283,7 +3283,11 @@ var serve = async (api, options = {}) => {
|
|
|
3283
3283
|
// ../../adapters/node/dist/listen.js
|
|
3284
3284
|
var listen = async (api, options = {}) => {
|
|
3285
3285
|
const host = options.host ?? "127.0.0.1";
|
|
3286
|
-
const server = await serve(api, {
|
|
3286
|
+
const server = await serve(api, {
|
|
3287
|
+
port: options.port ?? 0,
|
|
3288
|
+
host,
|
|
3289
|
+
...options.maxBodyBytes !== void 0 ? { maxBodyBytes: options.maxBodyBytes } : {}
|
|
3290
|
+
});
|
|
3287
3291
|
const address = server.address();
|
|
3288
3292
|
const port = typeof address === "object" && address !== null ? address.port : options.port ?? 0;
|
|
3289
3293
|
const shown = host.includes(":") ? `[${host}]` : host;
|
|
@@ -3482,7 +3486,8 @@ var httpChild = async (target, entry, options, admission, generation, privateAcc
|
|
|
3482
3486
|
try {
|
|
3483
3487
|
server = await listen(api, {
|
|
3484
3488
|
port: entry.port ?? target.defaultPort,
|
|
3485
|
-
host: entry.host ?? "127.0.0.1"
|
|
3489
|
+
host: entry.host ?? "127.0.0.1",
|
|
3490
|
+
...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
|
|
3486
3491
|
});
|
|
3487
3492
|
target.listening?.(server);
|
|
3488
3493
|
} catch (error) {
|
|
@@ -4873,7 +4878,11 @@ var start = async (target, values, config) => {
|
|
|
4873
4878
|
});
|
|
4874
4879
|
if (config.idBase !== void 0)
|
|
4875
4880
|
runtime.setIdBase?.(config.idBase);
|
|
4876
|
-
const listening = await listen(runtime, {
|
|
4881
|
+
const listening = await listen(runtime, {
|
|
4882
|
+
port: config.port,
|
|
4883
|
+
host: config.host,
|
|
4884
|
+
...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
|
|
4885
|
+
});
|
|
4877
4886
|
target.listening?.(listening);
|
|
4878
4887
|
console.log(`${target.name} emulator listening on ${listening.url}`);
|
|
4879
4888
|
console.log(`${target.name} health: GET ${listening.url}${adminPrefix}/health`);
|
|
@@ -5016,4 +5025,4 @@ export {
|
|
|
5016
5025
|
createServer2 as createServer,
|
|
5017
5026
|
serveTarget
|
|
5018
5027
|
};
|
|
5019
|
-
//# sourceMappingURL=chunk-
|
|
5028
|
+
//# sourceMappingURL=chunk-RO4VYX52.js.map
|