@crvouga/mockingbird-service-mailosaur 2.3.0 → 3.1.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 +25 -5
- package/DISCOVERY.md +2 -2
- package/README.md +13 -13
- package/SUPPORT.md +2 -2
- package/dist/{chunk-477EZHF7.js → chunk-ABVPO3HP.js} +5 -5
- package/dist/{chunk-477EZHF7.js.map → chunk-ABVPO3HP.js.map} +2 -2
- package/dist/{chunk-ILSUD5X3.js → chunk-MKCDX2JJ.js} +34 -4
- package/dist/chunk-MKCDX2JJ.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/openapi.yaml +3 -3
- package/package.json +4 -4
- package/dist/chunk-ILSUD5X3.js.map +0 -7
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/dist/server.js
CHANGED
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
info:
|
|
3
3
|
title: Mailosaur API (Mockingbird subset)
|
|
4
4
|
description: |
|
|
5
|
-
Stateful
|
|
5
|
+
Stateful emulator subset of the Mailosaur email/SMS testing API: message search (the SDK's
|
|
6
6
|
client-side long-poll behind `messages.get`), list, get by id, delete, delete-all, create,
|
|
7
7
|
and the server-side `await` long-poll. Hand-authored from the `mailosaur@11.1.0` Node SDK
|
|
8
8
|
(the exact requests it sends and the fields its models read) and our consumer's
|
|
@@ -22,7 +22,7 @@ paths:
|
|
|
22
22
|
operationId: SearchMessages
|
|
23
23
|
description: >-
|
|
24
24
|
Message summaries matching the criteria, newest first. Answers at once; when nothing
|
|
25
|
-
matches, `x-ms-delay` tells the SDK how long to wait before polling again (the
|
|
25
|
+
matches, `x-ms-delay` tells the SDK how long to wait before polling again (the emulator's
|
|
26
26
|
default is 20 ms, so `messages.get` returns within ~20 ms of a message arriving).
|
|
27
27
|
x-mockingbird:
|
|
28
28
|
supported: true
|
|
@@ -207,7 +207,7 @@ paths:
|
|
|
207
207
|
operationId: CreateMessage
|
|
208
208
|
description: >-
|
|
209
209
|
`messages.create`: a new message in the server's inbox (the vendor would also send it to
|
|
210
|
-
a verified address when `send` is true; the
|
|
210
|
+
a verified address when `send` is true; the emulator only stores it).
|
|
211
211
|
x-mockingbird:
|
|
212
212
|
supported: true
|
|
213
213
|
parity:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-mailosaur",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Stateful
|
|
3
|
+
"version": "3.1.0",
|
|
4
|
+
"description": "Stateful emulator of the Mailosaur email/SMS testing API (messages search, get, delete, long-poll) with an HTTP ingest so other emulators can drop mail in (Mockingbird service contract).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"email",
|
|
46
46
|
"inbox",
|
|
47
47
|
"testing",
|
|
48
|
-
"
|
|
48
|
+
"emulator"
|
|
49
49
|
],
|
|
50
50
|
"mockingbird": {
|
|
51
51
|
"runtime": "portable",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@crvouga/mockingbird-service-sqlite": "
|
|
101
|
+
"@crvouga/mockingbird-service-sqlite": "3.1.0",
|
|
102
102
|
"hono": "4.11.9"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|