mpesa-mock 0.1.0 → 0.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/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -2475,7 +2475,7 @@ async function createSqliteStore(path) {
|
|
|
2475
2475
|
|
|
2476
2476
|
// src/cli.ts
|
|
2477
2477
|
init_defaults();
|
|
2478
|
-
var VERSION = "0.
|
|
2478
|
+
var VERSION = "0.2.0";
|
|
2479
2479
|
var program = new import_commander.Command();
|
|
2480
2480
|
program.name("mpesa-mock").description("Local M-Pesa Daraja API emulator").version(VERSION).option("-p, --port <number>", "port to listen on", String(DEFAULTS.port)).option("-h, --host <host>", "host to bind", DEFAULTS.host).option("-d, --delay <ms>", "default callback delay in milliseconds").option("-c, --config <path>", "path to mpesa-mock.config.json").option("--persist <path>", "SQLite database path (transactions survive restart)").option("--record <path>", "append every request/response to a file").option("--replay <path>", "replay a recorded session (transactions only)").option("-q, --quiet", "disable per-request logging").option("--ui", "launch terminal UI dashboard (live transaction view)").action(async (opts) => {
|
|
2481
2481
|
await run(opts);
|