@settlemint/dalp-cli 3.1.33-main.43526476406 → 3.1.33-main.43540097226
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/dalp.js +5 -4
- package/dist/dalp.js.map +4 -4
- package/package.json +4 -4
- package/src/lib/openapi-surface.ts +3 -2
package/dist/dalp.js
CHANGED
|
@@ -53186,7 +53186,7 @@ async function runCommand(context, operation, errorContext = UNKNOWN_COMMAND_ERR
|
|
|
53186
53186
|
// package.json
|
|
53187
53187
|
var package_default = {
|
|
53188
53188
|
name: "@settlemint/dalp-cli",
|
|
53189
|
-
version: "3.1.33-main.
|
|
53189
|
+
version: "3.1.33-main.43540097226",
|
|
53190
53190
|
private: false,
|
|
53191
53191
|
description: "CLI for the Digital Asset Lifecycle Platform \u2014 manage tokens, identities, compliance, and more from the command line.",
|
|
53192
53192
|
homepage: "https://settlemint.com",
|
|
@@ -54569,14 +54569,15 @@ function zodForRequestBody(surface) {
|
|
|
54569
54569
|
}
|
|
54570
54570
|
|
|
54571
54571
|
// src/lib/openapi-surface.ts
|
|
54572
|
+
import { readFile as readFile4 } from "fs/promises";
|
|
54572
54573
|
import path9 from "path";
|
|
54573
54574
|
|
|
54574
54575
|
// src/generated/openapi-surface.json
|
|
54575
54576
|
var openapi_surface_default = "./openapi-surface-a72tf5hy.json";
|
|
54576
54577
|
|
|
54577
54578
|
// src/lib/openapi-surface.ts
|
|
54578
|
-
var surfaceFile = path9.resolve(import.meta.
|
|
54579
|
-
var openApiSurface = await
|
|
54579
|
+
var surfaceFile = path9.resolve(import.meta.dirname, openapi_surface_default);
|
|
54580
|
+
var openApiSurface = JSON.parse(await readFile4(surfaceFile, "utf8"));
|
|
54580
54581
|
function surfaceFor(operationName) {
|
|
54581
54582
|
return openApiSurface.operations[operationName];
|
|
54582
54583
|
}
|
|
@@ -55161,4 +55162,4 @@ if (false) {}
|
|
|
55161
55162
|
// src/bin.ts
|
|
55162
55163
|
await cli.serve();
|
|
55163
55164
|
|
|
55164
|
-
//# debugId=
|
|
55165
|
+
//# debugId=0D90C53FDE2ADD9864756E2164756E21
|