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.js
CHANGED
|
@@ -2476,7 +2476,7 @@ async function createSqliteStore(path2) {
|
|
|
2476
2476
|
|
|
2477
2477
|
// src/cli.ts
|
|
2478
2478
|
init_defaults();
|
|
2479
|
-
var VERSION = "0.
|
|
2479
|
+
var VERSION = "0.2.0";
|
|
2480
2480
|
var program = new Command();
|
|
2481
2481
|
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) => {
|
|
2482
2482
|
await run(opts);
|