@settlemint/dalp-cli 3.1.26-main.39857346481 → 3.1.26-main.39864892531

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
@@ -42348,7 +42348,7 @@ function sha2563(value, to_) {
42348
42348
  return bytes;
42349
42349
  return toHex(bytes);
42350
42350
  }
42351
- // ../sdk/dist/chunk-hcpk89xj.js
42351
+ // ../sdk/dist/chunk-s779b1kf.js
42352
42352
  var DALP_AUTH_SURFACE_HEADER2 = "X-Dalp-Auth-Surface";
42353
42353
  var SECRET_REDACTION_MARKER2 = "[REDACTED]";
42354
42354
  var inspectSymbol = Symbol.for("nodejs.util.inspect.custom");
@@ -42412,6 +42412,12 @@ var WHATWG_FETCH_POLYFILL_FLAG = "polyfill";
42412
42412
  function isBufferingFetch(fetchImpl) {
42413
42413
  return typeof fetchImpl === "function" && Reflect.get(fetchImpl, WHATWG_FETCH_POLYFILL_FLAG) === true;
42414
42414
  }
42415
+ function keepBufferingMarker(wrapped, wrapper) {
42416
+ return isBufferingFetch(wrapped) ? Object.assign(wrapper, { [WHATWG_FETCH_POLYFILL_FLAG]: true }) : wrapper;
42417
+ }
42418
+ function globalFetch() {
42419
+ return keepBufferingMarker(globalThis.fetch, (input, init) => globalThis.fetch(input, init));
42420
+ }
42415
42421
  function refuseBundledApiKey(runtime) {
42416
42422
  if (runtime === "server") {
42417
42423
  return;
@@ -42536,7 +42542,7 @@ var dual = function(arity, body) {
42536
42542
  };
42537
42543
  }
42538
42544
  };
42539
- // ../sdk/dist/chunk-st589hs9.js
42545
+ // ../sdk/dist/chunk-x6bb2pss.js
42540
42546
  function appendQueryValue(search, path, value) {
42541
42547
  if (value === undefined || value === null) {
42542
42548
  return;
@@ -43045,7 +43051,7 @@ function preferDirective(timeoutMs) {
43045
43051
  function createTransport(options) {
43046
43052
  const baseUrl = normalizeDalpBaseUrl(String(options.baseUrl));
43047
43053
  const runtime = options.runtime ?? detectDalpRuntime();
43048
- const baseFetch = options.fetch ?? globalThis.fetch;
43054
+ const baseFetch = options.fetch ?? globalFetch();
43049
43055
  const transportFetch = runtime === "server" ? withRequestBodyCompression(baseFetch) : baseFetch;
43050
43056
  const { apiKey: apiKeyOption } = options;
43051
43057
  let apiKey;
@@ -44019,7 +44025,7 @@ function findRoute(table, id) {
44019
44025
  return table.routes[id];
44020
44026
  }
44021
44027
 
44022
- // ../sdk/dist/chunk-ybds48n1.js
44028
+ // ../sdk/dist/chunk-xmd617v1.js
44023
44029
  function buildDalpClient(options, table) {
44024
44030
  const transport = createTransport(options);
44025
44031
  const api = buildProxy(table, createFetchExecutor(transport), createTanstackFactories(transport));
@@ -110886,7 +110892,7 @@ async function runCommand(context, operation, errorContext = UNKNOWN_COMMAND_ERR
110886
110892
  // package.json
110887
110893
  var package_default = {
110888
110894
  name: "@settlemint/dalp-cli",
110889
- version: "3.1.26-main.39857346481",
110895
+ version: "3.1.26-main.39864892531",
110890
110896
  private: false,
110891
110897
  description: "CLI for the Digital Asset Lifecycle Platform \u2014 manage tokens, identities, compliance, and more from the command line.",
110892
110898
  homepage: "https://settlemint.com",
@@ -112359,4 +112365,4 @@ if (false) {}
112359
112365
  // src/bin.ts
112360
112366
  await cli.serve();
112361
112367
 
112362
- //# debugId=DD175AB7F16B24A064756E2164756E21
112368
+ //# debugId=3447B1AB77B5F89264756E2164756E21