rivetkit 3.0.0-preview.5 → 3.0.0-preview.6

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.
Files changed (63) hide show
  1. package/dist/browser/client.js +1 -1
  2. package/dist/browser/client.js.map +1 -1
  3. package/dist/browser/inspector/client.js +1 -1
  4. package/dist/browser/inspector/client.js.map +1 -1
  5. package/dist/tsup/{chunk-KJM23DKG.js → chunk-3UT27Z2Z.js} +2 -2
  6. package/dist/tsup/{chunk-SJUGJ5DT.js → chunk-45UKEIKT.js} +2 -2
  7. package/dist/tsup/{chunk-KKSIGBUN.js → chunk-6AECHZCH.js} +2 -2
  8. package/dist/tsup/{chunk-KKSIGBUN.js.map → chunk-6AECHZCH.js.map} +1 -1
  9. package/dist/tsup/{chunk-AW7C2XT5.js → chunk-6HNQ7EHR.js} +2 -2
  10. package/dist/tsup/{chunk-EOUH7MP7.js → chunk-DBKL7LCY.js} +6 -6
  11. package/dist/tsup/{chunk-EON5X6B7.cjs → chunk-DRNZBNII.cjs} +3 -3
  12. package/dist/tsup/{chunk-EON5X6B7.cjs.map → chunk-DRNZBNII.cjs.map} +1 -1
  13. package/dist/tsup/{chunk-GJUWI47D.cjs → chunk-ENUONGNH.cjs} +144 -144
  14. package/dist/tsup/{chunk-GJUWI47D.cjs.map → chunk-ENUONGNH.cjs.map} +1 -1
  15. package/dist/tsup/{chunk-W4CGRSYM.js → chunk-KKIWVL2H.js} +3 -3
  16. package/dist/tsup/{chunk-KEHBPXZE.cjs → chunk-KOLH4CTU.cjs} +3 -3
  17. package/dist/tsup/{chunk-KEHBPXZE.cjs.map → chunk-KOLH4CTU.cjs.map} +1 -1
  18. package/dist/tsup/{chunk-CLY73DEM.cjs → chunk-LJNYWEYG.cjs} +3 -3
  19. package/dist/tsup/{chunk-CLY73DEM.cjs.map → chunk-LJNYWEYG.cjs.map} +1 -1
  20. package/dist/tsup/{chunk-W5DDGJBO.js → chunk-M5QFGINP.js} +4 -4
  21. package/dist/tsup/{chunk-MVDTFTCY.cjs → chunk-M6KOBS77.cjs} +7 -7
  22. package/dist/tsup/{chunk-MVDTFTCY.cjs.map → chunk-M6KOBS77.cjs.map} +1 -1
  23. package/dist/tsup/{chunk-ZOFNA4SR.cjs → chunk-MJGSJEQS.cjs} +10 -10
  24. package/dist/tsup/{chunk-ZOFNA4SR.cjs.map → chunk-MJGSJEQS.cjs.map} +1 -1
  25. package/dist/tsup/{chunk-BAXQGOBL.js → chunk-MQKJ6DPU.js} +2 -2
  26. package/dist/tsup/{chunk-CFGRIV62.cjs → chunk-QZHR7FM2.cjs} +2 -2
  27. package/dist/tsup/{chunk-CFGRIV62.cjs.map → chunk-QZHR7FM2.cjs.map} +1 -1
  28. package/dist/tsup/{chunk-PHFXQQGE.cjs → chunk-ZEEDB2GK.cjs} +4 -4
  29. package/dist/tsup/{chunk-PHFXQQGE.cjs.map → chunk-ZEEDB2GK.cjs.map} +1 -1
  30. package/dist/tsup/client/mod.cjs +5 -5
  31. package/dist/tsup/client/mod.js +4 -4
  32. package/dist/tsup/common/log.cjs +2 -2
  33. package/dist/tsup/common/log.js +1 -1
  34. package/dist/tsup/common/websocket.cjs +3 -3
  35. package/dist/tsup/common/websocket.js +2 -2
  36. package/dist/tsup/db/drizzle.cjs +2 -2
  37. package/dist/tsup/db/drizzle.js +1 -1
  38. package/dist/tsup/db/mod.cjs +3 -3
  39. package/dist/tsup/db/mod.js +2 -2
  40. package/dist/tsup/inspector/mod.cjs +5 -5
  41. package/dist/tsup/inspector/mod.js +4 -4
  42. package/dist/tsup/inspector/workflow.cjs +4 -4
  43. package/dist/tsup/inspector/workflow.js +3 -3
  44. package/dist/tsup/mod.cjs +86 -86
  45. package/dist/tsup/mod.cjs.map +1 -1
  46. package/dist/tsup/mod.js +5 -5
  47. package/dist/tsup/mod.js.map +1 -1
  48. package/dist/tsup/test/mod.cjs +6 -6
  49. package/dist/tsup/test/mod.js +4 -4
  50. package/dist/tsup/utils.cjs +2 -2
  51. package/dist/tsup/utils.js +1 -1
  52. package/dist/tsup/workflow/mod.cjs +7 -7
  53. package/dist/tsup/workflow/mod.js +4 -4
  54. package/package.json +9 -9
  55. package/src/registry/napi-runtime.ts +1 -1
  56. package/src/registry/native.ts +1 -1
  57. /package/dist/tsup/{chunk-KJM23DKG.js.map → chunk-3UT27Z2Z.js.map} +0 -0
  58. /package/dist/tsup/{chunk-SJUGJ5DT.js.map → chunk-45UKEIKT.js.map} +0 -0
  59. /package/dist/tsup/{chunk-AW7C2XT5.js.map → chunk-6HNQ7EHR.js.map} +0 -0
  60. /package/dist/tsup/{chunk-EOUH7MP7.js.map → chunk-DBKL7LCY.js.map} +0 -0
  61. /package/dist/tsup/{chunk-W4CGRSYM.js.map → chunk-KKIWVL2H.js.map} +0 -0
  62. /package/dist/tsup/{chunk-W5DDGJBO.js.map → chunk-M5QFGINP.js.map} +0 -0
  63. /package/dist/tsup/{chunk-BAXQGOBL.js.map → chunk-MQKJ6DPU.js.map} +0 -0
@@ -5,11 +5,11 @@
5
5
  var _chunkRTWH3AX3cjs = require('./chunk-RTWH3AX3.cjs');
6
6
 
7
7
 
8
- var _chunkKVFIONKQcjs = require('./chunk-KVFIONKQ.cjs');
9
8
 
9
+ var _chunkLJNYWEYGcjs = require('./chunk-LJNYWEYG.cjs');
10
10
 
11
11
 
12
- var _chunkCLY73DEMcjs = require('./chunk-CLY73DEM.cjs');
12
+ var _chunkKVFIONKQcjs = require('./chunk-KVFIONKQ.cjs');
13
13
 
14
14
 
15
15
 
@@ -36,7 +36,7 @@ var _chunkCLY73DEMcjs = require('./chunk-CLY73DEM.cjs');
36
36
 
37
37
 
38
38
 
39
- var _chunkCFGRIV62cjs = require('./chunk-CFGRIV62.cjs');
39
+ var _chunkQZHR7FM2cjs = require('./chunk-QZHR7FM2.cjs');
40
40
 
41
41
 
42
42
 
