@crvouga/mockingbird-service-intercom 1.6.1 → 1.7.1
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 +14 -4
- package/dist/{chunk-XZO4XRUA.js → chunk-6CA2VLGC.js} +3 -2
- package/dist/chunk-6CA2VLGC.js.map +7 -0
- package/dist/{chunk-O25E63FD.js → chunk-U46KHRXA.js} +89 -10
- package/dist/chunk-U46KHRXA.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.d.ts +11 -9
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-O25E63FD.js.map +0 -7
- package/dist/chunk-XZO4XRUA.js.map +0 -7
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -546,6 +546,15 @@ type ServiceRuntime$1<T extends ServiceInstance$1> = FetchAPI$2 & {
|
|
|
546
546
|
state(namespace?: string): StateView$1;
|
|
547
547
|
};
|
|
548
548
|
|
|
549
|
+
/** A running server, with the address it actually bound. */
|
|
550
|
+
type Listening = {
|
|
551
|
+
url: string;
|
|
552
|
+
port: number;
|
|
553
|
+
host: string;
|
|
554
|
+
server: Server;
|
|
555
|
+
close(): Promise<void>;
|
|
556
|
+
};
|
|
557
|
+
|
|
549
558
|
type CliOption = {
|
|
550
559
|
type: "string" | "boolean";
|
|
551
560
|
description: string;
|
|
@@ -572,15 +581,8 @@ type ServeTarget = {
|
|
|
572
581
|
create(values: CliValues, common: CommonServeOptions): Promise<ServiceRuntime$1<ServiceInstance$1>> | ServiceRuntime$1<ServiceInstance$1>;
|
|
573
582
|
/** Startup lines after the listen address, e.g. the loaded corpus version. */
|
|
574
583
|
banner?(runtime: ServiceRuntime$1<ServiceInstance$1>): string[];
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
/** A running server, with the address it actually bound. */
|
|
578
|
-
type Listening = {
|
|
579
|
-
url: string;
|
|
580
|
-
port: number;
|
|
581
|
-
host: string;
|
|
582
|
-
server: Server;
|
|
583
|
-
close(): Promise<void>;
|
|
584
|
+
/** After the HTTP server is bound. A service that speaks more than HTTP attaches it here. */
|
|
585
|
+
listening?(server: Listening): void;
|
|
584
586
|
};
|
|
585
587
|
|
|
586
588
|
/**
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-intercom",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Stateful mock of the Intercom REST API 2.11: contacts (search, create with 409 on duplicates, update, get), conversations (create with Idempotency-Key, reply as JSON or multipart, close/open, get, cursor search), admins, and X-Hub-Signature-signed admin reply/close/open webhooks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|