deepline 0.1.8 → 0.1.10

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.
@@ -169,10 +169,11 @@ function resolveConfig(options) {
169
169
  }
170
170
 
171
171
  // src/version.ts
172
- var SDK_VERSION = "0.1.8";
172
+ var SDK_VERSION = "0.1.10";
173
173
  var SDK_API_CONTRACT = "2026-04-plays-v1";
174
174
 
175
175
  // ../shared_libs/play-runtime/coordinator-headers.ts
176
+ var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
176
177
  var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
177
178
  var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
178
179
 
@@ -201,6 +202,10 @@ var HttpClient = class {
201
202
  const coordinatorUrl = typeof process !== "undefined" ? process.env?.DEEPLINE_COORDINATOR_URL : void 0;
202
203
  if (coordinatorUrl?.trim()) {
203
204
  headers[COORDINATOR_URL_OVERRIDE_HEADER] = coordinatorUrl.trim();
205
+ const coordinatorInternalToken = typeof process !== "undefined" ? process.env?.DEEPLINE_INTERNAL_TOKEN : void 0;
206
+ if (coordinatorInternalToken?.trim()) {
207
+ headers[COORDINATOR_INTERNAL_TOKEN_HEADER] = coordinatorInternalToken.trim();
208
+ }
204
209
  }
205
210
  const workerCallbackUrl = typeof process !== "undefined" ? process.env?.DEEPLINE_WORKER_CALLBACK_URL : void 0;
206
211
  if (workerCallbackUrl?.trim()) {