@crvouga/mockingbird-service-wholescripts 3.12.1 → 3.13.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 +6 -0
- package/dist/{chunk-VUGYJWO6.js → admin-ui.js} +13 -6084
- package/dist/admin-ui.js.map +7 -0
- package/dist/chunk-2H44NU3T.js +7 -0
- package/dist/chunk-2H44NU3T.js.map +7 -0
- package/dist/chunk-A475SKFT.js +6103 -0
- package/dist/chunk-A475SKFT.js.map +7 -0
- package/dist/{chunk-7TX4HHBL.js → chunk-F36ZGEH5.js} +3 -3
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/server.js +3 -2
- package/package.json +1 -1
- package/dist/chunk-VUGYJWO6.js.map +0 -7
- /package/dist/{chunk-7TX4HHBL.js.map → chunk-F36ZGEH5.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseFaultHeader,
|
|
13
13
|
resolveAdminPrefix,
|
|
14
14
|
restoreClock
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-A475SKFT.js";
|
|
16
16
|
|
|
17
17
|
// src/server.ts
|
|
18
18
|
import { readFileSync } from "node:fs";
|
|
@@ -3085,7 +3085,7 @@ async function preflightFleet(config, options) {
|
|
|
3085
3085
|
break;
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
3088
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.
|
|
3088
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "3.13.0" });
|
|
3089
3089
|
} catch (error) {
|
|
3090
3090
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3091
3091
|
}
|
|
@@ -5162,4 +5162,4 @@ export {
|
|
|
5162
5162
|
loadCatalogFile,
|
|
5163
5163
|
serveTarget
|
|
5164
5164
|
};
|
|
5165
|
-
//# sourceMappingURL=chunk-
|
|
5165
|
+
//# sourceMappingURL=chunk-F36ZGEH5.js.map
|
package/dist/cli.js
CHANGED
package/dist/cli.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/cli.ts"],
|
|
4
4
|
"sourcesContent": ["#!/usr/bin/env node\n/// <reference types=\"node\" />\nimport { runCli, serveCommand } from \"@crvouga/mockingbird-adapter-node\"\nimport { serveTarget } from \"./server.js\"\n\nconst code = await runCli(\n {\n bin: \"mockingbird-wholescripts\",\n description: \"stateful Wholescripts supplement fulfilment API mock\",\n commands: { serve: serveCommand(serveTarget) },\n },\n process.argv.slice(2),\n)\nif (code !== 0) process.exitCode = code\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;AAKA,IAAM,OAAO,MAAM;AAAA,EACjB;AAAA,IACE,KAAK;AAAA,IACL,aAAa;AAAA,IACb,UAAU,EAAE,OAAO,aAAa,WAAW,EAAE;AAAA,EAC/C;AAAA,EACA,QAAQ,KAAK,MAAM,CAAC;AACtB;AACA,IAAI,SAAS,EAAG,SAAQ,WAAW;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/index.js
CHANGED
package/dist/server.js
CHANGED
|
@@ -3,8 +3,9 @@ import {
|
|
|
3
3
|
createServer,
|
|
4
4
|
loadCatalogFile,
|
|
5
5
|
serveTarget
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-F36ZGEH5.js";
|
|
7
|
+
import "./chunk-A475SKFT.js";
|
|
8
|
+
import "./chunk-2H44NU3T.js";
|
|
8
9
|
export {
|
|
9
10
|
DEFAULT_PORT,
|
|
10
11
|
createServer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-wholescripts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "Stateful emulator of the Wholescripts supplement fulfilment API: product and private-label catalogs, order submit, status polling and cancel, with admin status transitions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|