@settlemint/dalp-cli 3.1.33-main.43526476406 → 3.1.33-main.43535573391

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 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.43526476406",
53189
+ version: "3.1.33-main.43535573391",
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.dir, openapi_surface_default);
54579
- var openApiSurface = await Bun.file(surfaceFile).json();
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=A54C4894D909BE7C64756E2164756E21
55165
+ //# debugId=7D06CFCF71531BB564756E2164756E21