@lunora/runtime 1.0.0-alpha.7 → 1.0.0-alpha.8

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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export { toAirbyteMessages, toFivetranResponse } from './packem_shared/toAirbyteMessages-DrHdplb4.mjs';
2
- export { composeWorker, createLunoraHandler, createWorker, defineRpcEnvelope, resolveLunoraOptions, withFrameworkWorker } from './packem_shared/composeWorker-Bq1WvIOp.mjs';
2
+ export { composeWorker, createLunoraHandler, createWorker, defineRpcEnvelope, resolveLunoraOptions, withFrameworkWorker } from './packem_shared/composeWorker-Y3uASpzc.mjs';
3
3
  export { createCrossShardRelationCapabilities } from './packem_shared/createCrossShardRelationCapabilities-C0KOf7er.mjs';
4
4
  export { DEFAULT_REGISTRY_CACHE_TTL_MS, SHARD_REGISTRY_DO_NAME, createDynamicShardRegistry } from './packem_shared/DEFAULT_REGISTRY_CACHE_TTL_MS-ocax8v0n.mjs';
5
5
  export { LunoraError, toErrorResponse } from './packem_shared/LunoraError-CL0aOtpo.mjs';
@@ -1599,6 +1599,8 @@ const resolveForwardContext = async (request, env, resolveIdentity) => {
1599
1599
  const cookie = request.headers.get("cookie");
1600
1600
  const bookmark = request.headers.get("x-d1-bookmark");
1601
1601
  const mutationId = request.headers.get("x-lunora-mutation-id");
1602
+ const clientId = request.headers.get("x-lunora-client-id");
1603
+ const clientSeq = request.headers.get("x-lunora-client-seq");
1602
1604
  if (authorization) {
1603
1605
  headers["authorization"] = authorization;
1604
1606
  }
@@ -1611,6 +1613,12 @@ const resolveForwardContext = async (request, env, resolveIdentity) => {
1611
1613
  if (mutationId) {
1612
1614
  headers["x-lunora-mutation-id"] = mutationId;
1613
1615
  }
1616
+ if (clientId) {
1617
+ headers["x-lunora-client-id"] = clientId;
1618
+ }
1619
+ if (clientSeq) {
1620
+ headers["x-lunora-client-seq"] = clientSeq;
1621
+ }
1614
1622
  const clientIp = request.headers.get("cf-connecting-ip");
1615
1623
  if (clientIp) {
1616
1624
  headers["x-lunora-client-ip"] = clientIp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/runtime",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "Lunora Worker runtime: the RPC router, shard resolver, and query coordinator",
5
5
  "keywords": [
6
6
  "cloudflare",