@crvouga/mockingbird-service-apigateway 1.0.0 → 1.2.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 +16 -0
- package/DISCOVERY.md +2 -2
- package/README.md +4 -4
- package/SUPPORT.md +2 -2
- package/dist/{chunk-6TO3KUG3.js → chunk-ONZWHMLG.js} +259 -171
- package/dist/chunk-ONZWHMLG.js.map +7 -0
- package/dist/{chunk-ZKBJYHB7.js → chunk-WLC3ZYUY.js} +8 -6
- package/dist/chunk-WLC3ZYUY.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +96 -81
- package/dist/index.js +1 -1
- package/dist/server.d.ts +141 -108
- package/dist/server.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-6TO3KUG3.js.map +0 -7
- package/dist/chunk-ZKBJYHB7.js.map +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-apigateway
|
|
2
2
|
|
|
3
|
+
## 1.2.0 (2026-10-09)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- match Emulate provider coverage ([16b65ce](https://github.com/crvouga/mockingbird/commit/16b65ce791fa216f28ec1521df636f57771d9c5e))
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
- `@crvouga/mockingbird-service-sqlite`
|
|
12
|
+
|
|
13
|
+
## 1.1.0 (2026-10-08)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- redesign emulator experience ([d6038c2](https://github.com/crvouga/mockingbird/commit/d6038c27eebbaa1751f02bc9305002a5b1304779))
|
|
18
|
+
|
|
3
19
|
## 1.0.0 (2026-10-07)
|
|
4
20
|
|
|
5
21
|
### ⚠️ Breaking changes
|
package/DISCOVERY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @crvouga/mockingbird-service-apigateway discovery
|
|
2
2
|
|
|
3
3
|
This is the installed-package index for coding agents and tooling. All relative links resolve
|
|
4
|
-
inside `node_modules/@crvouga/mockingbird-service-apigateway/`; no repository checkout is needed to discover the
|
|
4
|
+
inside `node_modules/@crvouga/mockingbird-service-apigateway/`; no repository checkout is needed to discover the emulator's
|
|
5
5
|
supported surface or documented behavior.
|
|
6
6
|
|
|
7
7
|
## Capability and behavior sources
|
|
@@ -48,7 +48,7 @@ designed for assertions and diagnosis by consuming test suites.
|
|
|
48
48
|
## Report a mismatch or missing capability
|
|
49
49
|
|
|
50
50
|
Follow the [agent reporting contract](https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md). Include package version,
|
|
51
|
-
operation/command, a minimal redacted request, actual
|
|
51
|
+
operation/command, a minimal redacted request, actual emulator result, expected oracle result or vendor
|
|
52
52
|
documentation, and whether the mismatch appears in the matrix. Never include keys, tokens,
|
|
53
53
|
customer data, prompts, PHI, card data, or unredacted recordings.
|
|
54
54
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @crvouga/mockingbird-service-apigateway
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Local emulators. Real API contracts. Part of [Mockingbird](https://github.com/crvouga/mockingbird).
|
|
4
4
|
|
|
5
5
|
Transport scaffold for Amazon API Gateway REST API. ESM; Node 22+ or Bun 1.2+.
|
|
6
6
|
|
|
@@ -8,9 +8,9 @@ Transport scaffold for Amazon API Gateway REST API. ESM; Node 22+ or Bun 1.2+.
|
|
|
8
8
|
|
|
9
9
|
```ts
|
|
10
10
|
import { createServer } from "@crvouga/mockingbird-service-apigateway/server"
|
|
11
|
-
const
|
|
12
|
-
// AWS SDK: endpoint:
|
|
13
|
-
// Await
|
|
11
|
+
const emulator = await createServer()
|
|
12
|
+
// AWS SDK: endpoint: emulator.url, region: "us-east-1", fixture credentials.
|
|
13
|
+
// Await emulator.close() after the test.
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
State lives in SQLite collections and participates in the shared runtime's namespace isolation,
|
package/SUPPORT.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Generated from `openapi.yaml`; do not edit by hand.
|
|
4
4
|
|
|
5
5
|
- operations in spec: **7**
|
|
6
|
-
- supported by the
|
|
6
|
+
- supported by the emulator: **0**
|
|
7
7
|
- parity enabled: **0**
|
|
8
8
|
|
|
9
|
-
| operationId | route |
|
|
9
|
+
| operationId | route | emulator | parity | notes |
|
|
10
10
|
| --- | --- | --- | --- | --- |
|
|
11
11
|
| `AwsQuery` | `GET /` | ❌ unsupported | — | Vendor operations are not implemented in this scaffold. |
|
|
12
12
|
| `AwsRpc` | `POST /` | ❌ unsupported | — | Vendor operations are not implemented in this scaffold. |
|