@settlemint/dalp-cli 3.1.19-main.36191544314 → 3.1.19-main.36200923876

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
@@ -40938,6 +40938,9 @@ function createDalpSdkConfigurationError(input) {
40938
40938
  });
40939
40939
  }
40940
40940
 
40941
+ // ../sdk/src/auth-surface.ts
40942
+ var DALP_AUTH_SURFACE_HEADER = "X-Dalp-Auth-Surface";
40943
+
40941
40944
  // ../sdk/src/errors/find-current-error.ts
40942
40945
  var readProperty = (target, key) => Reflect.get(target, key);
40943
40946
  var findCurrentError = (error, maxNodes = 20) => {
@@ -41684,13 +41687,17 @@ function createTransport(options) {
41684
41687
  requestHeaders: options.ssr.requestHeaders
41685
41688
  });
41686
41689
  const conditional = withConditionalRequests(sessionFetch);
41690
+ const contextHeaders = createDalpContextHeaders(options.context ?? {});
41691
+ if (options.authSurface !== undefined) {
41692
+ contextHeaders.set(DALP_AUTH_SURFACE_HEADER, options.authSurface);
41693
+ }
41687
41694
  return {
41688
41695
  baseUrl,
41689
41696
  fetch: conditional.fetch,
41690
41697
  conditionalRequests: conditional.store,
41691
41698
  credentials: runtime === "browser" ? "include" : "omit",
41692
41699
  apiKey,
41693
- contextHeaders: createDalpContextHeaders(options.context ?? {}),
41700
+ contextHeaders,
41694
41701
  settlementTimeoutMs: options.settlementTimeoutMs
41695
41702
  };
41696
41703
  }
@@ -42525,7 +42532,7 @@ var WEBHOOK_MANIFEST_VERSION = Webhook.MANIFEST_VERSION;
42525
42532
  // ../sdk/package.json
42526
42533
  var package_default = {
42527
42534
  name: "@settlemint/dalp-sdk",
42528
- version: "3.1.19-main.36191544314",
42535
+ version: "3.1.19-main.36200923876",
42529
42536
  private: false,
42530
42537
  description: "Fully typed SDK for the DALP tokenization platform API",
42531
42538
  homepage: "https://settlemint.com",
@@ -96133,7 +96140,7 @@ async function runCommand(context, operation, errorContext = UNKNOWN_COMMAND_ERR
96133
96140
  // package.json
96134
96141
  var package_default2 = {
96135
96142
  name: "@settlemint/dalp-cli",
96136
- version: "3.1.19-main.36191544314",
96143
+ version: "3.1.19-main.36200923876",
96137
96144
  private: false,
96138
96145
  description: "CLI for the Digital Asset Lifecycle Platform \u2014 manage tokens, identities, compliance, and more from the command line.",
96139
96146
  homepage: "https://settlemint.com",
@@ -97496,4 +97503,4 @@ if (false) {}
97496
97503
  // src/bin.ts
97497
97504
  await cli.serve();
97498
97505
 
97499
- //# debugId=393D72C89FFB2CBF64756E2164756E21
97506
+ //# debugId=3C29A5E06A7DA80164756E2164756E21