@crvouga/mockingbird-service-junction 1.5.0 → 1.6.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 +10 -0
- package/dist/{chunk-AKZJPCBU.js → chunk-LNHFCMWC.js} +1453 -648
- package/dist/chunk-LNHFCMWC.js.map +7 -0
- package/dist/{chunk-7HA4XGOS.js → chunk-QPWK4BSX.js} +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-AKZJPCBU.js.map +0 -7
- /package/dist/{chunk-7HA4XGOS.js.map → chunk-QPWK4BSX.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createRuntime,
|
|
4
4
|
defaultBillingTypesFrom,
|
|
5
5
|
pullCorpus
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LNHFCMWC.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultCorpus
|
|
9
9
|
} from "./chunk-C2UGIPPM.js";
|
|
@@ -536,4 +536,4 @@ export {
|
|
|
536
536
|
createServer2 as createServer,
|
|
537
537
|
serveTarget
|
|
538
538
|
};
|
|
539
|
-
//# sourceMappingURL=chunk-
|
|
539
|
+
//# sourceMappingURL=chunk-QPWK4BSX.js.map
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runCli,
|
|
5
5
|
serveCommand,
|
|
6
6
|
serveTarget
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QPWK4BSX.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_JUNCTION_BASE_URL,
|
|
10
10
|
createRuntime,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isSandboxKey,
|
|
13
13
|
pullCorpus,
|
|
14
14
|
verifyAgainstReal
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LNHFCMWC.js";
|
|
16
16
|
import {
|
|
17
17
|
defaultCorpus
|
|
18
18
|
} from "./chunk-C2UGIPPM.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1131,11 +1131,7 @@ declare const TRANSITION_ALIASES: Readonly<Record<string, Readonly<Record<string
|
|
|
1131
1131
|
* exact payload instead.
|
|
1132
1132
|
*/
|
|
1133
1133
|
declare const RESULT_FIXTURES: Readonly<Record<string, Record<string, unknown>>>;
|
|
1134
|
-
/**
|
|
1135
|
-
* Junction failure modes a suite can switch on by name. `sandbox_user_quota` reproduces
|
|
1136
|
-
* the shared-sandbox error byte for byte (message as observed from a real sandbox team);
|
|
1137
|
-
* the others are shape-plausible, not verified against Junction.
|
|
1138
|
-
*/
|
|
1134
|
+
/** Named Junction faults a suite can add with `runtime.faults.add`. */
|
|
1139
1135
|
declare const FAULT_PRESETS: Readonly<Record<string, Omit<FaultRule, "id">>>;
|
|
1140
1136
|
/** Resolve a target (`completed`, `completed.completed`, or a full status) for a method. */
|
|
1141
1137
|
declare const resolveTransition: (method: string, target: string) => {
|
package/dist/index.js
CHANGED
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-junction",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Stateful mock of the Junction (Vital) user API driven by its OpenAPI contract and verified by differential property tests against the Junction sandbox.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"website": "https://www.junction.com",
|
|
59
59
|
"docs": "https://docs.junction.com"
|
|
60
60
|
},
|
|
61
|
-
"
|
|
61
|
+
"parity": "Users, orders, and lab results",
|
|
62
62
|
"parityTier": "cold",
|
|
63
63
|
"parityInputs": [
|
|
64
64
|
"PARITY_FAILURE_SEED_REGISTRY.json"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"verify": "bun src/cli.ts verify"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@crvouga/mockingbird-service-sqlite": "1.
|
|
89
|
+
"@crvouga/mockingbird-service-sqlite": "1.2.0",
|
|
90
90
|
"hono": "4.11.9"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|