@@ -2132,7 +2132,7 @@ async function checkForSchedulingError(group, code, actorId, query, driver, rayI
2132
2132
  try {
2133
2133
  const actor = await driver.getForId({ name, actorId });
2134
2134
  if (actor == null ? void 0 : actor.error) {
2135
- _chunkCLY73DEMcjs.logger.call(void 0, ).info({
2135
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).info({
2136
2136
  msg: "found actor scheduling error",
2137
2137
  actorId,
2138
2138
  error: actor.error
@@ -2146,10 +2146,10 @@ async function checkForSchedulingError(group, code, actorId, query, driver, rayI
2146
2146
  );
2147
2147
  }
2148
2148
  } catch (err) {
2149
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
2149
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
2150
2150
  msg: "failed to fetch actor details for scheduling error check",
2151
2151
  actorId,
2152
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
2152
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
2153
2153
  });
2154
2154
  }
2155
2155
  return null;
@@ -2533,7 +2533,7 @@ function parseWebSocketCloseReason(reason) {
2533
2533
  const [mainPart, suffix] = reason.split("#");
2534
2534
  const [group, code] = mainPart.split(".");
2535
2535
  if (!group || !code) {
2536
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({ msg: "failed to parse close reason", reason });
2536
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({ msg: "failed to parse close reason", reason });
2537
2537
  return void 0;
2538
2538
  }
2539
2539
  const retryAfter = suffix == null ? void 0 : suffix.match(RETRY_AFTER_SUFFIX);
@@ -2559,11 +2559,11 @@ function messageLength(message) {
2559
2559
  if (typeof message === "string") {
2560
2560
  return message.length;
2561
2561
  }
2562
- _chunkCFGRIV62cjs.assertUnreachable.call(void 0, message);
2562
+ _chunkQZHR7FM2cjs.assertUnreachable.call(void 0, message);
2563
2563
  }
2564
2564
  async function sendHttpRequest(opts) {
2565
2565
  var _a, _b, _c;
2566
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
2566
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
2567
2567
  msg: "sending http request",
2568
2568
  url: opts.url,
2569
2569
  encoding: opts.encoding
@@ -2572,8 +2572,8 @@ async function sendHttpRequest(opts) {
2572
2572
  let bodyData;
2573
2573
  if (opts.method === "POST" || opts.method === "PUT") {
2574
2574
  _invariant2.default.call(void 0, opts.body !== void 0, "missing body");
2575
- contentType = _chunkCFGRIV62cjs.contentTypeForEncoding.call(void 0, opts.encoding);
2576
- bodyData = _chunkCFGRIV62cjs.serializeWithEncoding.call(void 0,
2575
+ contentType = _chunkQZHR7FM2cjs.contentTypeForEncoding.call(void 0, opts.encoding);
2576
+ bodyData = _chunkQZHR7FM2cjs.serializeWithEncoding.call(void 0,
2577
2577
  opts.encoding,
2578
2578
  opts.body,
2579
2579
  opts.requestVersionedDataHandler,
@@ -2593,7 +2593,7 @@ async function sendHttpRequest(opts) {
2593
2593
  ...contentType ? {
2594
2594
  "Content-Type": contentType
2595
2595
  } : {},
2596
- "User-Agent": _chunkCFGRIV62cjs.httpUserAgent.call(void 0, )
2596
+ "User-Agent": _chunkQZHR7FM2cjs.httpUserAgent.call(void 0, )
2597
2597
  },
2598
2598
  body: bodyData,
2599
2599
  credentials: "include",
@@ -2611,7 +2611,7 @@ async function sendHttpRequest(opts) {
2611
2611
  const rayId = response.headers.get("x-rivet-ray-id");
2612
2612
  const encoding = (contentType2 == null ? void 0 : contentType2.includes("application/json")) ? "json" : opts.encoding;
2613
2613
  try {
2614
- const responseData = _chunkCFGRIV62cjs.deserializeWithEncoding.call(void 0,
2614
+ const responseData = _chunkQZHR7FM2cjs.deserializeWithEncoding.call(void 0,
2615
2615
  encoding,
2616
2616
  new Uint8Array(bufferResponse),
2617
2617
  HTTP_RESPONSE_ERROR_VERSIONED,
@@ -2629,7 +2629,7 @@ async function sendHttpRequest(opts) {
2629
2629
  group: bare5.group,
2630
2630
  code: bare5.code,
2631
2631
  message: bare5.message,
2632
- metadata: bare5.metadata ? _chunkCFGRIV62cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
2632
+ metadata: bare5.metadata ? _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
2633
2633
  actor: bare5.actor ? {
2634
2634
  actorId: bare5.actor.actorId,
2635
2635
  generation: Number(bare5.actor.generation),
@@ -2637,7 +2637,7 @@ async function sendHttpRequest(opts) {
2637
2637
  } : void 0
2638
2638
  })
2639
2639
  );
2640
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
2640
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
2641
2641
  msg: "http error response",
2642
2642
  group: responseData.group,
2643
2643
  code: responseData.code,
@@ -2684,7 +2684,7 @@ ${textResponse}`
2684
2684
  }
2685
2685
  try {
2686
2686
  const buffer = new Uint8Array(await response.arrayBuffer());
2687
- return _chunkCFGRIV62cjs.deserializeWithEncoding.call(void 0,
2687
+ return _chunkQZHR7FM2cjs.deserializeWithEncoding.call(void 0,
2688
2688
  opts.encoding,
2689
2689
  buffer,
2690
2690
  opts.responseVersionedDataHandler,
@@ -2732,8 +2732,8 @@ function createQueueSender(senderOptions) {
2732
2732
  }),
2733
2733
  requestToBare: (value) => ({
2734
2734
  name: _nullishCoalesce(value.name, () => ( name)),
2735
- body: _chunkCFGRIV62cjs.bufferToArrayBuffer.call(void 0,
2736
- _chunkCFGRIV62cjs.encodeCborCompat.call(void 0, value.body)
2735
+ body: _chunkQZHR7FM2cjs.bufferToArrayBuffer.call(void 0,
2736
+ _chunkQZHR7FM2cjs.encodeCborCompat.call(void 0, value.body)
2737
2737
  ),
2738
2738
  wait: _nullishCoalesce(value.wait, () => ( false)),
2739
2739
  timeout: value.timeout !== void 0 ? BigInt(value.timeout) : null
@@ -2753,7 +2753,7 @@ function createQueueSender(senderOptions) {
2753
2753
  }
2754
2754
  return {
2755
2755
  status: bare5.status,
2756
- response: _chunkCFGRIV62cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.response))
2756
+ response: _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.response))
2757
2757
  };
2758
2758
  }
2759
2759
  });
@@ -2820,7 +2820,7 @@ async function rawHttpFetch(driver, target, params, input, init, options = {}, t
2820
2820
  throw new TypeError("Invalid input type for fetch");
2821
2821
  }
2822
2822
  try {
2823
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug(
2823
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug(
2824
2824
  "directId" in target ? {
2825
2825
  msg: "sending raw http request to actor",
2826
2826
  actorId: target.directId
@@ -2846,7 +2846,7 @@ async function rawHttpFetch(driver, target, params, input, init, options = {}, t
2846
2846
  });
2847
2847
  return driver.sendRequest(target, proxyRequest, options);
2848
2848
  } catch (err) {
2849
- const { group, code, message, metadata, rayId, actor } = _chunkCFGRIV62cjs.deconstructError.call(void 0, err, true);
2849
+ const { group, code, message, metadata, rayId, actor } = _chunkQZHR7FM2cjs.deconstructError.call(void 0, err, true);
2850
2850
  throw new (0, _chunkMGI2VVF6cjs.RivetError)(group, code, message, { metadata, rayId, actor });
2851
2851
  }
2852
2852
  }
@@ -2867,7 +2867,7 @@ async function rawWebSocket(driver, target, params, path, _protocols, options =
2867
2867
  }
2868
2868
  }
2869
2869
  const fullPath = `${PATH_WEBSOCKET_PREFIX}${pathPortion}${queryPortion}`;
2870
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
2870
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
2871
2871
  msg: "opening websocket",
2872
2872
  target,
2873
2873
  encoding,
@@ -3007,7 +3007,7 @@ var ActorHandleRaw = class {
3007
3007
  }
3008
3008
  }).send(name, body, options);
3009
3009
  } catch (err) {
3010
- const { group, code, message, metadata, rayId, actor } = _chunkCFGRIV62cjs.deconstructError.call(void 0, err, true);
3010
+ const { group, code, message, metadata, rayId, actor } = _chunkQZHR7FM2cjs.deconstructError.call(void 0, err, true);
3011
3011
  if (this.#shouldRetryQueueDispatchOverload(
3012
3012
  group,
3013
3013
  code,
@@ -3134,13 +3134,13 @@ var ActorHandleRaw = class {
3134
3134
  gatewayOptions
3135
3135
  );
3136
3136
  actorId = "directId" in target ? target.directId : void 0;
3137
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug(
3137
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug(
3138
3138
  actorId ? { msg: "using direct actor gateway target", actorId } : {
3139
3139
  msg: "using query gateway target for action",
3140
3140
  query: this.#actorResolutionState
3141
3141
  }
3142
3142
  );
3143
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3143
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3144
3144
  msg: "handling action",
3145
3145
  name: opts.name,
3146
3146
  encoding: this.#encoding
@@ -3177,19 +3177,19 @@ var ActorHandleRaw = class {
3177
3177
  args
3178
3178
  }),
3179
3179
  requestToBare: (args) => ({
3180
- args: _chunkCFGRIV62cjs.bufferToArrayBuffer.call(void 0,
3181
- _chunkCFGRIV62cjs.encodeCborCompat.call(void 0, args)
3180
+ args: _chunkQZHR7FM2cjs.bufferToArrayBuffer.call(void 0,
3181
+ _chunkQZHR7FM2cjs.encodeCborCompat.call(void 0, args)
3182
3182
  )
3183
3183
  }),
3184
3184
  responseFromJson: (json) => json.output,
3185
- responseFromBare: (bare5) => _chunkCFGRIV62cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.output))
3185
+ responseFromBare: (bare5) => _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.output))
3186
3186
  });
3187
3187
  if (opts.name === "destroy" && actorId) {
3188
3188
  await this.#waitForDestroyActionToSettle(actorId);
3189
3189
  }
3190
3190
  return output;
3191
3191
  } catch (err) {
3192
- const { group, code, message, metadata, rayId, actor } = _chunkCFGRIV62cjs.deconstructError.call(void 0, err, true);
3192
+ const { group, code, message, metadata, rayId, actor } = _chunkQZHR7FM2cjs.deconstructError.call(void 0, err, true);
3193
3193
  if (await this.#shouldRetrySchedulingError(
3194
3194
  group,
3195
3195
  code,
@@ -3345,7 +3345,7 @@ var ActorHandleRaw = class {
3345
3345
  * @returns {ActorConn<AD>} A connection to the actor.
3346
3346
  */
3347
3347
  connect(params, options = {}) {
3348
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3348
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3349
3349
  msg: "establishing connection from handle",
3350
3350
  query: this.#actorResolutionState
3351
3351
  });
@@ -3422,7 +3422,7 @@ var ActorHandleRaw = class {
3422
3422
  }
3423
3423
  return response;
3424
3424
  } catch (err) {
3425
- const { group, code, message, metadata, rayId, actor } = _chunkCFGRIV62cjs.deconstructError.call(void 0, err, true);
3425
+ const { group, code, message, metadata, rayId, actor } = _chunkQZHR7FM2cjs.deconstructError.call(void 0, err, true);
3426
3426
  if (await this.#shouldRetrySchedulingError(
3427
3427
  group,
3428
3428
  code,
@@ -3518,7 +3518,7 @@ var ActorHandleRaw = class {
3518
3518
  const contentType = response.headers.get("content-type");
3519
3519
  const encoding = (contentType == null ? void 0 : contentType.includes("application/json")) ? "json" : this.#encoding;
3520
3520
  try {
3521
- const error = _chunkCFGRIV62cjs.deserializeWithEncoding.call(void 0,
3521
+ const error = _chunkQZHR7FM2cjs.deserializeWithEncoding.call(void 0,
3522
3522
  encoding,
3523
3523
  new Uint8Array(await response.clone().arrayBuffer()),
3524
3524
  HTTP_RESPONSE_ERROR_VERSIONED,
@@ -3534,7 +3534,7 @@ var ActorHandleRaw = class {
3534
3534
  group: bare5.group,
3535
3535
  code: bare5.code,
3536
3536
  message: bare5.message,
3537
- metadata: bare5.metadata ? _chunkCFGRIV62cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
3537
+ metadata: bare5.metadata ? _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
3538
3538
  actor: bare5.actor ? {
3539
3539
  actorId: bare5.actor.actorId,
3540
3540
  generation: Number(bare5.actor.generation),
@@ -3671,7 +3671,7 @@ var ClientRaw = (_class = class {
3671
3671
  * @returns {ActorHandle<AD>} - A handle to the actor.
3672
3672
  */
3673
3673
  getForId(name, actorId, opts) {
3674
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3674
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3675
3675
  msg: "get handle to actor with id",
3676
3676
  name,
3677
3677
  actorId,
@@ -3702,7 +3702,7 @@ var ClientRaw = (_class = class {
3702
3702
  */
3703
3703
  get(name, key, opts) {
3704
3704
  const keyArray = typeof key === "string" ? [key] : key || [];
3705
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3705
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3706
3706
  msg: "get handle to actor",
3707
3707
  name,
3708
3708
  key: keyArray,
@@ -3733,7 +3733,7 @@ var ClientRaw = (_class = class {
3733
3733
  */
3734
3734
  getOrCreate(name, key, opts) {
3735
3735
  const keyArray = typeof key === "string" ? [key] : key || [];
3736
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3736
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3737
3737
  msg: "get or create handle to actor",
3738
3738
  name,
3739
3739
  key: keyArray,
@@ -3777,7 +3777,7 @@ var ClientRaw = (_class = class {
3777
3777
  key: keyArray
3778
3778
  }
3779
3779
  };
3780
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3780
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3781
3781
  msg: "create actor handle",
3782
3782
  name,
3783
3783
  key: keyArray,
@@ -3785,7 +3785,7 @@ var ClientRaw = (_class = class {
3785
3785
  create: createQuery.create
3786
3786
  });
3787
3787
  const actorId = await resolveGatewayTarget(this.#driver, createQuery);
3788
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
3788
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
3789
3789
  msg: "created actor with ID",
3790
3790
  name,
3791
3791
  key: keyArray,
@@ -3833,11 +3833,11 @@ var ClientRaw = (_class = class {
3833
3833
  */
3834
3834
  async dispose() {
3835
3835
  if (this.#disposed) {
3836
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({ msg: "client already disconnected" });
3836
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({ msg: "client already disconnected" });
3837
3837
  return;
3838
3838
  }
3839
3839
  this.#disposed = true;
3840
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({ msg: "disposing client" });
3840
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({ msg: "disposing client" });
3841
3841
  const disposePromises = [];
3842
3842
  for (const conn of this[ACTOR_CONNS_SYMBOL].values()) {
3843
3843
  disposePromises.push(conn.dispose());
@@ -4083,8 +4083,8 @@ var ActorConnRaw = class {
4083
4083
  if ("getForId" in actorResolutionState) {
4084
4084
  this.#actorId = actorResolutionState.getForId.actorId;
4085
4085
  }
4086
- this.#readyPromise = _chunkCFGRIV62cjs.promiseWithResolvers.call(void 0,
4087
- (reason) => _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
4086
+ this.#readyPromise = _chunkQZHR7FM2cjs.promiseWithResolvers.call(void 0,
4087
+ (reason) => _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
4088
4088
  msg: "unhandled ready promise rejection",
4089
4089
  reason
4090
4090
  })
@@ -4153,11 +4153,11 @@ var ActorConnRaw = class {
4153
4153
  }
4154
4154
  if (this.#disposed) throw new ActorConnDisposed();
4155
4155
  if (this.#connectionOpenError) throw this.#connectionOpenError;
4156
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({ msg: "action", name: opts.name, args: opts.args });
4156
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({ msg: "action", name: opts.name, args: opts.args });
4157
4157
  const actionId = this.#actionIdCounter;
4158
4158
  this.#actionIdCounter += 1;
4159
- const { promise, resolve, reject } = _chunkCFGRIV62cjs.promiseWithResolvers.call(void 0,
4160
- (reason) => _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
4159
+ const { promise, resolve, reject } = _chunkQZHR7FM2cjs.promiseWithResolvers.call(void 0,
4160
+ (reason) => _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
4161
4161
  msg: "unhandled action promise rejection",
4162
4162
  reason
4163
4163
  })
@@ -4167,7 +4167,7 @@ var ActorConnRaw = class {
4167
4167
  resolve,
4168
4168
  reject
4169
4169
  });
4170
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4170
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4171
4171
  msg: "added action to in-flight map",
4172
4172
  actionId,
4173
4173
  actionName: opts.name,
@@ -4207,9 +4207,9 @@ var ActorConnRaw = class {
4207
4207
  try {
4208
4208
  handler(status);
4209
4209
  } catch (err) {
4210
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4210
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4211
4211
  msg: "error in status change handler",
4212
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4212
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4213
4213
  });
4214
4214
  }
4215
4215
  }
@@ -4219,9 +4219,9 @@ var ActorConnRaw = class {
4219
4219
  try {
4220
4220
  handler();
4221
4221
  } catch (err) {
4222
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4222
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4223
4223
  msg: "error in open handler",
4224
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4224
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4225
4225
  });
4226
4226
  }
4227
4227
  }
@@ -4231,9 +4231,9 @@ var ActorConnRaw = class {
4231
4231
  try {
4232
4232
  handler();
4233
4233
  } catch (err) {
4234
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4234
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4235
4235
  msg: "error in close handler",
4236
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4236
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4237
4237
  });
4238
4238
  }
4239
4239
  }
@@ -4247,10 +4247,10 @@ var ActorConnRaw = class {
4247
4247
  minTimeout: 250,
4248
4248
  maxTimeout: 3e4,
4249
4249
  onFailedAttempt: async (error) => {
4250
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
4250
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
4251
4251
  msg: "failed to reconnect",
4252
4252
  attempt: error.attemptNumber,
4253
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, error)
4253
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, error)
4254
4254
  });
4255
4255
  const hintMs = retryAfterMs(error);
4256
4256
  if (hintMs !== void 0) {
@@ -4261,11 +4261,11 @@ var ActorConnRaw = class {
4261
4261
  signal: this.#abortController.signal
4262
4262
  }).catch((err) => {
4263
4263
  if (err instanceof _pretry.AbortError || err.name === "AbortError" || !this.#shouldRetryConnectionOpenError(err)) {
4264
- _chunkCLY73DEMcjs.logger.call(void 0, ).info({ msg: "connection retry aborted" });
4264
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).info({ msg: "connection retry aborted" });
4265
4265
  } else {
4266
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4266
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4267
4267
  msg: "unexpected error in connection retry",
4268
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4268
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4269
4269
  });
4270
4270
  }
4271
4271
  });
@@ -4274,8 +4274,8 @@ var ActorConnRaw = class {
4274
4274
  try {
4275
4275
  if (this.#onOpenPromise)
4276
4276
  throw new Error("#onOpenPromise already defined");
4277
- this.#onOpenPromise = _chunkCFGRIV62cjs.promiseWithResolvers.call(void 0,
4278
- (reason) => _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
4277
+ this.#onOpenPromise = _chunkQZHR7FM2cjs.promiseWithResolvers.call(void 0,
4278
+ (reason) => _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
4279
4279
  msg: "unhandled open promise rejection",
4280
4280
  reason
4281
4281
  })
@@ -4292,15 +4292,15 @@ var ActorConnRaw = class {
4292
4292
  const actorError = error instanceof _chunkMGI2VVF6cjs.RivetError ? error : new (0, _chunkMGI2VVF6cjs.RivetError)(
4293
4293
  "client",
4294
4294
  "connection_open_failed",
4295
- `Failed to open connection: ${_chunkCFGRIV62cjs.stringifyError.call(void 0, error)}`,
4296
- { error: _chunkCFGRIV62cjs.stringifyError.call(void 0, error) }
4295
+ `Failed to open connection: ${_chunkQZHR7FM2cjs.stringifyError.call(void 0, error)}`,
4296
+ { error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, error) }
4297
4297
  );
4298
4298
  this.#connectionOpenError = actorError;
4299
4299
  this.#rejectPendingPromises(actorError, false);
4300
4300
  this.#dispatchActorError(actorError);
4301
4301
  this.#setConnStatus("idle");
4302
4302
  throw new (0, _pretry.AbortError)(
4303
- error instanceof Error ? error : new Error(_chunkCFGRIV62cjs.stringifyError.call(void 0, error))
4303
+ error instanceof Error ? error : new Error(_chunkQZHR7FM2cjs.stringifyError.call(void 0, error))
4304
4304
  );
4305
4305
  } finally {
4306
4306
  this.#onOpenPromise = void 0;
@@ -4336,7 +4336,7 @@ var ActorConnRaw = class {
4336
4336
  if (!ws) return;
4337
4337
  this.#websocket = void 0;
4338
4338
  this.#abandonedSockets.add(ws);
4339
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4339
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4340
4340
  msg: "closing failed connection attempt",
4341
4341
  connId: this.#connId,
4342
4342
  readyState: ws.readyState,
@@ -4345,9 +4345,9 @@ var ActorConnRaw = class {
4345
4345
  try {
4346
4346
  ws.close(1e3, reason);
4347
4347
  } catch (err) {
4348
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4348
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4349
4349
  msg: "failed to close abandoned websocket",
4350
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4350
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4351
4351
  });
4352
4352
  }
4353
4353
  }
@@ -4375,7 +4375,7 @@ var ActorConnRaw = class {
4375
4375
  }
4376
4376
  #clearQueuedMessages() {
4377
4377
  if (this.#messageQueue.length === 0) return;
4378
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4378
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4379
4379
  msg: "clearing queued connection messages",
4380
4380
  queueLength: this.#messageQueue.length
4381
4381
  });
@@ -4388,7 +4388,7 @@ var ActorConnRaw = class {
4388
4388
  try {
4389
4389
  return await this.#getParams();
4390
4390
  } catch (err) {
4391
- const errorMessage = _chunkCFGRIV62cjs.stringifyError.call(void 0, err);
4391
+ const errorMessage = _chunkQZHR7FM2cjs.stringifyError.call(void 0, err);
4392
4392
  const error = new (0, _chunkMGI2VVF6cjs.RivetError)(
4393
4393
  "client",
4394
4394
  "get_params_failed",
@@ -4412,7 +4412,7 @@ var ActorConnRaw = class {
4412
4412
  this.#gatewayOptions
4413
4413
  );
4414
4414
  _invariant2.default.call(void 0, ws, "websocket should have been created");
4415
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4415
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4416
4416
  msg: "opened websocket",
4417
4417
  connId: this.#connId,
4418
4418
  readyState: ws.readyState,
@@ -4422,7 +4422,7 @@ var ActorConnRaw = class {
4422
4422
  ws.addEventListener("open", () => {
4423
4423
  if (this.#websocket !== ws || this.#abandonedSockets.has(ws))
4424
4424
  return;
4425
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4425
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4426
4426
  msg: "client websocket open",
4427
4427
  connId: this.#connId
4428
4428
  });
@@ -4433,9 +4433,9 @@ var ActorConnRaw = class {
4433
4433
  try {
4434
4434
  await this.#handleOnMessage(ev.data, ws);
4435
4435
  } catch (err) {
4436
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4436
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4437
4437
  msg: "error in websocket message handler",
4438
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4438
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4439
4439
  });
4440
4440
  }
4441
4441
  });
@@ -4445,9 +4445,9 @@ var ActorConnRaw = class {
4445
4445
  try {
4446
4446
  await this.#handleOnClose(ev);
4447
4447
  } catch (err) {
4448
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4448
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4449
4449
  msg: "error in websocket close handler",
4450
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4450
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4451
4451
  });
4452
4452
  }
4453
4453
  });
@@ -4457,9 +4457,9 @@ var ActorConnRaw = class {
4457
4457
  try {
4458
4458
  this.#handleOnError();
4459
4459
  } catch (err) {
4460
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4460
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4461
4461
  msg: "error in websocket error handler",
4462
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4462
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4463
4463
  });
4464
4464
  }
4465
4465
  });
@@ -4467,7 +4467,7 @@ var ActorConnRaw = class {
4467
4467
  /** Called by the onopen event from drivers. */
4468
4468
  #handleOnOpen() {
4469
4469
  if (this.#disposed) {
4470
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4470
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4471
4471
  msg: "handleOnOpen called after dispose, closing websocket"
4472
4472
  });
4473
4473
  if (this.#websocket) {
@@ -4483,7 +4483,7 @@ var ActorConnRaw = class {
4483
4483
  queueMicrotask(() => {
4484
4484
  this.#openScheduled = false;
4485
4485
  if (this.#disposed) {
4486
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4486
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4487
4487
  msg: "handleOnOpen scheduled after dispose, closing websocket"
4488
4488
  });
4489
4489
  if (this.#websocket) {
@@ -4492,7 +4492,7 @@ var ActorConnRaw = class {
4492
4492
  }
4493
4493
  return;
4494
4494
  }
4495
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4495
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4496
4496
  msg: "socket open",
4497
4497
  messageQueueLength: this.#messageQueue.length,
4498
4498
  connId: this.#connId
@@ -4502,14 +4502,14 @@ var ActorConnRaw = class {
4502
4502
  if (this.#onOpenPromise) {
4503
4503
  this.#onOpenPromise.resolve(void 0);
4504
4504
  } else {
4505
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({ msg: "#onOpenPromise is undefined" });
4505
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({ msg: "#onOpenPromise is undefined" });
4506
4506
  }
4507
4507
  for (const eventName of this.#eventSubscriptions.keys()) {
4508
4508
  this.#sendSubscription(eventName, true);
4509
4509
  }
4510
4510
  const queue = this.#messageQueue;
4511
4511
  this.#messageQueue = [];
4512
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4512
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4513
4513
  msg: "flushing message queue",
4514
4514
  queueLength: queue.length
4515
4515
  });
@@ -4521,7 +4521,7 @@ var ActorConnRaw = class {
4521
4521
  /** Called by the onmessage event from drivers. */
4522
4522
  async #handleOnMessage(data, socket) {
4523
4523
  var _a;
4524
- _chunkCLY73DEMcjs.logger.call(void 0, ).trace({
4524
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).trace({
4525
4525
  msg: "received message",
4526
4526
  dataType: typeof data,
4527
4527
  isBlob: data instanceof Blob,
@@ -4530,16 +4530,16 @@ var ActorConnRaw = class {
4530
4530
  const response = await this.#parseMessage(data);
4531
4531
  if (this.#websocket !== socket || this.#abandonedSockets.has(socket))
4532
4532
  return;
4533
- _chunkCLY73DEMcjs.logger.call(void 0, ).trace(
4534
- _chunkCFGRIV62cjs.getLogMessage.call(void 0, ) ? {
4533
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).trace(
4534
+ _chunkQZHR7FM2cjs.getLogMessage.call(void 0, ) ? {
4535
4535
  msg: "parsed message",
4536
- message: _chunkCFGRIV62cjs.jsonStringifyCompat.call(void 0, response).substring(0, 100) + "..."
4536
+ message: _chunkQZHR7FM2cjs.jsonStringifyCompat.call(void 0, response).substring(0, 100) + "..."
4537
4537
  } : { msg: "parsed message" }
4538
4538
  );
4539
4539
  if (response.body.tag === "Init") {
4540
4540
  this.#actorId = response.body.val.actorId;
4541
4541
  this.#connId = response.body.val.connectionId;
4542
- _chunkCLY73DEMcjs.logger.call(void 0, ).trace({
4542
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).trace({
4543
4543
  msg: "received init message",
4544
4544
  actorId: this.#actorId,
4545
4545
  connId: this.#connId
@@ -4550,7 +4550,7 @@ var ActorConnRaw = class {
4550
4550
  if (actionId !== null) {
4551
4551
  const inFlight = this.#takeActionInFlight(Number(actionId));
4552
4552
  this.#invalidateActorIfStale(group, code);
4553
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
4553
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
4554
4554
  msg: "action error",
4555
4555
  actionId,
4556
4556
  actionName: inFlight == null ? void 0 : inFlight.name,
@@ -4569,7 +4569,7 @@ var ActorConnRaw = class {
4569
4569
  })
4570
4570
  );
4571
4571
  } else {
4572
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
4572
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
4573
4573
  msg: "connection error",
4574
4574
  group,
4575
4575
  code,
@@ -4614,27 +4614,27 @@ var ActorConnRaw = class {
4614
4614
  }
4615
4615
  } else if (response.body.tag === "ActionResponse") {
4616
4616
  const { id: actionId } = response.body.val;
4617
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4617
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4618
4618
  msg: "received action response",
4619
4619
  actionId: Number(actionId),
4620
4620
  inFlightCount: this.#actionsInFlight.size,
4621
4621
  inFlightIds: Array.from(this.#actionsInFlight.keys())
4622
4622
  });
4623
4623
  const inFlight = this.#takeActionInFlight(Number(actionId));
4624
- _chunkCLY73DEMcjs.logger.call(void 0, ).trace({
4624
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).trace({
4625
4625
  msg: "resolving action promise",
4626
4626
  actionId,
4627
4627
  actionName: inFlight == null ? void 0 : inFlight.name
4628
4628
  });
4629
4629
  inFlight.resolve(response.body.val);
4630
4630
  } else if (response.body.tag === "Event") {
4631
- _chunkCLY73DEMcjs.logger.call(void 0, ).trace({
4631
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).trace({
4632
4632
  msg: "received event",
4633
4633
  name: response.body.val.name
4634
4634
  });
4635
4635
  this.#dispatchEvent(response.body.val);
4636
4636
  } else {
4637
- _chunkCFGRIV62cjs.assertUnreachable.call(void 0, response.body);
4637
+ _chunkQZHR7FM2cjs.assertUnreachable.call(void 0, response.body);
4638
4638
  }
4639
4639
  }
4640
4640
  /** Called by the onclose event from drivers. */
@@ -4644,7 +4644,7 @@ var ActorConnRaw = class {
4644
4644
  const closeEvent = event;
4645
4645
  const wasClean = closeEvent.wasClean;
4646
4646
  const wasConnected = this.#connStatus === "connected";
4647
- _chunkCLY73DEMcjs.logger.call(void 0, ).info({
4647
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).info({
4648
4648
  msg: "socket closed",
4649
4649
  code: closeEvent.code,
4650
4650
  reason: closeEvent.reason,
@@ -4672,7 +4672,7 @@ var ActorConnRaw = class {
4672
4672
  this.#authRetryAvailable = false;
4673
4673
  }
4674
4674
  } catch (e4) {
4675
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn("token renewal failed");
4675
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn("token renewal failed");
4676
4676
  this.#authRetryAvailable = false;
4677
4677
  }
4678
4678
  } else if (isInvalidToken(group, code)) {
@@ -4731,7 +4731,7 @@ var ActorConnRaw = class {
4731
4731
  this.#dispatchActorError(error);
4732
4732
  }
4733
4733
  if (wasConnected && this.#authRetryAvailable) {
4734
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4734
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4735
4735
  msg: "triggering reconnect",
4736
4736
  connId: this.#connId
4737
4737
  });
@@ -4756,12 +4756,12 @@ var ActorConnRaw = class {
4756
4756
  /** Called by the onerror event from drivers. */
4757
4757
  #handleOnError() {
4758
4758
  if (this.#disposed) return;
4759
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn("socket error");
4759
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn("socket error");
4760
4760
  }
4761
4761
  #takeActionInFlight(id) {
4762
4762
  const inFlight = this.#actionsInFlight.get(id);
4763
4763
  if (!inFlight) {
4764
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4764
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4765
4765
  msg: "action not found in in-flight map",
4766
4766
  lookupId: id,
4767
4767
  inFlightCount: this.#actionsInFlight.size,
@@ -4776,7 +4776,7 @@ var ActorConnRaw = class {
4776
4776
  throw internalClientError(`No in flight response for ${id}`);
4777
4777
  }
4778
4778
  this.#actionsInFlight.delete(id);
4779
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4779
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4780
4780
  msg: "removed action from in-flight map",
4781
4781
  actionId: id,
4782
4782
  actionName: inFlight.name,
@@ -4803,9 +4803,9 @@ var ActorConnRaw = class {
4803
4803
  try {
4804
4804
  handler(error);
4805
4805
  } catch (err) {
4806
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4806
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4807
4807
  msg: "error in connection error handler",
4808
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4808
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4809
4809
  });
4810
4810
  }
4811
4811
  }
@@ -4910,9 +4910,9 @@ var ActorConnRaw = class {
4910
4910
  try {
4911
4911
  callback();
4912
4912
  } catch (err) {
4913
- _chunkCLY73DEMcjs.logger.call(void 0, ).error({
4913
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).error({
4914
4914
  msg: "error in open handler",
4915
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, err)
4915
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, err)
4916
4916
  });
4917
4917
  }
4918
4918
  });
@@ -4962,7 +4962,7 @@ var ActorConnRaw = class {
4962
4962
  let queueMessage = false;
4963
4963
  if (this.#websocket) {
4964
4964
  const readyState = this.#websocket.readyState;
4965
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4965
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4966
4966
  msg: "websocket send attempt",
4967
4967
  readyState,
4968
4968
  readyStateString: readyState === 0 ? "CONNECTING" : readyState === 1 ? "OPEN" : readyState === 2 ? "CLOSING" : "CLOSED",
@@ -4971,7 +4971,7 @@ var ActorConnRaw = class {
4971
4971
  actionName: (_a = message.body.val) == null ? void 0 : _a.name
4972
4972
  });
4973
4973
  if (this.#connStatus !== "connected") {
4974
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
4974
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
4975
4975
  msg: "websocket init pending, queueing message",
4976
4976
  connStatus: this.#connStatus,
4977
4977
  messageType: message.body.tag
@@ -4979,7 +4979,7 @@ var ActorConnRaw = class {
4979
4979
  queueMessage = true;
4980
4980
  } else if (readyState === 1) {
4981
4981
  try {
4982
- const messageSerialized = _chunkCFGRIV62cjs.serializeWithEncoding.call(void 0,
4982
+ const messageSerialized = _chunkQZHR7FM2cjs.serializeWithEncoding.call(void 0,
4983
4983
  this.#encoding,
4984
4984
  message,
4985
4985
  CLIENT_PROTOCOL_TO_SERVER,
@@ -4996,8 +4996,8 @@ var ActorConnRaw = class {
4996
4996
  val: {
4997
4997
  id: msg.body.val.id,
4998
4998
  name: msg.body.val.name,
4999
- args: _chunkCFGRIV62cjs.bufferToArrayBuffer.call(void 0,
5000
- _chunkCFGRIV62cjs.encodeCborCompat.call(void 0,
4999
+ args: _chunkQZHR7FM2cjs.bufferToArrayBuffer.call(void 0,
5000
+ _chunkQZHR7FM2cjs.encodeCborCompat.call(void 0,
5001
5001
  msg.body.val.args
5002
5002
  )
5003
5003
  )
@@ -5011,12 +5011,12 @@ var ActorConnRaw = class {
5011
5011
  );
5012
5012
  this.#websocket.send(messageSerialized);
5013
5013
  const serializedLength = messageLength(messageSerialized);
5014
- _chunkCLY73DEMcjs.logger.call(void 0, ).trace({
5014
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).trace({
5015
5015
  msg: "sent websocket message",
5016
5016
  len: serializedLength
5017
5017
  });
5018
5018
  } catch (error) {
5019
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
5019
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
5020
5020
  msg: "failed to send message, added to queue",
5021
5021
  error,
5022
5022
  connId: this.#connId
@@ -5024,19 +5024,19 @@ var ActorConnRaw = class {
5024
5024
  queueMessage = true;
5025
5025
  }
5026
5026
  } else {
5027
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
5027
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
5028
5028
  msg: "websocket not open, queueing message",
5029
5029
  readyState
5030
5030
  });
5031
5031
  queueMessage = true;
5032
5032
  }
5033
5033
  } else {
5034
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({ msg: "no websocket, queueing message" });
5034
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({ msg: "no websocket, queueing message" });
5035
5035
  queueMessage = true;
5036
5036
  }
5037
5037
  if (!(opts == null ? void 0 : opts.ephemeral) && queueMessage) {
5038
5038
  this.#messageQueue.push(message);
5039
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({
5039
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({
5040
5040
  msg: "queued connection message",
5041
5041
  queueLength: this.#messageQueue.length,
5042
5042
  connId: this.#connId,
@@ -5047,8 +5047,8 @@ var ActorConnRaw = class {
5047
5047
  }
5048
5048
  async #parseMessage(data) {
5049
5049
  _invariant2.default.call(void 0, this.#websocket, "websocket must be defined");
5050
- const buffer = await _chunkCFGRIV62cjs.inputDataToBuffer.call(void 0, data);
5051
- return _chunkCFGRIV62cjs.deserializeWithEncoding.call(void 0,
5050
+ const buffer = await _chunkQZHR7FM2cjs.inputDataToBuffer.call(void 0, data);
5051
+ return _chunkQZHR7FM2cjs.deserializeWithEncoding.call(void 0,
5052
5052
  this.#encoding,
5053
5053
  buffer,
5054
5054
  CLIENT_PROTOCOL_TO_CLIENT,
@@ -5083,7 +5083,7 @@ var ActorConnRaw = class {
5083
5083
  group: msg.body.val.group,
5084
5084
  code: msg.body.val.code,
5085
5085
  message: msg.body.val.message,
5086
- metadata: msg.body.val.metadata ? _chunkCFGRIV62cjs.decodeCborCompat.call(void 0,
5086
+ metadata: msg.body.val.metadata ? _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0,
5087
5087
  new Uint8Array(
5088
5088
  msg.body.val.metadata
5089
5089
  )
@@ -5105,7 +5105,7 @@ var ActorConnRaw = class {
5105
5105
  tag: "ActionResponse",
5106
5106
  val: {
5107
5107
  id: msg.body.val.id,
5108
- output: _chunkCFGRIV62cjs.decodeCborCompat.call(void 0,
5108
+ output: _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0,
5109
5109
  new Uint8Array(msg.body.val.output)
5110
5110
  )
5111
5111
  }
@@ -5117,7 +5117,7 @@ var ActorConnRaw = class {
5117
5117
  tag: "Event",
5118
5118
  val: {
5119
5119
  name: msg.body.val.name,
5120
- args: _chunkCFGRIV62cjs.decodeCborCompat.call(void 0,
5120
+ args: _chunkQZHR7FM2cjs.decodeCborCompat.call(void 0,
5121
5121
  new Uint8Array(msg.body.val.args)
5122
5122
  )
5123
5123
  }
@@ -5158,11 +5158,11 @@ var ActorConnRaw = class {
5158
5158
  */
5159
5159
  async dispose() {
5160
5160
  if (this.#disposed) {
5161
- _chunkCLY73DEMcjs.logger.call(void 0, ).warn({ msg: "connection already disconnected" });
5161
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({ msg: "connection already disconnected" });
5162
5162
  return;
5163
5163
  }
5164
5164
  this.#disposed = true;
5165
- _chunkCLY73DEMcjs.logger.call(void 0, ).debug({ msg: "disposing actor conn" });
5165
+ _chunkLJNYWEYGcjs.logger.call(void 0, ).debug({ msg: "disposing actor conn" });
5166
5166
  this.#setConnStatus("idle");
5167
5167
  clearInterval(this.#keepNodeAliveInterval);
5168
5168
  this.#abortController.abort();
@@ -5170,8 +5170,8 @@ var ActorConnRaw = class {
5170
5170
  if (this.#websocket) {
5171
5171
  const ws = this.#websocket;
5172
5172
  if (ws.readyState !== 2 && ws.readyState !== 3) {
5173
- const { promise, resolve } = _chunkCFGRIV62cjs.promiseWithResolvers.call(void 0,
5174
- (reason) => _chunkCLY73DEMcjs.logger.call(void 0, ).warn({
5173
+ const { promise, resolve } = _chunkQZHR7FM2cjs.promiseWithResolvers.call(void 0,
5174
+ (reason) => _chunkLJNYWEYGcjs.logger.call(void 0, ).warn({
5175
5175
  msg: "unhandled websocket close promise rejection",
5176
5176
  reason
5177
5177
  })
@@ -5309,7 +5309,7 @@ var ClientConfigSchemaBase = _v42.default.object({
5309
5309
  * Defaults to http://localhost:6420.
5310
5310
  */
5311
5311
  endpoint: _v42.default.string().optional().transform((val) => {
5312
- const resolved = _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkCFGRIV62cjs.getRivetEngine.call(void 0, ))), () => ( _chunkCFGRIV62cjs.getRivetEndpoint.call(void 0, )));
5312
+ const resolved = _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkQZHR7FM2cjs.getRivetEngine.call(void 0, ))), () => ( _chunkQZHR7FM2cjs.getRivetEndpoint.call(void 0, )));
5313
5313
  if (!resolved && !hasWarnedMissingEndpoint) {
5314
5314
  hasWarnedMissingEndpoint = true;
5315
5315
  console.warn(
@@ -5319,14 +5319,14 @@ var ClientConfigSchemaBase = _v42.default.object({
5319
5319
  return _nullishCoalesce(resolved, () => ( DEFAULT_ENDPOINT));
5320
5320
  }),
5321
5321
  /** Token to use to authenticate with the API. */
5322
- token: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkCFGRIV62cjs.getRivetToken.call(void 0, )))),
5322
+ token: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQZHR7FM2cjs.getRivetToken.call(void 0, )))),
5323
5323
  /** Issue and renew a client token on demand. Overrides the static token when provided. */
5324
5324
  getToken: _v42.default.custom().optional(),
5325
5325
  /** Namespace to connect to. */
5326
- namespace: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkCFGRIV62cjs.getRivetNamespace.call(void 0, )))),
5326
+ namespace: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQZHR7FM2cjs.getRivetNamespace.call(void 0, )))),
5327
5327
  /** Name of the envoy pool. This is used to group together envoys in to different pools. */
5328
- poolName: _v42.default.string().default(() => _nullishCoalesce(_chunkCFGRIV62cjs.getRivetPool.call(void 0, ), () => ( "default"))),
5329
- encoding: _chunkCFGRIV62cjs.EncodingSchema.default("bare"),
5328
+ poolName: _v42.default.string().default(() => _nullishCoalesce(_chunkQZHR7FM2cjs.getRivetPool.call(void 0, ), () => ( "default"))),
5329
+ encoding: _chunkQZHR7FM2cjs.EncodingSchema.default("bare"),
5330
5330
  headers: _v42.default.record(_v42.default.string(), _v42.default.string()).optional().default(() => ({})),
5331
5331
  gateway: _v42.default.object({
5332
5332
  skipReadyWait: _v42.default.boolean().optional().default(false)
@@ -5511,7 +5511,7 @@ function setRemoteHibernatableWebSocketAckTestHooks(websocket, token, enabled) {
5511
5511
 
5512
5512
  // src/engine-client/log.ts
5513
5513
  function logger2() {
5514
- return _chunkCFGRIV62cjs.getLogger.call(void 0, "engine-client");
5514
+ return _chunkQZHR7FM2cjs.getLogger.call(void 0, "engine-client");
5515
5515
  }
5516
5516
 
5517
5517
  // src/engine-client/actor-websocket-client.ts
@@ -5644,7 +5644,7 @@ var BufferedRemoteWebSocket = (_class2 = class {
5644
5644
  function buildActorGatewayUrl(endpoint, actorId, token, path = "") {
5645
5645
  const tokenSegment = token !== void 0 ? `@${encodeURIComponent(token)}` : "";
5646
5646
  const gatewayPath = `/gateway/${encodeURIComponent(actorId)}${tokenSegment}${path}`;
5647
- return _chunkCFGRIV62cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5647
+ return _chunkQZHR7FM2cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5648
5648
  }
5649
5649
  function buildActorQueryGatewayUrl(endpoint, namespace, query, token, path = "", maxInputSize = DEFAULT_MAX_QUERY_INPUT_SIZE, crashPolicy = void 0, runnerName, options = {}) {
5650
5650
  if (namespace.length === 0) {
@@ -5710,7 +5710,7 @@ function buildActorQueryGatewayUrl(endpoint, namespace, query, token, path = "",
5710
5710
  separator = "?";
5711
5711
  }
5712
5712
  const gatewayPath = `/gateway/${encodeURIComponent(name)}${path}${separator}${queryString}`;
5713
- return _chunkCFGRIV62cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5713
+ return _chunkQZHR7FM2cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5714
5714
  }
5715
5715
  function pushKeyQueryParams(params, key) {
5716
5716
  const rvtKey = _chunkRTWH3AX3cjs.actorKeyToGatewayQuery.call(void 0, key);
@@ -5722,7 +5722,7 @@ function pushInputQueryParam(params, input, maxInputSize) {
5722
5722
  if (input === void 0) {
5723
5723
  return;
5724
5724
  }
5725
- const encodedInput = _chunkCFGRIV62cjs.encodeCborCompat.call(void 0, input);
5725
+ const encodedInput = _chunkQZHR7FM2cjs.encodeCborCompat.call(void 0, input);
5726
5726
  if (encodedInput.byteLength > maxInputSize) {
5727
5727
  throw new Error(
5728
5728
  `Actor query input exceeds maxInputSize (${encodedInput.byteLength} > ${maxInputSize} bytes). Increase client maxInputSize to allow larger query payloads.`
@@ -5731,10 +5731,10 @@ function pushInputQueryParam(params, input, maxInputSize) {
5731
5731
  params.append("rvt-input", uint8ArrayToBase64Url(encodedInput));
5732
5732
  }
5733
5733
  function uint8ArrayToBase64Url(value) {
5734
- return _chunkCFGRIV62cjs.uint8ArrayToBase64.call(void 0, value).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
5734
+ return _chunkQZHR7FM2cjs.uint8ArrayToBase64.call(void 0, value).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
5735
5735
  }
5736
5736
  async function openWebSocketToGateway(runConfig, gatewayUrl, encoding, params, options = {}) {
5737
- const WebSocket2 = await _chunkCLY73DEMcjs.importWebSocket.call(void 0, );
5737
+ const WebSocket2 = await _chunkLJNYWEYGcjs.importWebSocket.call(void 0, );
5738
5738
  const ackHookToken = typeof process !== "undefined" && process.env.VITEST ? crypto.randomUUID() : void 0;
5739
5739
  logger2().debug({
5740
5740
  msg: "opening websocket to actor via guard",
@@ -5802,7 +5802,7 @@ function getEndpoint(config) {
5802
5802
  }
5803
5803
  async function apiCall(config, method, path, body) {
5804
5804
  const endpoint = getEndpoint(config);
5805
- const url = _chunkCFGRIV62cjs.combineUrlPath.call(void 0, endpoint, path, {
5805
+ const url = _chunkQZHR7FM2cjs.combineUrlPath.call(void 0, endpoint, path, {
5806
5806
  namespace: config.namespace
5807
5807
  });
5808
5808
  logger2().debug({ msg: "making api call", method, url });
@@ -5935,7 +5935,7 @@ async function lookupMetadataCached(config) {
5935
5935
  msg: "failed to fetch metadata, retrying",
5936
5936
  endpoint,
5937
5937
  attempt: error.attemptNumber,
5938
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, error)
5938
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, error)
5939
5939
  });
5940
5940
  }
5941
5941
  }
@@ -5947,7 +5947,7 @@ async function lookupMetadataCached(config) {
5947
5947
 
5948
5948
  // src/engine-client/ws-proxy.ts
5949
5949
  async function createWebSocketProxy(_c, targetUrl, protocols) {
5950
- const WebSocket2 = await _chunkCLY73DEMcjs.importWebSocket.call(void 0, );
5950
+ const WebSocket2 = await _chunkLJNYWEYGcjs.importWebSocket.call(void 0, );
5951
5951
  const state = {};
5952
5952
  return {
5953
5953
  onOpen: async (_event, clientWs) => {
@@ -6012,7 +6012,7 @@ async function createWebSocketProxy(_c, targetUrl, protocols) {
6012
6012
  logger2().error({
6013
6013
  msg: "target websocket error",
6014
6014
  targetUrl,
6015
- error: _chunkCFGRIV62cjs.stringifyError.call(void 0, error)
6015
+ error: _chunkQZHR7FM2cjs.stringifyError.call(void 0, error)
6016
6016
  });
6017
6017
  closeWebSocketIfOpen(clientWs, 1011, "Target WebSocket error");
6018
6018
  });
@@ -6093,7 +6093,7 @@ var RemoteEngineControlClient = class {
6093
6093
  #tokenProvider;
6094
6094
  #webSocketTokens = /* @__PURE__ */ new WeakMap();
6095
6095
  constructor(runConfig) {
6096
- if (_chunkCFGRIV62cjs.getNextPhase.call(void 0, ) === "phase-production-build") {
6096
+ if (_chunkQZHR7FM2cjs.getNextPhase.call(void 0, ) === "phase-production-build") {
6097
6097
  logger2().info(
6098
6098
  "detected next.js build phase, disabling health check"
6099
6099
  );
@@ -6232,8 +6232,8 @@ var RemoteEngineControlClient = class {
6232
6232
  name,
6233
6233
  key: _chunkRTWH3AX3cjs.serializeActorKey.call(void 0, key),
6234
6234
  pool: _nullishCoalesce(poolName, () => ( this.#config.poolName)),
6235
- input: actorInput ? _chunkCFGRIV62cjs.uint8ArrayToBase64.call(void 0,
6236
- _chunkCFGRIV62cjs.encodeCborCompat.call(void 0, actorInput)
6235
+ input: actorInput ? _chunkQZHR7FM2cjs.uint8ArrayToBase64.call(void 0,
6236
+ _chunkQZHR7FM2cjs.encodeCborCompat.call(void 0, actorInput)
6237
6237
  ) : void 0,
6238
6238
  crash_policy: _nullishCoalesce(crashPolicy, () => ( "sleep"))
6239
6239
  })
@@ -6286,8 +6286,8 @@ var RemoteEngineControlClient = class {
6286
6286
  name,
6287
6287
  pool: _nullishCoalesce(poolName, () => ( this.#config.poolName)),
6288
6288
  key: _chunkRTWH3AX3cjs.serializeActorKey.call(void 0, key),
6289
- input: input ? _chunkCFGRIV62cjs.uint8ArrayToBase64.call(void 0,
6290
- _chunkCFGRIV62cjs.encodeCborCompat.call(void 0, input)
6289
+ input: input ? _chunkQZHR7FM2cjs.uint8ArrayToBase64.call(void 0,
6290
+ _chunkQZHR7FM2cjs.encodeCborCompat.call(void 0, input)
6291
6291
  ) : void 0,
6292
6292
  crash_policy: _nullishCoalesce(crashPolicy, () => ( "sleep"))
6293
6293
  })
@@ -6419,7 +6419,7 @@ var RemoteEngineControlClient = class {
6419
6419
  const upgradeWebSocket = (_a = config.getUpgradeWebSocket) == null ? void 0 : _a.call(config);
6420
6420
  _invariant2.default.call(void 0, upgradeWebSocket, "missing getUpgradeWebSocket");
6421
6421
  const endpoint = getEndpoint(config);
6422
- const guardUrl = _chunkCFGRIV62cjs.combineUrlPath.call(void 0, endpoint, path);
6422
+ const guardUrl = _chunkQZHR7FM2cjs.combineUrlPath.call(void 0, endpoint, path);
6423
6423
  const wsGuardUrl = guardUrl.replace("http://", "ws://");
6424
6424
  logger2().debug({
6425
6425
  msg: "forwarding websocket to actor via guard",
@@ -6438,7 +6438,7 @@ var RemoteEngineControlClient = class {
6438
6438
  }
6439
6439
  );
6440
6440
  const args = await createWebSocketProxy(c, wsGuardUrl, protocols);
6441
- return await upgradeWebSocket(() => args)(c, _chunkCFGRIV62cjs.noopNext.call(void 0, ));
6441
+ return await upgradeWebSocket(() => args)(c, _chunkQZHR7FM2cjs.noopNext.call(void 0, ));
6442
6442
  }
6443
6443
  displayInformation() {
6444
6444
  return { properties: {} };
@@ -6449,7 +6449,7 @@ var RemoteEngineControlClient = class {
6449
6449
  #buildGatewayUrlForTarget(config, target, path, options = {}) {
6450
6450
  const endpoint = getEndpoint(config);
6451
6451
  if (shouldSkipReadyWait(options) && directActorIdFromTarget(target) && canUseDirectSkipReadyWaitPath(path)) {
6452
- return _chunkCFGRIV62cjs.combineUrlPath.call(void 0, endpoint, path);
6452
+ return _chunkQZHR7FM2cjs.combineUrlPath.call(void 0, endpoint, path);
6453
6453
  }
6454
6454
  if ("directId" in target) {
6455
6455
  return buildActorGatewayUrl(
@@ -6550,4 +6550,4 @@ function apiActorToOutput(actor) {
6550
6550
 
6551
6551
 
6552
6552
  exports.HEADER_CONN_PARAMS = HEADER_CONN_PARAMS; exports.HEADER_ORIGINAL_REQUEST_URL = HEADER_ORIGINAL_REQUEST_URL; exports.ALLOWED_PUBLIC_HEADERS = ALLOWED_PUBLIC_HEADERS; exports.ActorClientError = ActorClientError; exports.ManagerError = ManagerError; exports.MalformedResponseMessage = MalformedResponseMessage; exports.ActorConnDisposed = ActorConnDisposed; exports.readActiveTraceHeaders = readActiveTraceHeaders; exports.runWithActorInvocationSpan = runWithActorInvocationSpan; exports.ActorConnRaw = ActorConnRaw; exports.isResponseLike = isResponseLike; exports.ActorHandleRaw = ActorHandleRaw; exports.createClientWithDriver = createClientWithDriver; exports.ENGINE_HOST = ENGINE_HOST; exports.ENGINE_PORT = ENGINE_PORT; exports.buildEngineEndpoint = buildEngineEndpoint; exports.isLocalEngineEndpoint = isLocalEngineEndpoint; exports.tryParseEndpoint = tryParseEndpoint; exports.ClientConfigSchema = ClientConfigSchema; exports.convertRegistryConfigToClientConfig = convertRegistryConfigToClientConfig; exports.getDatacenters = getDatacenters; exports.updateRunnerConfig = updateRunnerConfig; exports.RemoteEngineControlClient = RemoteEngineControlClient;
6553
- //# sourceMappingURL=chunk-GJUWI47D.cjs.map
6553
+ //# sourceMappingURL=chunk-ENUONGNH.cjs.map