@warlock.js/notifications 5.27.0 → 5.28.0

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/notifications` are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
6
6
 
7
+ ## 5.28.0 - 2026-10-01
8
+
9
+ ### Changed
10
+
11
+ - Lockstep release; package APIs are unchanged. `llms.txt` now lists every skill topic with its description (frontmatter in CRLF files was skipped).
12
+
7
13
  ## 5.27.0 - 2026-10-01
8
14
 
9
15
  ### Changed
package/cjs/index.cjs CHANGED
@@ -988,7 +988,7 @@ Or with your preferred package manager:
988
988
  async function loadHerald() {
989
989
  if (heraldModule) return heraldModule;
990
990
  try {
991
- heraldModule = await Promise.resolve().then(() => require("./src-7ZmTOXFF.cjs"));
991
+ heraldModule = await Promise.resolve().then(() => require("./src-B6UVThgW.cjs"));
992
992
  return heraldModule;
993
993
  } catch {
994
994
  throw new Error(INSTALL_INSTRUCTIONS);
@@ -0,0 +1,3 @@
1
+ const require_src = require('./src-B6UVThgW.cjs');
2
+
3
+ exports.RabbitMQDriver = require_src.RabbitMQDriver;
@@ -8627,7 +8627,8 @@ var ObjectValidator = class ObjectValidator extends BaseValidator {
8627
8627
  if (mutatedData === void 0 || mutatedData === null) return result;
8628
8628
  const errors = [];
8629
8629
  const validatedData = {};
8630
- const validationPromises = Object.entries(this.schema).filter(([, validator]) => !this.isComputedValidator(validator)).map(async ([key, validator]) => {
8630
+ const fieldErrors = [];
8631
+ const validationPromises = Object.entries(this.schema).filter(([, validator]) => !this.isComputedValidator(validator)).map(async ([key, validator], index) => {
8631
8632
  const value = mutatedData?.[key] !== void 0 ? mutatedData[key] : validator.getDefaultValue();
8632
8633
  const childContext = {
8633
8634
  ...context,
@@ -8638,16 +8639,18 @@ var ObjectValidator = class ObjectValidator extends BaseValidator {
8638
8639
  };
8639
8640
  const childResult = await validator.validate(value, childContext);
8640
8641
  if (childResult.data !== void 0 && !validator.isOmitted()) validatedData[key] = childResult.data;
8641
- if (childResult.isValid === false) errors.push(...childResult.errors);
8642
+ if (childResult.isValid === false) fieldErrors[index] = childResult.errors;
8642
8643
  });
8643
8644
  await Promise.all(validationPromises);
8645
+ for (const childErrors of fieldErrors) if (childErrors) errors.push(...childErrors);
8644
8646
  if (errors.length > 0) return {
8645
8647
  isValid: false,
8646
8648
  errors,
8647
8649
  data: void 0
8648
8650
  };
8649
8651
  const computedFields = this.getComputedFields();
8650
- const computedPromises = Object.entries(computedFields).map(async ([key, validator]) => {
8652
+ const computedErrors = [];
8653
+ const computedPromises = Object.entries(computedFields).map(async ([key, validator], index) => {
8651
8654
  const childContext = {
8652
8655
  ...context,
8653
8656
  parent: validatedData,
@@ -8655,15 +8658,18 @@ var ObjectValidator = class ObjectValidator extends BaseValidator {
8655
8658
  };
8656
8659
  const childResult = await validator.validate(validatedData, childContext);
8657
8660
  if (childResult.data !== void 0 && !validator.isOmitted()) validatedData[key] = childResult.data;
8658
- if (childResult.isValid === false) errors.push(...childResult.errors);
8661
+ if (childResult.isValid === false) computedErrors[index] = childResult.errors;
8659
8662
  });
8660
8663
  await Promise.all(computedPromises);
8664
+ for (const childErrors of computedErrors) if (childErrors) errors.push(...childErrors);
8661
8665
  if (errors.length > 0) return {
8662
8666
  isValid: false,
8663
8667
  errors,
8664
8668
  data: void 0
8665
8669
  };
8666
- const cleanedData = removeUndefinedValues(validatedData);
8670
+ const orderedData = {};
8671
+ for (const key of Object.keys(this.schema)) if (key in validatedData) orderedData[key] = validatedData[key];
8672
+ const cleanedData = removeUndefinedValues(orderedData);
8667
8673
  const transformedData = await this.startTransformationPipeline(cleanedData, context);
8668
8674
  return {
8669
8675
  isValid: true,
@@ -10819,7 +10825,7 @@ async function connectToBroker(options) {
10819
10825
  switch (driverType) {
10820
10826
  case "rabbitmq": {
10821
10827
  const rabbitOptions = options;
10822
- const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-SmkI8hSw.cjs"));
10828
+ const { RabbitMQDriver } = await Promise.resolve().then(() => require("./rabbitmq-driver-CYeFwv0w.cjs"));
10823
10829
  driver = new RabbitMQDriver(rabbitOptions);
10824
10830
  break;
10825
10831
  }
@@ -11143,4 +11149,4 @@ exports.heraldChannel = heraldChannel;
11143
11149
  exports.pendingSubscribers = pendingSubscribers;
11144
11150
  exports.publishEvent = publishEvent;
11145
11151
  exports.subscribeConsumer = subscribeConsumer;
11146
- //# sourceMappingURL=src-7ZmTOXFF.cjs.map
11152
+ //# sourceMappingURL=src-B6UVThgW.cjs.map